Professional Documents
Culture Documents
converge out the implicit cells. There is little point in making cell j. For any implicit solution method the derivatives of this
cells implicit if the poor convergence leads to longer run times flux need to be accounted for in the Jacobian. For good
than the corresponding IMPES solution. convergence it is essential that these terms do not oscillate. If
an arbitrary phase is associated with a single-phase
Convergence of any implicit formulation is intolerant to hydrocarbon cell which can flip phase due to small pressure or
discontinuities. In this paper the discontinuities that arise from compositional change, then this should not cause
arbitrary phase labeling of super-critical fluids are addressed, discontinuities in the flux, as, physically, all fluid properties
which enables implicit treatment of the miscible process. In are “smooth” in this region.
this paper the numerical discontinuities are matched to the
physical ones, i.e. at phase boundaries. The mobility term
The mobility term λc+,α in the dicretisation used here is a cell-
The continuous oil-gas transition
Many authors have described a compositional model based on centre quantity, and the value is associated from the upwind
a cubic equation of state2,3. Here we assume that the standard cell. The upwind cell for a particular phase is determined
2 phase flash calculations and the single-phase stability test from the sign of the velocity of phase α , i.e. vij ,α in equation
are available. The focus is on those features of a compositional (2). In the formulation used here, for cell i and phase α , it is
fluid description that can have an adverse effect on
given by
convergence of the flow equations.
of kα will be close to the gas critical, k rgc . Thus a water ( S oil ,i ρ oil ,i + ρ oil , j S oil , j ) ( ρ oil ,i + ρ oil , j )
flood of a near critical oil will overestimate the recovery. = (7)
End-point scaling will prevent this. ( S oil ,i + S oil , j ) 2
To ensure consistency between the single and 2-phase If cell j was re-labeled as a gas and we assume the flow is
hydrocarbon states, this interpolation is also performed in the from cell i to cell j, then oil will flow from cell i to cell j due to
2-phase region. Here, this interpolation will only take effect up-winding of the mobility. However the gravity contribution
as the fluid approaches the approximated critical point. to the oil potential difference reduces to ρ oil,i as S oil , j = 0 .
A single-phase hydrocarbon cell will be re-labeled when Now if the densities of the fluids in cell i and cell j are
ϖ passes through ½, and so from equation (4) the relative significantly different this will result in a step change in the oil
permeability will be continuous there. The difficulties with potential difference leading, in turn, to a discontinuity in
the flow.
this approach are choice of the limits ωoil and ω gas and the
calculation of derivatives of kα ,which now involves end-point For the IMPES case, this discontinuity is unlikely to have
any effect on the convergence behavior because, for a given
scaling, andϖ which is a function of saturation. time-step, the phase labeling will be fixed. However, for an
implicit flux term arising from either a fully implicit or AIM
Having established this model the mobility term in a run, this type of discontinuity in the flux may cause severe
single-phase hydrocarbon cell, equation (3), is continuous to convergence difficulties as Newton-Raphson based solvers
phase re-labeling. Indeed the mobility terms in single-phase typically can’t deal with a discontinuous residual.
hydrocarbon cells are not associated with oil or gas but with
hydrocarbon. The crux of the work done here is to treat these At this point let’s re-visit equation (2) and consider the
cells as single-phase hydrocarbon, not as oil or gas. This is sum over all phases α to include oil, gas, water, and
implemented as a 4th phase. hydrocarbon. The mobility calculation in equation (4)
essentially calculates the “hydrocarbon” mobility. An
evaluation of density for the gravity terms in the velocity
calculation, equation (6), is now invariant to sudden phase
4 SPE 79692
changes since S α ,i = S h ,i , the saturation of hydrocarbon. straddling a dew or bubble line. The phase labeling problem
here cannot be ignored, and again the correlation of Li8 is used
Hence treating the single-phase hydrocarbon as a separate to estimate a critical temperature of the single-phase cell j
phase entirely removes this discontinuity from from which a phase choice can be made. Consequently the
single-phase flows. phase labeling of single-phase hydrocarbon cells is only
important in the calculation of those potential differences
The non-linearity in the gravity density terms of the flux straddling the single-phase to two-phase cells (i.e. the
are now at the boundaries between cells which have a different simulator must decide between a dew and bubble line).
number of phases, which has physical justification. And
rather than leading to a discontinuity in the flows, a change This need for labeling the single-phase hydrocarbon cells
from one phase to two will be continuous with a change at the dew and bubble lines is entirely consistent with
of gradient. the physics.
Capillary pressure terms Quarter Five-Spot case
The robustness of the capillary terms in equation (5) to a In the 1st example a quarter-five-spot is considered, on a
change of state is now considered. Capillary forces are only 10x10x10 grid. Permeability is uniform in each aerial layer.
present when two phases exist. In traditional simulators, However, in depth the model represents a highly permeable
however, the capillary part of the potential difference, e.g. the layer surrounded above and below with progressively poorer
∆Pc ,ij ,α terms in equation (5), are calculated for a particular quality formation; with lower permeability, higher connate
phase. These capillary terms are functions of phase saturation, water and higher oil-gas capillary pressure. The cross-section
and are evaluated by a table look-up. If two neighboring cells permeability distribution is illustrated in Figure 4.
are 100% Oil, then ∆Pc ,ij ,oil = 0 by virtue of the fact
This configuration exacerbates the need for a good
that Pc , j ,oil = Pc ,i ,oil . The difficulty arises in a miscible gas treatment of the gravity density term, because after the “light”
injection gas has imbibed into the high permeability layer,
flood for example, when a 100% oil filled cell is re-labeled to then the situation of heavy “oil-like” hydrocarbon above light
a 100% gas filled cell, and these terms cause a non-physical “gas-like” hydrocarbon exists. A consistent treatment of the
discontinuity in the potential difference term, equation (5). gravity density term becomes important. Although this may
seem contrived, this configuration could easily be taken from
Here, for all cells with a “single-phase-hydrocarbon” many field cases. Figure 2 shows a ternary diagram
phase, the capillary terms are set to zero. This is completely illustrating the injection fluid and reservoir fluid. For the
physical as there are not, and should not be, oil-gas capillary majority of this simulation, first contact miscible conditions
force terms within a single-phase hydrocarbon. One goal here prevail. Nearly all the cells are single-phase hydrocarbon
is that the simulation solution should be invariant to capillary cells. Other than connate water, the water phase plays no part
terms if: (a) there is no mobile water, and (b) all the cells in this model. Oil-water, and Oil-gas capillary forces are
remain single phase. This is the case for the formulation used specified, which will directly illustrate the need for a
here. The difficulty with this approach is when a single-phase continuous treatment of capillary forces in a single-phase
hydrocarbon cell (say i), neighbors a two-phase cell (say j). hydrocarbon environment. Again this case may seem “hand-
Let us in turn consider the potential difference needed by the picked” to illustrate the point. However, this is a very simple
single-phase cell i (i.e. vij ,h ) and the potential differences case, which ought to be straightforward for a simulator.
needed by the two-phase cell j (i.e. vij ,oil , vij , gas ).
Two versions of the case are presented. The first has a
zero gas-oil capillary pressure, which demonstrates the effect
The potential difference term for the single-phase cell i of the 4-phase treatment on the density terms only. The
will be second case includes significant capillary pressures, with
(
vij ,h = ∆Pij + ρ α ,ij g∆z ij ) (8) higher capillary pressures in the poorer quality rock.
Figure 5 shows the CPU usage for IMPES, AIM and fully
Remembering ρα ,ij is evaluated using equation (6). This implicit for the base case, where all cells single phase cells are
term will be continuous with possible neighboring single- labeled “oil” or “gas”. The AIM case is marginally faster than
phase hydrocarbon cells. For the two-phase cell j the potential the IMPES case. Note that all cases converge reasonably well
and completed the simulation. Figure 6 shows the improved
difference of oil vij ,oil and gas vij ,oil are
performance of the AIM case running twice as fast due to the
vij ,oil = (∆Pij + ∆Pc ,ij ,oil + ρ oil ,ij g∆z ij ) convergence behavior of the 4-phase formulation. Figure 7
∑∀ F
Implicit and AIM cases essentially failing. When we run the
equivalent cases using the 4-phase treatment, both AIM and
fully implicit cases complete is a respectable time, and, i c c ,ij j
indeed, AIM proves to be the fastest method. So in this
particular case the capillary pressure discontinuities in the base
case essentially prevent the implicit method from working.
The field contains 52 wells of which 6 are gas injectors. dew line
The simulation model contains 56K active cells and the covers
a period of 5 years. Figure 11 shows the grid and the mole bubble line
fraction of methane at the end of the simulation. This gives an
injection gas
indication of the extent of the injected gas.
0.1
0
0 0.2 0.4 0.6 0.8
Sh
AIM FULLIMP
IMPES
Figure 5: CPU time – Base case, no capillary pressure case Figure 8: Time Step Size
Figure 6: CPU time – Base & 4-phase cases (AIM) Figure 9: CPU time – base case with capillary pressure
SPE 79692 7
Figure 13: GOR full field model, base and 4-phase AIM
Figure 10: IMPES, AIM and Implicit CPU times using the
case
4-phase formulation
Nomenclature
Mc Mass accumulation term for component c
Fc Flux for component c
Qc The well terms for component c
Fi , j Flux between cells i and j.
Ti , j Transmissibility between cells i and j.
λc ,α ,i Generalized Mobility for component c, phase α and
cell i
+
λ Upwind mobility
xc ,α ,i Fraction of component c in phase α for cell j
bc ,i Molar density component c in cell i
µα Viscosity
Figure 11: Field Example: Methane Fraction K Permeability
k row Relative permeability of oil in water
k rg Relative permeability of gas
kα Relative permeability of phase α
S owc Critical oil to water saturation
S gc Critical gas saturation
vij ,α Potential difference between cells i & j for phase α
ρ α ,i Density of phase α in cell i
Pc ,i ,α Capillary pressure for cell i, phase α
∆Pc ,ij ,α Capillary pressure difference between cells i & j
Tcrit Mixture critical temperature
Figure 12: CPU time, showing the improved AIM
performance.
Tres Reservoir (grid block) temperature
8 SPE 79692
Subscripts:
oil oil
gas gas
h single-phase hydrocarbon
c component
α phase
Reference: