Solution 15
Solution 15
Solution 15
SOLUTION
Examination paper for TPG4160 Reservoir Simulation
Language: English
Number of pages:
Checked by:
____________________________
Date
Signature
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 2 of 15
Express the density of the part of the reservoir oil that remains liquid at the surface.
Express the density of the part of the reservoir oil that becomes gas at the surface.
Express the gas density using real gas equation.
Write the definition for fluid compressibility.
Write an expression for pore compressibility
Solution
a)
Bw
Bg
Bo
b)
Rso
oS + gsRso
Bo
g = gS
Bg
o =
w =
wS
Bw
c)
oL =
oS
Bo
e)
PV = nZRT .
g = gS
f)
gsRso
Bo
d)
oG =
g)
1
c r = ( )( )T
P
P ZS
Z PS
1 V
c f = ( )( )T
V P
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 3 of 15
Pcow
oil
water
Pcd
Sw
1.0
Swir
1.0
Swir
Sw
Imbibition curves
Kr
Pcow
oil
water
Swir
1-Sor
Sw
Swir
1-Sor
Sw
b)
Pcog
Kr
Drainage
process
gas
oil
So =1
Pdog
Sorg
1-Sgc
So
Sorg
1.0
So
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 4 of 15
Pcog
Kr
Imbibition
process
oil
oil
gas
So =Sor
Sorg
1-Sgro
So
Sorg
1-Sgro
So
c)
100% gas
minimum liquid
saturation under
gas displacement
Sor
0.1
0.2
0.4
0.6
0.8
100% water
100% oil
minimum oil plus
gas saturation under
water displacement
Swir
Question 3 (8 points)
Explain briefly the following terms as applied to reservoir simulation (short sentence and/or a
formula for each):
a) Control volume
b) Mass balance
c) Taylor series
d) Numerical dispersion
e) Explicit
f) Implicit
g) Stability
h) Upstream weighting
i) Variable bubble point
j) Harmonic average
k) Transmissibility
l) Storage coefficient
m) Coefficient matrix
n) IMPES
o) Fully implicit
p) Cross section
q) Coning
r) PI
s) Stones relative permeability models
t) Discretization
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
u)
v)
w)
x)
y)
z)
page 5 of 15
History matching
Prediction
Black Oil
Compositional
Dual porosity
Dual permeability
Solution
a) Control volume small volume used in derivation of continuity equation
b) Mass balance principle applied to control volume in derivation of continuity
equation
c) Taylor series expansion formula used for derivation of difference approximations
h
h2
h3
(or formula: f (x + h) = f (x) + f (x) +
f (x) +
f (x) + ....)
1!
2!
3!
d) Numerical dispersion error term associated with finite difference approximations
derived by use of Taylor series
e) Explicit as applied to discretization of diffusivity equation: time level used in
Taylor series approximation is t
f) Implicit as applied to discretization of diffusivity equation: time level used in
Taylor series approximation is t+Dt
g) Stability as applied to implicit and explicit discretization of diffusivity equation:
c
2
explicit form is conditional stable for t 1
, while implicit form is
2 k (x)
unconditionally stable
h) Upstream weighting descriptive term for the choice of mobility terms in
transmissibilities
i) Variable bubble point term that indicates that the discretization og undersaturated
flow equation includes the possibility for bubble point to change, such as for the
case of gas injection in undersaturated oil
j) Harmonic average averaging method used for permeabilities when flow is in series
k) Transmissibility flow coefficient in discrete equations that when muliplied with
pressure difference between grid blocks yields flow rate.
l) Storage coefficient flow coefficient in discrete equations that when muliplied with
pressure change or saturation change in a time step yields mass change in grid
block
m) Coefficient matrix the matrix of coefficient in the set of linear equations
n) IMPES an approximate solution method for two or three phase equations where all
coefficients and capillary pressures are computed at time level of previous time
step when generating the coefficient matrix
o) Fully implicit an solution method for two or three phase equations where all
coefficients and capillary pressures are computed at the current time level
generating the coefficient matrix. Thus, iterations are required on the solution.
p) Cross section an x-z section of a reservoir
q) Coning the tendency of gas and water to form a cone shaped flow channel into the
well due to pressure drawdown in the close neigborhood.
r) PI the productivity index of a well
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 6 of 15
k kr o Po
Txoi +1/ 2 (Po i+1 Po i ) + Txoi 1/ 2 (Po i1 Po i )
x o Bo x i
Using the following transmissibility as example,
2ki+1/2 oi+1/2
Txoi+1/2 =
xi ( xi+1 + xi )
a) What is the averaging method normally applied to absolute permeability between grid
blocks ( ki+1/2 )? Why? Write the expression for average permeability between grid blocks
(i+1) and (i).
b) Write an expression for the selection of the conventional upstream mobility term ( oi+1/2 )
c)
d)
e)
f)
for use in the transmissibility term of the oil equation above for flow between the grid
blocks (i+1) and (i).
Make a sketch of a typical Buckley-Leverett saturation profile resulting from the
displacement of oil by water (i.e., analytical solution). Then, show how the corresponding
profile, if calculated in a numerical simulation model, typically is influenced by:
choice of mobilities between the grid blocks (Sketch curves for saturations computed
with upstream or average mobility terms, respectively).
time step size
capillary pressure
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 7 of 15
Solution
a) Harmonic average is used because it properly represents flow in series across blocks of
different permeabilities. It may be derived from Darcy's law (steady flow).
xi + xi+1
ki+1/2 =
xi xi+1
+
ki
ki+1
oi +1 if Poi +1 Poi
oi if P oi +1 < Poi
b) oi +1/ 2 =
c)
d)
Qw
Sw
1-Swir
Swir
exact
average
upstream
e) On their sketch: the smaller time step, the closer to the exact solution
f) On their sketch: capillary pressure will give dispersion at the front, and a minor deviation
from the exact solution behind the front
Question 5 (6 points)
In the Exercise 3, the effect of gas injection in under-saturated oil is investigated. Two
different cases (swelling and no-swelling case) are compared.
a) What is the difference between these two cases in terms of Rso (Explain with plots of Bo
and Rso vs. pressure).
b) How do these two cases influence the GOR and field oil production (Explain with plots
of GOR and field oil production vs. time).
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
Solution
a)
b)
page 8 of 15
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 9 of 15
Question 6 (5 points)
For two-dimensional (x,y), one phase flow, the pressure equation is:
i = 1,N x , j = 1,N y
5
4
10
11
4
12
13
14
15
16
17
4
18
19
20
21
22
23
4
24
25
26
27
28
29
4
30
31
32
33
34
35
4
36
37
38
39
40
41
4
42
43
44
45
46
47
4
48
ai, j = 0
ci, j = 0
ei, j = 0
fi, j = 0
Solution
6
4
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 10 of 15
i = 1,...,N1,
j = 1,...,N 2
Sketch the coefficient matrix for both systems (approximately, with lines and the appropriate
coefficient name). Show the key differences between the two on the cylindrical coefficient
matrix.
Solution
Coefficient matrix for rectangular system
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 11 of 15
Coefficient matrix for cylindrical system. Key difference from rectangular system are the
connections between blocks where j=1 with blocks where j=8
P t+t
P1
.
.
.
.
Pn
t+t
In the following you are to show the structure of T for cases a d below. Show the nonzero
parts of T with an x and the zero parts with an o.
(make a 10x10 grid for each case and enter x or o in the squares)
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 12 of 15
Solution
a)
x
x
o
o
o
x
o
o
o
o
c)
x
x
x
o
o
o
x
o
o
o
o
x
x
x
o
o
o
x
o
o
o
o
x
x
x
o
o
o
x
o
o
o
o
x
x
o
o
o
o
x
x
o
o
o
o
x
x
o
o
o
o
x
o
o
o
x
x
x
o
o
o
o
x
o
o
o
x
x
x
o
o
o
o
x
o
o
o
x
x
x
o
o
o
o
x
o
o
o
x
x
b)
x
x
x
o
o
o
o
o
o
o
x
o
o
o
o
x
o
x
o
o
o
x
o
o
o
x
x
o
x
o
o
o
x
o
o
o
x
x
o
x
o
o
o
o
o
x
o
o
x
o
o
o
o
o
o
o
x
o
x
x
x
x
o
x
o
o
o
o
o
o
x
x
x
o
x
o
x
o
o
o
o
o
o
x
o
o
o
x
o
o
o
x
o
x
x
o
o
o
x
o
o
o
x
o
x
o
o
o
o
x
x
x
o
o
o
o
o
o
o
o
o
o
x
x
o
x
o
o
o
o
o
o
x
x
x
o
x
o
o
o
x
o
o
x
x
o
o
x
o
o
o
o
x
o
o
x
x
o
o
o
o
o
o
x
o
x
x
x
o
x
o
o
o
o
x
o
x
x
x
o
o
o
o
o
o
o
o
x
x
o
o
o
o
o
o
o
x
o
o
x
d)
x
x
o
x
o
o
o
o
o
o
x
o
x
x
x
o
o
o
o
o
o
x
x
x
o
x
o
o
o
o
o
o
x
o
x
x
x
o
o
o
o
o
o
x
x
x
o
x
o
o
o
o
o
o
x
o
x
x
x
o
o
o
o
o
o
x
x
x
o
x
o
o
o
o
o
o
x
o
x
x
o
o
o
o
o
o
o
o
x
x
x
x
o
o
x
o
o
o
o
o
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 13 of 15
i = 1, N
Txwi+1 2 ( Poi +1 Poi ) ( Pcowi +1 Pcowi ) + Txwi1 2 ( Poi 1 Poi ) ( Pcowi1 Pcowi ) qwi
i = 1, N
t
Bo
The corresponding discretized form is:
a) Sketch typical curves that show the pressure dependencies of Bo and Rso .
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
page 14 of 15
b) Show the complete derivations of the three coefficients Cpog i , Cpbg i , Cswg i .
Solution
a)
In the figures, the solid lines represent saturated conditions, while the dotted lines represent
under-saturated behavior, with the bubble point pressure being defined by the intersection
of the dotted line and the saturated line. Thus, the bubble point pressure depends on the
amount of gas present in the system. The more gas, the higher the bubble point pressure.
For undersaturated oil the functional dependencies are: Bo (Po , Pbp ), Rso (Pbp )
b) First, since we have two-phase flow it means that oil and water are flowing, while the gas
is in the form of solution gas. We expand the right hand side of the gas equation as
follows:
So
S S dR P
Rso
= Rso o + o so bp
t
Bo
t Bo Bo dPbp t
The first term becomes:
So
1 Po
So
1 Pbp So d Po
=
R
+
S
+
,
+
so
o
t Bo
Bo t
Po Bo t Pbp Bo t Bo dPo t
and in discrete form:
Rso
( Rso )i
( RsoSo )i
So
(Swi Swit ) +
Rso
Boi t
t
t Bo i
cr (1 / Bo )
( RsoSo )i (1 / Bo )
t
t
( Pbpi Pbpi )
B + P ( Poi Poi ) +
t
P
o
bp
o
i
So dRso Pbp ( So )i
B
o dPbp t
i Boi t
dRso
t
( Pbpi Pbpi )
dPbp i
Final Exam
TPG4160 Reservoir Simulation, June 5, 2015
Collecting terms:
C pogi =
C pbgi =
( RsoSo )i cr
t
(So )i
Cswgi =
B +
o
Rso
t
( Rso )i
Boi t
(1 / Bo )
Po i
(1 / Bo )
1 dRso
+
Pbp Boi dPbp
i
i
page 15 of 15