Documentos de Académico
Documentos de Profesional
Documentos de Cultura
∗
Included in Proceedings of the 9th European Conference on the Mathematics of Oil Recovery,
Cannes, France, 30 August – 2 September 2004.
1
9th
European Conference on the Mathematics of Oil Recovery - Cannes, France, 30 August - 2 September 2004
2
simulator uses an IMPES-like approach, where one of Watts’ approach. Here Nc − Np additional vari-
pressure is calculated implicitly, and saturations and ables were introduced, referred to as Ci. These vari-
phase compositions are determined explicitly. ables characterize the composition of the oil and gas
The sum of component conservation equations is phases at thermodynamic equilibrium. Instead of
not a suitable compositional IMPES pressure equa- treating all phase compositions explicitly, only the
tion, since the thermodynamic properties of the ac- Ci are fixed when determining pressure and satur-
cumulation terms are not solely dependent on pres- ations. The Ci are then determined explicitly by
sure. In [5], Ács, Doleschall and Farkas presented Nc − Np of the component conservation equations.
a Volume Balance Method that correctly eliminates The Quandalle and Savary approach provides a
the saturation/concentration terms from the accu- certain adaptivity in the choice of Ci. In oil dom-
mulation term of the pressure equation. The volume inant regions, the Ci are chosen as Nc − Np of the
balance pressure equation is formed as a weighted oil mole fractions, while in gas dominant regions,
sum of the component conservation equations, and the Ci are chosen among the gas mole fractions. In
is the unique IMPES pressure equation for compos- both cases the mole fractions corresponding to the
itional simulation (e.g., Coats, [6]). lightest and the heaviest component are excluded.
The conventional compositional formulation uses As additional primary equations for determining the
pressure and component masses as primary vari- Ci, Quandalle and Savary chose the corresponding
ables, and does not reduce to black-oil IMPES when Nc − Np component conservation equations.
used with black-oil fluid properties. Quandalle and Savary’s choice of primary vari-
ables is based on the assumption that the gas satur-
New Compositional Approaches ation is closely related to the amount of the lightest
component, while the oil saturation is related to the
IMPES is the fastest approach on a per-timestep amount of the heaviest component. Consequently,
basis, but it can have stability problems that restrict the mole fractions of the lightest and the heaviest
timestep size. This has given rise to the IMPSAT component should not be treated explicitly when
formulation, which is implicit in both pressure and determining pressure and saturations.
saturations. However, the lightest and the heaviest compon-
IMPSAT is motivated by Darcy’s law, which is ent may not always be representative of the gas and
basically a relation between pressure and volumes oil phase, respectively. For example, the total hy-
(saturations). By solving for pressure and satura- drocarbon composition may be evenly distributed
tions implicitly, we obtain a good starting point for between the components, and the lightest compon-
solving the total system consistently. The remain- ent may not always be the most volatile. The Quan-
ing variables to be determined should have little or dalle and Savary approach is therefore not general.
no influence on the volume solution. Consequently, The approaches of Watts and Quandalle and Sav-
IMPSAT relaxes the timestep restrictions of the ary are based on the Volume Balance Method.
conventional IMPES approach. Branco and Rodrı́guez, [9], and Cao and Aziz, [10],
IMPSAT (or IMPSAT-like) approaches reported used reduction of a linearized system of conserva-
in literature, [7, 8, 9, 10], differ in their choices tion equations to form pressure and saturation equa-
of pressure and saturation equations, and in their tions, keeping all phase compositions fixed. Cao
choice of additional (explicit) primary variables and and Aziz reported that the IMPSAT model is sig-
equations. nificantly more stable than the IMPES model, and
Watts, [7], generalized the Volume Balance in many cases substancially less expensive than the
Method of Ács, Doleschall and Farkas, and de- fully implicit model.
veloped a set of volume balance saturation equa-
tions, formed as weighted sums of the component The Main Purpose of Our Work
conservation equations. He showed that the volume
balance saturation equations reduce to the conven- We use the Volume Balance Method as a framework
tional black-oil equations when used with black-oil for forming a consistent IMPSAT approach. Im-
fluid properties. In Watts’ formulation, all phase proved convergence is related to choosing additional
compositions are treated explicitly when determin- equations that are complementary to the volume
ing pressure and saturations. The following explicit balance equations, and additional variables that are
update of Nc −1 (independent) overall compositions complementary to pressure and saturations. Com-
is based on the Nc original component conserva- pared with the Quandalle and Savary approach, we
tion equations. Consequently, Np + Nc − 1 para- introduce a more general and adaptive way of choos-
meters are determined with only Nc flow equations. ing additional equations and variables.
Watts commented that this inherent inconsistency We also emphasize the fact that an IMPSAT ap-
may lead to inaccuracies. proach within the framework of the Volume Balance
In [8], Quandalle and Savary presented a consist- Method provides a basis for a unified black-oil and
ent IMPSAT approach, addressing the shortcoming compositional simulator.
3
WVBE
( ∂V o )
= ∂n1 p,n(1) ∂V o
. . . ( ∂n )p,n(Nc ) • The row space of WVBE is the set of linear com-
Nc
.
w w binations of the rows of WVBE . The row space
( ∂V
∂n1 )p,n(1)
∂V
. . . ( ∂n )p,n
Nc (Nc )
is a subspace of RNc . Since the rows of WVBE
(3) are linearly independent, the dimension of the
Here (∂VT /∂ni )p,n(i) is referred to as the total par- row space is Np .
tial molar volume, and is a partial derivative of the
total volume VT with respect to the molar amount • The nullspace of WVBE is the set of solutions
of component i, keeping pressure and the other com- x to WVBE x = 0. The nullspace is also a sub-
ponent amounts fixed. Similarly, (∂V j /∂ni )p,n(i) is space of RNc .
called the partial molar volume of phase j.
Note that (3) is formed assuming oil and water to • The nullspace is the orthogonal complement
be the primary phases, so j = o, w. Other choices of the row space. Its dimension is therefore
are obviously possible. Nc − Np .
After some rearrangements, Watts obtains a
volume balance pressure equation, Obviously, if the rows of WACE are in the row
space of WVBE , the rows of W will not be linearly
∂(φV ) ∂p PNc ∂VT
− φ( ∂V independent, and W will be singular. On the other
∂p )n ∂t − i=1 ( ∂ni )p,n(i) qi
T
∂t
PNc ∂VT hand, if the rows of WACE form a basis for the null-
+ i=1 ( ∂ni )p,n(i) fi ∆t = 0, (4) space of WVBE , the rows of W will span RNc and
W will be non-singular.
and volume balance saturation equations, By a singular value decomposition of WVBE
we may determine an orthonormal basis
{v1 , v2 , ..., vNc −Np } for the nullspace of WVBE .
j
∂ ∂p
∂t (φV S j ) − φ( ∂V
∂p )n ∂t We choose wi = vi .
PNc ∂V j
− i=1 ( ∂ni )p,n(i) qi Consequently, with this choice, we can argue that
PNc ∂V j the additional conservation equations WACE g = 0
+ i=1 ( ∂ni )p,n(i) fi ∆t = 0. (5) are complementary to the volume balance equations
WVBE g = 0.
Here φ is the porosity, and V is the size of the control The thermodynamic interpretation of WACE is
volume. The saturation equations reduce to the con- not yet clear, but its coefficients clearly depend
ventional black-oil equations when used with black- on the state variables. At present, not knowing
oil fluid properties. Thus, the conventional black-oil how to differentiate WACE with respect to the
formulation is inherent in the IMPSAT formulation primary variables, our linearized system yields a
when using the Volume Balance Method. quasi-Newton scheme.
9th
European Conference on the Mathematics of Oil Recovery - Cannes, France, 30 August - 2 September 2004
4
The additional conservation equations are based Here (∆u)(k) denotes the change in the variable u
on the approximation during iteration step k. As the fully implicit formu-
∂ni ∂ni ∆p ∂ni ∆Sp ∂ni ∆xp lation is unconditionally stable, (12) converges to a
' + + (8) value chi ∈ [0, 1].
∂t ∂p ∆t ∂Sp ∆t ∂xp ∆t
In an IMPSAT formulation, we first perform
in (1). Here Sp is the vector of primary saturations
(e.g., Sp = {S o , S w }), xp are some Nc − Np addi- ∂ch
(chi )(k) = (chi )(k−1) + ( i (k−1)
∂p ) (∆p)(k)
tional primary variables, and ∆u, u ∈ {p, Sp , xp },
∂ch
is the change un+1 − un in u over the timestep +( ∂Sip )(k−1) (∆Sp )(k) (13)
∆t = tn+1 − tn . All derivatives in (8) are evalu-
ated at time tn+1 . during implicit steps, and then
∂chi (k−1)
(chi )(k) = (chi )(k−1) + ( ) (∆xp )(k) (14)
Additional Primary Variables ∂xp
From Darcy’s law, we know that the determination during explicit steps. Consequently, the term that
of pressure and saturations resolves the main fea- accounts for changes in the primary mole fractions
tures of flow. However, if Nc > Np , the phase com- is left out of (13), and we might get (chi )(k) ∈
/ [0, 1]
positions at equilibrium remain undetermined. when using that update. To avoid such instabil-
Phase compositions are represented by the mole ities, we must prevent the derivatives ∂chi /∂u,
fraction of component i in phase h, denoted u ∈ {p, Sp , xp }, from growing too large.
nhi We find that
chi = . (9)
nh ∂chi hc
X N
δi,k − chi
∂nhk
Here nhi
is the amount of component i in phase h, = , (15)
∂u nh ∂u
h k=1
while n is the amount of phase h.
where δi,k is Kronecker’s delta, so it will be suffi-
General framework cient to put restrictions on the derivatives ∂nhk /∂u.
As our additional Nc − Np primary variables, we For notational convenience, we represent these 2Nhc
introduce a set of primary mole fractions by derivatives by the vector
T
Nhc
∂nog ∂noNhc ∂ng1 ∂ngNhc
o
X X
h h ∂n1
(xp )m = ωmi ci , (10) = ,..., , ,..., .
∂u ∂u ∂u ∂u ∂u
h=o,g i=1
(16)
where Nhc is the number of hydrocarbon compon- If we have 2Nhc independent relations of the form
h
ents, m ranges from 1 to Nc −Np , and ωmi ∈ [−1, 1].
The weights G = G(p, no , ng ) = 0, (17)
o o g g
ωm = [ωm1 , . . . , ωmNhc
, ωm1 , . . . , ωmNhc
]T (11) we may differentiate with respect to u to obtain
should be determined so that the primary mole frac-
Nhc Nhc
tions are complementary to pressure and satura- X ∂G ∂nok X ∂G ∂ngk ∂G ∂p
+ =− . (18)
tions. This implies that the primary mole fractions ∂nok ∂u ∂ngk ∂u ∂p ∂u
k=1 k=1
can be assumed constant when determining pressure
and saturations, and thereby be treated explicitly. This yields a linear system of equations of the form
h
The properties of A where ν m = νmk are basis vectors for the null-
space of B.
We use
Relation (30) yields a linear system of the form
o g
fi − fi
G= pV h − nh RT Z h (22) Hω m = bm , (31)
P PNhc h h
h=o,g k=1 ωmk ck − (xp )m PNhc h
but, unfortunately, since i=1 ci = 1, H is sin-
The relation fio − fig = 0, i = 1, 2, . . . , Nhc , where gular. This corresponds to a non-reducible total
fih is the fugacity of component i in phase h, is system of equations, and reflects the fact that an
the condition for chemical equilibrium. The rela- exact decoupling of pressure and saturations from
tions pV h − nh RT Z h = 0 represent the equation of the other state variables is physically unreasonable.
state; R is the universal gas constant, T is absolute Now let the pseudoinverse of H be denoted H+ .
temperature and Z h is the compressibility factor of An approximate solution ω̂ m to Hω m = bm is then
phase h. given by ω̂ m = H+ bm .
We observe that the coefficients ∂G/∂nhk derived It is known that ω̂ m is a least-squares solution
from the fugacity equalities and the equation of of Hω m = bm , not having any components in the
state relations are independent of our choice of nullspace of H. When ω̂ m is inserted into C, the
primary mole fraction weights, ω m . Consequently, rows of C approximately span the nullspace of B,
we may write and cond(A) becomes small. We choose to scale ω̂ m
B so that its largest element is 1 in absolute value.
A= (23)
C Consequently, ωmi h
∈ [−1, 1]. The thermodynamic
where the (2Nhc − (Nc − Np )) × 2Nhc submatrix B interpretation of ω̂ m is not yet clear.
is independent of ω m . As (22) shows, the above procedure is based on
The coefficients of the (Nc −Np )×2Nhc submatrix phase equilibrium thermodynamics. If only one hy-
C are derived from the relations drocarbon phase h is present, the fugacity equalities
Nhc
do not apply, and Nc − Np = Nhc − 1, the number
∂(xp )m X X ∂(xp )m ∂nhk of independent mole fractions in the system. Then
=
∂u
h=o,g k=1
∂nhk ∂u all sets of linearly independent weight combinations
ω m are equivalent. Consequently, we may omit the
0 , u ∈ {p, Sp , xp(m) } above procedure, and choose xp as Nhc − 1 of the
= (24)
1 , u = (xp )m mole fractions of phase h.
where xp(m) contains all primary mole fraction ex-
cept (xp )m . We find that
Sequential Approach
Nhc α
∂(xp )m X X
α ∂ci
= ωmi Assume that the primary variables at time tn ,
∂nhk α=o,g i=1
∂nhk {pn , Snp , xnp }, have been determined. We seek a solu-
Nhc tion of the component conservation equations (1) at
X 1
= (δ − chi )ωmi
h i,k
h
(25) time tn+1 , that is,
i=1
n
g(pn+1 , Sn+1
p , xn+1
p ) = 0. (32)
so that
C = {cij } (26) With the IMPSAT formulation, we first solve the
where volume balance equations,
P
Nhc o o o
k=1 ωik (δk,j − ck )/n , j ∈ Io WVBE g(p(k) , S(k) (k−1)
p , xp ) = 0, (33)
cij =
PNhc ω g (δ g g g
k=1 ik k,j−Nhc − ck )/n , j ∈ I and then the additional conservation equations
(27)
Here WACE g(p(k) , S(k) (k,k−1)
p , xp ) = 0. (34)
I o = {1, 2, . . . , Nhc } (28)
Here u(k) is the k-th approximation of un+1 , and
g
I = {Nhc + 1, Nhc + 2, . . . , 2Nhc } (29) we let u(0) = un . The symbol xp
(k,k−1)
means that
(k−1)
Now we use the theory of orthogonal complements interblock flow terms are evaluated using xp
once again. To minimize the condition number of (interblock flow terms are not updated during the
A, we should choose the coefficients of C so that explicit iteration). Each step k is referred to as a
they span the nullspace of B. This is obtained if sequential step.
N
At the end of sequential step k, we insert
hc (k) (k)
∂(xp )m X 1 {p(k) , Sp , xp } into (32). If the solution is not sat-
δi,k − chi ωmi
h h
h
= h
= νmk (30)
∂nk i=1
n isfactory, we proceed with step k + 1.
9th
European Conference on the Mathematics of Oil Recovery - Cannes, France, 30 August - 2 September 2004
6
(32) by a few sequential steps, are increased with Phase viscosities are calculated by the approach of
the new approach. Consequently, if we compare Lorentz et. al., [11]. Capillary pressure between any
the new approach to the approach of Quandalle and two phases is set to zero, and the reservoir temper-
Savary, a reduction in computational costs can be ature is 353.15 K (80 ◦ C). We use no-flux boundary
expected, especially when the assumption that the conditions.
lightest and the heaviest component are represent- The convergence criteria are as follows. The resid-
ative of the hydrocarbon phases, does not hold. ual of the volume balance equations and the residual
of the additional conservation equations are scaled
by the volume of a gridblock, and the 2-norm is re-
Numerical Results quired to be less than 10−6 for convergence. For
each of the component conservation equations we
Model Description scale the residual by the amount of the correspond-
ing component, and require the result to be less than
We consider a homogenous medium with a poros- 10−5 in 2-norm for convergence.
ity of 0.2 and a permeability of 0.1 Darcy. We
use a 10 × 1 × 10 grid, in which each gridblock is
Test case
10 × 10 × 10 m3 . The hydrocarbon phases consist
of 5 different components; C1, C2, iC4, iC5, C7. We initialize at equilibrium, with a gas-oil contact
The component properties are given in Table 1. All 40 m from the reservoir top and a water-oil contact
thermodynamic calculations are based on the Peng- 20 m from the reservoir bottom. The pressure at the
Robinson equation of state. gas-oil contact honours a total hydrocarbon compos-
ition of z = [0.2, 0.2, 0.25, 0.2, 0.15]T , i.e., evenly
distributed between the components. Due to the
ωi Tci pci Vci Mi zero capillary pressure assumption, the hydrostatic
C1 0.008 190.6 46.00 99 16.043 equilibrium is less accurate over the fluid contacts.
C2 0.098 305.4 48.84 148 30.070 An injection well is located at the bottom left
iC4 0.176 408.1 36.48 263 58.124 corner block, injecting water at a constant rate of
iC5 0.227 460.4 33.84 306 72.145 0.1 % of the total pore volume per day. A producer
C7 0.337 536.5 29.45 476 96.000 is located at the top right corner block. The pressure
at the producer is fixed at the initial pressure, and
everything that flows into the production block is
Table 1: Acentric factor ωi , critical temperature produced.
Tci (K), critical pressure pci (bars), critical volume We advance simulations to 200 days, with 40
Vci (cm3 /mole), molar mass Mi (g/mole). timesteps of 5 days.
7
Solution at the end of the simulation A comparison between the new approach and
the approach of Quandalle and Savary
The state of the system at the end of the simulation,
The test case was run both with the new approach
represented by pressure p, water saturation S w and
(abbreaviated NA) and an implementation of the
the mole fraction of the lightest component (C1)
approach of Quandalle and Savary (abbreaviated
in oil, is presented in Figure 1. The solutions are
QS).
plotted cellwise.
Figure 2 gives a comparison between the two
approaches. The first plot shows the number of
sequential steps needed for convergence, and the
other plots show the relative reduction of implicit
Pressure (bars), t = 200 day(s). and explicit steps when using NA.
0 56
−10 55
−20
54
−30 10
53
−40 9
52
m
−50 8
51
−60 7
50
Sequential steps
−70 6
49
−80 5
48
−90 4
47
3
−100 NA
0 20 40 60 80 100 QS
m 2
0
w 0 50 100 150 200
S , t = 200 day(s). Time(days)
0 1
−10 0.9
0.132 0.6
−30
0.5
−40
0.131
m 0.4
−50
−70 0.2
0.129
−80 0.1
−90 0.128 0
−100 −0.1
0 20 40 60 80 100 0 50 100 150 200
m Time(days)
Figure 1: State at the end of the simulation. Figure 2: A comparison between NA and QS.
9th
European Conference on the Mathematics of Oil Recovery - Cannes, France, 30 August - 2 September 2004
8
Conclusions References
A new, consistent IMPSAT formulation has been [1] Schlumberger Information Solutions. Eclipse
developed, implemented and tested. The formula- Technical Description 2002A
tion is based on the Volume Balance Method, and http://www.sis.slb.com/content/software/
incorporates the conventional black-oil formulation. simulation/eclipse simulators/index.asp.
Consequently, it may serve as a basis for a unified
black-oil and compositional reservoir simulator. [2] R.P. Kendall et. al. Development of a multiple
An IMPSAT formulation is generally more stable application reservoir simulator for use on a vec-
than an IMPES formulation, and requires less com- tor computer. SPE 11483, 1983.
putational effort than a fully implicit formulation. [3] P. Quandalle and J.C. Sabathier. Typical fea-
The presented explicit variables and equations tures of a new multipurpose reservoir simu-
have properties that are complementary to pressure lator. SPE 16007, 1987.
and saturations and the volume balance equations,
respectively. This may reduce computational costs, [4] H. Cao. Development of Techniques for Gen-
as fewer steps are required to obtain convergence. eral Purpose Simulators. PhD thesis, Stanford
The new approach takes local thermodynamics University, 2002.
into account, and is robust, yet effective. It is not
[5] G. Ács, S. Doleschall, and É. Farkas. Gen-
based on any assumptions on the component distri-
eral purpose compositional model. SPE 10515,
bution, and is flexible and adaptive in the sense that
1985.
the choice of additional primary variables may vary
in the reservoir. [6] K.H. Coats. A note on impes and some impes-
The calculation of equation and variable weights based simulation models. SPE 49774, 1999.
introduces an additional computational cost not
present in previously presented IMPSAT formula- [7] J.W. Watts. A compositional formulation of
tions. However, the calculations are inexpensive, as the pressure and saturation equations. SPE
they are non-iterative and operate on matrices of Reservoir Engineering, pages 243–52, May
the same size as the number of components. Con- 1986.
sequently, a reduced number of iteration steps with [8] P. Quandalle and D. Savary. An implicit in
the new approach yields a total computational gain. pressure and saturations approach to fully com-
positional simulation. SPE 18423, 1989.