Res Simulation Cha4
Res Simulation Cha4
• Introduction
• The single-phase pressure equation
• Two-phase flow equations
• Closing remarks
Summary of CM 5: The Flow Equations
- Reservoir simulation => numerical solution of the multi-phase
flow equations in real reservoir systems
i-1, j i+1, j
⎛ kA ⎞
Q1−1/ 2 = − ⎜ ⎟ .
(
Pi, j − Pi−1, j )
µ
⎝ ⎠ i−1/ 2 ∆x
Therefore:
Qj-1/2 ⎧ 4 ⎫
( )
∆ t ρφ∆x∆y∆z = ⎨∑ ρ.Q m ⎬ .∆t ( )
i, j-1 ⎩ m=1 ⎭
where we then substitute Darcy's law
Injector Producer
Fig. 5.2(a) (a) well Long thin (1D) reservoir well
1D “reservoir”
with compressible
fluid and rock;
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.1 The Physics of Single Phase Compressible Systems
Injector Producer
Fig. 5.2(a) (a) well Long thin (1D) reservoir well
1D “reservoir”
with compressible
fluid and rock;
(b)
Pin
Fig. 5.2(b)
pressure t = t1 t = t2
disturbance P t = t3
travelling
Po Pout = Po
along the
system. t=0 0 x→ L
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.2 The Single Phase Pressure Equation
Boundary Boundary
i-1/2 i+1/2
Porosity = φ i +/- 1/2
Area = A Block = boundaries
i-1 i i+1
q i+/- 1/2
volumetric
flow rates
qi-1/2 qi+1/2
∆x ∆x ∆x
x
Fig. 5.3: control volume for application of material balance
in single phase flow
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.2 The Single Phase Pressure Equation
Fig. 5.3 Boundary Boundary
= Mass IN over ∆t
- Mass OUT over ∆t
qi-1/2 qi+1/2
IN OUT
∆x ∆x ∆x
x
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.2 The Single Phase Pressure Equation
i-1/2 i+1/2
Porosity = φ
Area = A Block Mass balance in i
i-1 i i+1
Mass change
(q.ρ)i-1/2 ∆t (q.ρ)i+1/2 ∆t (+/-) over time ∆t (∆m)
= Mass IN over ∆t
qi-1/2 qi+1/2 - Mass OUT over ∆t
IN OUT IN = vol. q x density x t
∆m = OUT = vol.q x density xt
∆x ∆x ∆x ( qρ )i- 12 .∆t - ( qρ )i+ 12 .∆t
x
= − ⎡( qρ )i+ 1 - ( qρ )i- 1 ⎤ .∆t
Mass IN= vol. q x density x ∆t = (q.ρ)i-1/2 ∆t ⎣⎢ 2 ⎥
2⎦
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.2 The Single Phase Pressure Equation
Fig. 5.3 Boundary Boundary
m t = ( A.∆x.φ .ρ )t
m t+∆t = ( A.∆x.φ .ρ )t+∆t
qi-1/2 qi+1/2 ∆m = m t+∆t - m t
= ⎡⎣(φ .ρ ) t+∆t − (φ .ρ )t ⎤⎦ A.∆x.
∆x ∆x ∆x
x
Mass = A.∆x.φ.ρ
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.2 The Single Phase Pressure Equation
Fig. 5.3 Boundary Boundary
EQUATE ∆m from flow and
i-1/2 i+1/2
accumulation -
Porosity = φ
Block
⎡⎣( ρφ i)+t+∆t
1 − ( ρφ ) ⎤ .∆xA =
AREA = A
t⎦
i-1 i
∆x ∆x ∆x
x
Mass = A.∆x.φ.ρ
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.2 The Single Phase Pressure Equation
Fig. 5.3 Boundary Boundary
EQUATE ∆m from flow and
i-1/2
( ) ( )
⎡⎣i+1/ρ2 φ t+∆t − -ρφ t ⎤⎦
accumulation
Porosity = φ
AREA = A Block =
i-1 i i+1 ∆t
− ⎡( qρ )i+ 1 − ( qρ )i- 1 ⎤
⎢⎣ 2 2⎥
⎦
qi-1/2 qi+1/2 ∆x.A
∆x ∆x ∆x
x
Mass = A.∆x.φ.ρ
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.2 The Single Phase Pressure Equation
Fig. 5.3 Boundary Boundary
i-1/2
EQUATE
i+1/2
∆m from flow and
Porosity = φ accumulation -
AREA = A Block
i-1 i i+1
⎡⎣( ρφ ) t+∆t − ( ρφ )t ⎤⎦
=
∆t
qi-1/2 qi+1/2
− ⎡( uρ )i+ 1 − ( uρ )i- 1 ⎤
⎢⎣ 2 2⎥
⎦
∆x
∆x
∆x ∆x
x
where Darcy vel., u = q/A
Mass = A.∆x.φ.ρ - equn. still exact
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.2 The Single Phase Pressure Equation
Fig. 5.3 Boundary Boundary
Taking limits -
i-1/2 i+1/2
Porosity = φ Lim. ⎡⎣( ρφ )t+∆t - ( ρφ ) t ⎤⎦ ∂ ( ρφ )
AREA = A Block ∆t → 0 =
i-1 i i+1
∆t ∂t
⎡( u.ρ ) - ( u.ρ ) ⎤
Lim. ⎢⎣ i+ 1 i− 1 ⎥
2⎦ ∂ ( u.ρ )
− 2
= −
∆x → 0 ∆t ∂x
∂ ( ρφ ) ∂ ( u.ρ )
qi-1/2 qi+1/2
= −
∂t ∂x
∆x ∆x ∆x
x
Differential form of the
Mass = A.∆x.φ.ρ conservation equn. 5.10
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.2 The Single Phase Pressure Equation
∂ ( ρφ ) ∂ ⎡ ρ k ⎛ ∂P ⎞ ⎤
Conservation equn. 5.12 = ⎢ ⎜ ⎟⎥
∂t ∂x ⎣ µ ⎝ ∂x ⎠ ⎦
∂ ⎡ ⎛ ∂P ⎞ ⎤ ⎛ ∂ρ ⎞ ⎛ ∂P ⎞ ⎛ ∂ 2P ⎞
⎢ ρ ⎜ ⎟⎥ = ⎜ ⎟ .⎜ ⎟ + ρ ⎜ 2 ⎟ continued...
∂x ⎣ ⎝ ∂x ⎠ ⎦ ⎝ ∂x ⎠ ⎝ ∂x ⎠ ⎝ ∂x ⎠
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.3 The Simplified Compressible Pressure Equation
continued... ∂ ⎡ ⎛ ∂P ⎞ ⎤ ⎛ ∂ρ ⎞ ⎛ ∂P ⎞ ⎛ ∂2P ⎞
⎢ ρ ⎜ ⎟⎥ = ⎜ ⎟ .⎜ ⎟ + ρ ⎜ 2 ⎟
∂x ⎣ ⎝ ∂x ⎠ ⎦ ⎝ ∂x ⎠ ⎝ ∂x ⎠ ⎝ ∂x ⎠
Expand further noting ρ(P), to obtain: assumption 3
2
∂ ⎡ ⎛ ∂P ⎞ ⎤ ⎛ ∂ρ ⎞ ⎛ ∂P ⎞ ⎛ ∂P ⎞ ⎛ ∂ 2 P ⎞ ⎛ ∂ρ ⎞ ⎛ ∂P ⎞ ⎛ ∂ 2P ⎞
⎢ ρ ⎜ ⎟⎥ = ⎜ ⎟ .⎜ ⎟ .⎜ ⎟ + ρ ⎜ 2 ⎟ = ⎜ ⎟ .⎜ ⎟ + ρ ⎜ 2 ⎟
∂x ⎣ ⎝ ∂x ⎠ ⎦ ⎝ ∂P ⎠ ⎝ ∂x ⎠ ⎝ ∂x ⎠ ⎝ ∂x ⎠ ⎝ ∂P ⎠ ⎝ ∂x ⎠ ⎝ ∂x ⎠
⎛ µφ ⎞ ⎛ ∂ρ ⎞⎛ ∂P ⎞ ⎛∂ P⎞ 2 ⎛ µφ ⎞ 1 ⎛ ∂ρ ⎞⎛ ∂P ⎞ ⎛ ∂ 2
P⎞
.
=> ⎜⎝ k ⎟⎠ ρ ⎜⎝ ∂P ⎟⎜ =
⎟ ⎜ 2⎟
⎜ ⎟ ⎜ ⎟⎜ ⎟ = ρ ⎜ 2 ⎟ ⎠⎝ ∂ t ⎠ ⎝ ∂x ⎠
⎝ k ⎠ ⎝ ∂P ⎠⎝ ∂t ⎠ ⎝ ∂x ⎠ rearrange
Fluid compressibility, cf
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.3 The Simplified Compressible Pressure Equation
continued... ⎛ µφ ⎞ 1 ⎛ ∂ρ ⎞ ⎛ ∂P ⎞ ⎛ ∂2P ⎞
⎜ ⎟. ⎜ ⎟ ⎜ ⎟ = ⎜ 2 ⎟
⎝ k ⎠ ρ ⎝ ∂P ⎠ ⎝ ∂t ⎠ ⎝ ∂x ⎠
⎛ µφ c f ⎞ ⎛ ∂P ⎞ ⎛ ∂2 P ⎞
Sub. for fluid compressibility, cf, gives: ⎜ ⎟⎜ ⎟ =⎜ 2 ⎟
- coefficient is a constant ⎝ k ⎠ ⎝ ∂t ⎠ ⎝ ∂x ⎠
⎛ ∂P ⎞ ⎛ k ⎞ ⎛ 2 ⎞
∂ P
More commonly written ⎜⎝ ∂t ⎟⎠ = ⎜⎜ ⎟ .⎜ 2 ⎟
(
⎝ µφ c f )
⎟⎠ ⎝ ∂x ⎠
the well known equation of well testing (many analytical solutions - various BCs)
i,j+1
y
(j)
i-1,j i+1,j
i,j
x
(i) NOTATION
i,j-1 i,j control volume
i – ½ = (i-1) → i
i + ½ = i → (i + 1)
j – ½ = (j – 1) → j
j + ½ = j → (j + 1)
thickness
=h
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.4 Extension of Single Phase Pressure Eq. to 2D & 3D
Mij WELL
Fig. 5.5: 2D control Area, A x
= ∆y.h
volume - block (i,j)
h Area, Ay = ∆x.h
i,j+1
∆y
y ∆x
(j)
i-1,j i+1,j
i,j
x
(i) NOTATION
i,j-1 i,j control volume
i – ½ = (i-1) → i
i + ½ = i → (i + 1)
j – ½ = (j – 1) → j
j + ½ = j → (j + 1)
thickness
=h
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.4 Extension of Single Phase Pressure Eq. to 2D & 3D
Mij WELL
Fig. 5.5: 2D control Area, A x
= ∆y.h
volume - block (i,j)
h Area, Ay = ∆x.h
i,j+1
∆y ( qρ )i+ 12
y ∆x
(j)
i-1,j
i,j
( qρ ) j− 12
i+1,j
x
(i) NOTATION
i,j-1 i,j control volume
i – ½ = (i-1) → i
i + ½ = i → (i + 1)
j – ½ = (j – 1) → j
j + ½ = j → (j + 1)
thickness
=h
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.4 Extension of Single Phase Pressure Eq. to 2D & 3D
= ⎡( qρ )i − 1 − ( qρ )i + 1 ⎤ .∆t + ⎡( qρ ) j − 1 − ( qρ ) j + 1 ⎤ ∆t + q ijρij∆x∆y.h.∆t
⎢⎣ 2 2⎥
⎦ ⎢⎣ 2 2⎥
⎦
(the x-flows) (the y-flows) (well source/sink term)
( qρ ) j+ 1 2
( qρ )i − 1 2 ( qρ )i + 12
(i,j)
( qρ ) j− 12
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.4 Extension of Single Phase Pressure Eq. to 2D & 3D
= ⎡( qρ )i − 1 − ( qρ )i + 1 ⎤ .∆t + ⎡( qρ ) j − 1 − ( qρ ) j + 1 ⎤ ∆t + q ijρij∆x∆y.h.∆t
⎢⎣ 2 2⎥
⎦ ⎢⎣ 2 2⎥
⎦
(the x-flows) (the y-flows) (well source/sink term)
( qρ ) j+ 1 2
( qρ )i − 1 2 ( qρ )i + 12
(i,j)
( qρ ) j− 12
MASS in block = (φ ρ .∆x.∆y.h )
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.4 Extension of Single Phase Pressure Eq. to 2D & 3D
= ⎡( qρ )i − 1 − ( qρ )i + 1 ⎤ .∆t + ⎡( qρ ) j − 1 − ( qρ ) j + 1 ⎤ ∆t + q ijρij∆x∆y.h.∆t
⎢⎣ 2 2⎥
⎦ ⎢⎣ 2 2⎥
⎦
(the x-flows) (the y-flows) (well source/sink term)
( qρ ) j+ 1 2
Change in mass in (i,j) from t to t+ ∆t
( qρ ) j− 12
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.4 Extension of Single Phase Pressure Eq. to 2D & 3D
⎡( qρ ) − ( ) ⎤ ⎡( qρ ) − ( ) ⎤
⎡⎣(φ ρ )t+∆t − (φ ρ ) t ⎤⎦ ⎢
qρ
⎥ ⎢
qρ j− ⎥
=−⎣ 2⎦
−⎣ 2⎦
i+ 1 i− 1 j+ 1 1
2 2
+ ( qρ
% )ij
∆t ∆x.A x ∆y.A y
∂ (φ ρ ) ∂ ( u x ρ ) ∂ ( u yρ )
=− − + ( qρ
% )
∂t ∂x ∂y
can easily be extended to 3D as follows (eq. 5.36):
∂ (φ ρ ) ∂ ( u x ρ ) ∂ ( u y .ρ ) ∂ ( u z .ρ )
As before... =− − − + ( qρ
% )
∂t ∂x ∂y ∂z
∂ (φ ρ ) ⎛ ∂P ⎞ ∂ ⎡ ρk x ⎛ ⎛ ∂P ⎞ ⎛ ∂z ⎞ ⎞ ⎤ ∂ ⎡ ρk y ⎛ ⎛ ∂P ⎞ ⎛ ∂z ⎞ ⎞ ⎤
.⎜ ⎟ = ⎢ ⎜ ⎜ ⎟ − ρg ⎜ ⎟ ⎟ ⎥ + ⎢ ⎜ ⎜ ⎟ − ρg ⎜ ⎟ ⎟ ⎥
∂P ⎝ ∂t ⎠ ∂x ⎣ µ ⎝ ⎝ ∂x ⎠ ⎝ ∂x ⎠ ⎠ ⎦ ∂y ⎣⎢ µ ⎝ ⎝ ∂y ⎠ ⎝ ∂y ⎠ ⎠ ⎥⎦
∂ ⎡ ρk z ⎛ ⎛ ∂P ⎞ ⎞⎤
+ ⎢ ⎜ ⎜ ⎟ − ρg ⎟ ⎥ + ( qρ
% )
∂z ⎣⎢ µ ⎝ ⎝ ∂y ⎠ ⎠ ⎦⎥
(details in notes)
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.5 Shorthand for the 3D Single-Phase Pressure Equation
∂Vx ∂Vy ∂V
∇.V= + + x
∂x ∂y ∂z
⎛ Vx ⎞
⎜ ⎟
where vector V= ⎜ Vy ⎟
⎜V ⎟
⎝ z⎠
5.2 THE SINGLE PHASE PRESSURE EQUATION
5.2.4 Extension of Single Phase Pressure Eq. to 2D & 3D
⎛ ∂P ⎞ ⎛ ∂P ⎞ ⎛ ∂P ⎞
∇P = ⎜ ⎟ i + ⎜ ⎟ j + ⎜ ⎟ k
⎝ ∂x ⎠ ⎝ ∂y ⎠ ⎝ ∂z ⎠
where i, j and k are the unit vectors in the x-, y- and z-directions.
k k ro ⎡⎛ ∂Po ⎞ ⎛ ∂z ⎞ ⎤
u o =- ⎜ − ρ g
⎟ o ⎜ ⎟⎥
µ o ⎢⎣⎝ ∂x ⎠ ⎝ ∂x ⎠ ⎦
k k rw ⎡⎛ ∂Pw ⎞ ⎛ ∂z ⎞ ⎤
u w =- ⎢ ⎜ ∂x − ρ g
⎟ w ⎜ ⎟⎥
µw ⎣⎝ ⎠ ⎝ ∂x ⎠ ⎦
Mass oil =
volume of oil x density of oil
Rock = ( ∆x.∆y.∆z.φ . So ) × ρ o
∆z Oil, So
Likewise, Mass water
Water,Sw
= ( ∆x.∆y.∆z.φ . Sw ) × ρ w
∆y
∆x
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.2 Derivation of the Two-Phase Conservation Eqs.
Oil flux = mass rate per unit area = (Vol. rate x density/Area)
∆x
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.2 Derivation of the Two-Phase Conservation Eqs.
Control volume for two-phase flow
i–1 i i+1
∆y
ROCK
Area OIL
∆z =A→ So
OIL Fluid
= ∆y. ∆z WATER (φ)
Sw
WATER
∆x ∆x
Boundary Boundary Permeability = k
(i – ½) (i + ½) Porosity = φ
x
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.2 Derivation of the Two-Phase Conservation Eqs.
Control volume for two-phase flow
Oil flux IN = Jo i-1/2 = ( uoρo )i - 1/2 Oil flux OUT = Jo i+1/2 = ( uoρo )i + 1/2
i–1 i i+1
∆y
ROCK
Area OIL
∆z =A→ So
OIL Fluid
= ∆y. ∆z WATER (φ)
Sw
WATER
∆x ∆x
Boundary Boundary Permeability = k
(i – ½) (i + ½) Porosity = φ
x
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.2 Derivation of the Two-Phase Conservation Eqs.
Divide thro’ by ∆x. ∆y. ∆z. ∆t. (A = ∆y. ∆z) to obtain (eq. 5.52):
⎡( J ) − ( ) ⎤
⎡⎣(φ Soρ o )t+∆t − (φ So ρo ) t ⎦⎤ ⎢
⎣ o i+ 1 J o i- ⎥
1
2⎦
=− 2
∆t ∆x
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.2 Derivation of the Two-Phase Conservation Eqs.
∂ (φ So ρ o ) ⎛ ∂J o ⎞
= −⎜ ⎟
∂t ⎝ ∂x ⎠
ρosc
Given that ρ o = , then we obtain (eq. 5.54)
Bo
∂ ⎛ φ So ρ osc ⎞ ⎛ ∂J o ⎞
⎜ ⎟ = − ⎜ ⎟
∂t ⎝ Bo ⎠ ⎝ ∂x ⎠
⎛ u o ρ osc ⎞
J =
We can now substitute for 0 ⎜ B ⎟ to obtain ....
⎝ o ⎠
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.2 Derivation of the Two-Phase Conservation Eqs.
∂ ⎛ φ So ⎞ ∂ ⎛ uo ⎞
⎜ ⎟ = − ⎜ ⎟
∂t ⎝ Bo ⎠ ∂x ⎝ B o ⎠
∂ ⎛ φ Sw ⎞ ∂ ⎛ uw ⎞
⎜ ⎟= − ⎜ ⎟
∂t ⎝ Bw ⎠ ∂x B
⎝ w⎠
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.2 Derivation of the Two-Phase Conservation Eqs.
Now apply Darcy’s Law for uo and uw to get (eqs. 5.59 & 5.60):
∂ ⎛ φ So ⎞ ∂ ⎡ k k ro ⎡⎛ ∂Po ⎞ ∂z ⎤ ⎤
⎜ ⎟= ⎢ ⎢⎜ ∂x ⎟ − ρog ⎥ ⎥ (eq. 5.59)
∂t ⎝ Bo ⎠ ∂x ⎣ µo Bo ⎣⎝ ⎠ ∂x ⎦ ⎦
∂ ⎛ φ Sw ⎞ ∂ ⎡ k k rw ⎡⎛ ∂Pw ⎞ ∂z ⎤ ⎤
⎜ ⎟= ⎢ ⎢⎜ ∂x −
⎟ w ρ g ⎥ (eq. 5.60)
∂t ⎝ Bw ⎠ ∂x ⎣ µ w Bw ⎣⎝ ⎠ ∂x ⎥⎦ ⎦
∂ ⎛ φ So ⎞ ∂ ⎡ k k ro ⎡⎛ ∂Po ⎞ ∂z ⎤ ⎤
⎜ ⎟= ⎢ ⎢⎜ ∂x ⎟ − ρog ⎥ ⎥ (eq. 5.59)
∂t ⎝ Bo ⎠ ∂x ⎣ µo Bo ⎣⎝ ⎠ ∂x ⎦ ⎦
∂ ⎛ φ So ⎞ ∂ ⎡ k k ro ⎡⎛ ∂Po ⎞ ∂z ⎤ ⎤
⎜ ⎟ = ⎢ − ρ g
⎢⎜ ∂x ⎟ o ∂x ⎥ ⎥ (eq. 5.59)
∂t ⎝ Bo ⎠ ∂x µ B
⎣ o o ⎣⎝ ⎠ ⎦⎦
∂ ⎛ φ So ⎞ ∂ ⎛ 1 ⎞ φ ⎛ ∂So ⎞ So ⎛ ∂φ ⎞
⎜ ⎟ = φ So ⎜ ⎟+ ⎜ ⎟+ ⎜ ⎟
∂t ⎝ Bo ⎠ ∂t ⎝ Bo ⎠ Bo ⎝ ∂t ⎠ Bo ⎝ ∂t ⎠
∂ ⎛ 1 ⎞ ⎛ ∂P ⎞ φ ⎛ ∂So ⎞ So ⎛ ∂φ ⎞ ⎛ ∂P ⎞
= φ So ⎜ ⎟ .⎜ ⎟ + .⎜ ⎟ + .⎜ ⎟ .⎜ ⎟
∂P ⎝ Bo ⎠ ⎝ ∂t ⎠ Bo ⎝ ∂t ⎠ Bo ⎝ ∂P ⎠ ⎝ ∂t ⎠
φ ⎛ ∂So ⎞ ⎡ ∂ ⎛ 1 ⎞ So ⎛ ∂φ ⎞ ⎤ ⎛ ∂P ⎞
= ⎜ ⎟ + ⎢φ So ⎜ ⎟+ ⎜ ⎟⎥ ⎜ ⎟
Bo ⎝ ∂t ⎠ ⎣ ∂P ⎝ Bo ⎠ Bo ⎝ ∂P ⎠ ⎦ ⎝ ∂t ⎠ (5.61)
∂ ⎛ φ So ⎞ φ ⎛ ∂So ⎞ ⎡ ∂ ⎛ 1 ⎞ So ⎛ ∂φ ⎞ ⎤ ⎛ ∂P ⎞
⎜ ⎟= ⎜ ⎟ + ⎢φ So ⎜ ⎟+ ⎜ ⎟⎥ ⎜ ⎟ (5.61)
∂t ⎝ Bo ⎠ Bo ⎝ ∂t ⎠ ⎣ ∂P ⎝ Bo ⎠ Bo ⎝ ∂P ⎠ ⎦ ⎝ ∂t ⎠
∂ ⎛ φ Sw ⎞ φ ⎛ ∂S w ⎞ ⎡ ∂ ⎛ 1 ⎞ Sw ⎛ ∂φ ⎞ ⎤ ⎛ ∂P ⎞
⎜ ⎟= ⎜ ⎟ + ⎢φ Sw ⎜ ⎟+ ⎜ ⎟ ⎥ ⎜ ⎟ (5.62)
∂t ⎝ Bw ⎠ Bw ⎝ ∂t ⎠ ⎣ ∂P ⎝ Bw ⎠ Bw ⎝ ∂P ⎠ ⎦ ⎝ ∂t ⎠
NOTE - can multiply 5.61 by (Bo/φ) and 5.62 by (Bw/φ) to obtain ....
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.3 The Two-Phase Pressure Equation
⎛ Bo ⎞ ∂ ⎛ φ So ⎞ φ ⎛ ∂So ⎞ ⎡ ∂ ⎛ 1 ⎞ So ⎛ ∂φ ⎞ ⎤ ⎛ ∂P ⎞
⎜ ⎟ x ∂t ⎜ B ⎟ = B ⎜ ∂t ⎟ + ⎢φ So ∂P ⎜ B ⎟ + B ⎜ ∂P ⎟ ⎥ ⎜ ∂t ⎟ (5.61)
⎝ φ ⎠ ⎝ o ⎠ o ⎝ ⎠ ⎣ ⎝ o⎠ o ⎝ ⎠⎦ ⎝ ⎠
⎛ B w ⎞ ∂ ⎛ φ Sw ⎞ φ ⎛ ∂S w ⎞ ⎡ ∂ ⎛ 1 ⎞ Sw ⎛ ∂φ ⎞ ⎤ ⎛ ∂P ⎞
⎜ ⎟ x∂t ⎜ B ⎟= ⎜ ⎟ + ⎢φ Sw ⎜ ⎟+ ⎜ ⎟ ⎥ ⎜ ⎟ (5.62)
⎝ φ ⎠ ⎝ w ⎠ Bw ⎝ ∂t ⎠ ⎣ ∂P ⎝ Bw ⎠ Bw ⎝ ∂P ⎠ ⎦ ⎝ ∂t ⎠
WHY?
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.3 The Two-Phase Pressure Equation
⎛ Bo ⎞ ∂ ⎛ φ So ⎞ φ ⎛ ∂So ⎞ ⎡ ∂ ⎛ 1 ⎞ So ⎛ ∂φ ⎞ ⎤ ⎛ ∂P ⎞
⎜ ⎟ x ∂t ⎜ B ⎟ = B ⎜ ∂t ⎟ + ⎢φ So ∂P ⎜ B ⎟ + B ⎜ ∂P ⎟ ⎥ ⎜ ∂t ⎟ (5.61)
⎝ φ ⎠ ⎝ o ⎠ o ⎝ ⎠ ⎣ ⎝ o⎠ o ⎝ ⎠⎦ ⎝ ⎠
⎛ B w ⎞ ∂ ⎛ φ Sw ⎞ φ ⎛ ∂S w ⎞ ⎡ ∂ ⎛ 1 ⎞ Sw ⎛ ∂φ ⎞ ⎤ ⎛ ∂P ⎞
⎜ ⎟ x∂t ⎜ B ⎟= ⎜ ⎟ + ⎢φ Sw ⎜ ⎟+ ⎜ ⎟ ⎥ ⎜ ⎟ (5.62)
⎝ φ ⎠ ⎝ w ⎠ Bw ⎝ ∂t ⎠ ⎣ ∂P ⎝ Bw ⎠ Bw ⎝ ∂P ⎠ ⎦ ⎝ ∂t ⎠
B o ∂ ⎛ φ So ⎞ B w ∂ ⎛ φ Sw ⎞
⎜ ⎟+ ⎜ ⎟
φ ∂t ⎝ Bo ⎠ φ ∂t ⎝ Bw ⎠
⎡ ∂ ⎛ 1 ⎞ ∂ ⎛ 1 ⎞ So ⎛ ∂φ ⎞ Sw ⎛ ∂φ ⎞ ⎤ ∂Po
= ⎢ B o So . ⎜ ⎟ + B S . ⎜ ⎟+ ⎜ ⎟+ ⎜ ⎟⎥
φ φ
w w
⎣ ∂P o ⎝ B o ⎠ ∂Po ⎝ Bw ⎠ ∂P
⎝ o⎠ ⎝ o ⎠ ⎦ ∂t
∂P
Sw + So = 1
⎡ ∂ ⎛ 1 ⎞ ∂ ⎛ 1 ⎞ 1 ⎛ ∂φ ⎞ ⎤ ∂Po
= ⎢ B o So . ⎜ ⎟ + B S . ⎜ ⎟+ ⎜ ⎟⎥
φ
w w
⎣ ∂Po ⎝ Bo ⎠ ∂Po ⎝ Bw ⎠ ⎝ o ⎠ ⎦ ∂t
∂P
⎛ Bo ⎞ ∂ ⎛ φ So ⎞ ∂ ⎡ k k ro ⎡⎛ ∂Po ⎞ ∂z ⎤ ⎤
=
⎜ ⎟ ∂t ⎜ B ⎟ ∂x ⎢ µ B ⎢⎜ ∂x ⎟ o ∂x ⎥ ⎥
x − ρ g (eq. 5.59)
⎝ φ ⎠ ⎝ o ⎠ ⎣ o o ⎣⎝ ⎠ ⎦⎦
⎛ Bo ⎞ ∂ ⎛ φ So ⎞ ∂ ⎡ k k ro ⎡⎛ ∂Po ⎞ ∂z ⎤ ⎤
=
⎜ ⎟ ∂t ⎜ B ⎟ ∂x ⎢ µ B ⎢⎜ ∂x ⎟ o ∂x ⎥ ⎥
x − ρ g (eq. 5.59)
⎝ φ ⎠ ⎝ o ⎠ ⎣ o o ⎣⎝ ⎠ ⎦⎦
⎡ ∂ ⎛ 1 ⎞ ∂ ⎛ 1 ⎞ 1 ⎛ ∂φ ⎞ ⎤ ⎛ ∂Po ⎞
= ⎢ BoSo . ⎜ ⎟ + B S . ⎜ ⎟+ ⎜ ⎟ ⎥ ⎜⎜ ⎟⎟
⎠ φ ⎝ ∂Po ⎠ ⎦ ⎝ ∂t ⎠
w w
⎣ ∂Po ⎝ Bo ⎠ ∂Po ⎝ Bw
fluid/rock compressibility term
Denote this α ( So ,Po )
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.3 The Two-Phase Pressure Equation
⎛ Bo ⎞ ∂ ⎛ φ So ⎞ ∂ ⎡ k k ro ⎡⎛ ∂Po ⎞ ∂z ⎤ ⎤
=
⎜ ⎟ ∂t ⎜ B ⎟ ∂x ⎢ µ B ⎢⎜ ∂x ⎟ o ∂x ⎥ ⎥
x − ρ g (eq. 5.59)
⎝ φ ⎠ ⎝ o ⎠ ⎣ o o ⎣⎝ ⎠ ⎦⎦
⎡ ∂ ⎛ 1 ⎞ ∂ ⎛ 1 ⎞ 1 ⎛ ∂φ ⎞ ⎤ ⎛ ∂Po ⎞ ⎛ ∂Po ⎞
= ⎢ BoSo . ⎜ ⎟ + B w Sw . ⎜ ⎟+ ⎜ ⎟ ⎥ ⎜⎜ ⎟⎟ = α ( So ,Po ) . ⎜⎜ ⎟⎟
⎣ ∂Po ⎝ Bo ⎠ ∂Po ⎝ Bw ⎠ φ ∂ P
⎝ o ⎠⎦ ⎝ ∂t ⎠ ⎝ ∂t ⎠
fluid/rock compressibility term, α
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.3 The Two-Phase Pressure Equation
⎛ Bo ⎞ ∂ ⎛ φ So ⎞ ∂ ⎡ k k ro ⎡⎛ ∂Po ⎞ ∂z ⎤ ⎤
=
⎜ ⎟ ∂t ⎜ B ⎟ ∂x ⎢ µ B ⎢⎜ ∂x ⎟ o ∂x ⎥ ⎥
x − ρ g (eq. 5.59)
⎝ φ ⎠ ⎝ o ⎠ ⎣ o o ⎣⎝ ⎠ ⎦⎦
⎛ ∂Po ⎞
α ( So ,Po ) . ⎜ =
NOW MULTIPLY THRO’ THE RH SIDES
⎜ ∂t ⎟⎟ AND ADD TOGETHER
⎝ ⎠
TO OBTAIN ....
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.3 The Two-Phase Pressure Equation
Multiplying out and adding RHSides and equating gives (eq. 5.68):
⎛ ∂P ⎞
α ( So ;Po ) ⎜ o ⎟=
⎝ ∂t ⎠
Bo ∂ ⎡ k k ro ⎛ ∂Po ⎞ ⎛ ∂z ⎞ ⎤ Bw ∂ ⎡ k k rw ⎛ ⎛ ∂Pw ⎞ ⎛ ∂z ⎞ ⎞ ⎤
− ρo g ⎜ ⎟ ⎥ + ⎢ ⎜ ⎜ ∂x ⎟ − ρ w g ⎜ ∂x ⎟ ⎟ ⎥
φ ∂x ⎣⎢ µo Bo ⎝⎜ ∂x ⎠⎟ ∂
⎝ ⎠⎦
x φ ∂x µ B
⎣ w w ⎝⎝ ⎠ ⎝ ⎠ ⎠⎦
.. but note that we still have TWO presures in this eq. Po & Pw
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.3 The Two-Phase Pressure Equation
Multiplying out and adding RHSides and equating gives (eq. 5.68):
⎛ ∂P ⎞
α ( So ;Po ) ⎜ o ⎟=
⎝ ∂t ⎠
Bo ∂ ⎡ k k ro ⎛ ∂Po ⎞ ⎛ ∂z ⎞ ⎤ Bw ∂ ⎡ k k rw ⎛ ⎛ ∂Pw ⎞ ⎛ ∂z ⎞ ⎞ ⎤
− ρo g ⎜ ⎟ ⎥ + ⎢ ⎜ ⎜ ∂x ⎟ − ρ w g ⎜ ∂x ⎟ ⎟ ⎥
φ ∂x ⎣⎢ µo Bo ⎝⎜ ∂x ⎠⎟ ∂
⎝ ⎠⎦
x φ ∂x µ B
⎣ w w ⎝⎝ ⎠ ⎝ ⎠ ⎠⎦
⎛ ∂Po ⎞ Bo ∂ ⎡ k k ro ⎛ ⎛ ∂Po ⎞ ⎛ ∂z ⎞ ⎞ ⎤
α ( So ;Po ) ⎜ ⎟= ⎢ ⎜ ⎜ ⎟ − ρog ⎜ ⎟ ⎟⎥
⎝ ∂t ⎠ φ ∂x ⎣ µ o Bo ⎝ ⎝ ∂x ⎠ ⎝ ∂x ⎠ ⎠ ⎦
Bw ∂ ⎡ k k rw ⎛ ⎛ ∂Po ⎞ ⎛ ∂Pc ⎞ ⎛ ∂z ⎞ ⎞ ⎤
+ ⎢ ⎜⎜ ⎟−⎜ ⎟ − ρw g ⎜ ⎟ ⎟⎥
φ ∂x ⎣ µ w Bw ⎝ ⎝ ∂x ⎠ ⎝ ∂x ⎠ ⎝ ∂x ⎠ ⎠ ⎦
continued ...
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.3 The Two-Phase Pressure Equation
Notes on PRESSURE EQUATION (eq. 5.71) (continued):
- recall that in two-phase flow, the dependent variables
(the unknown we want to find) were chosen to be
Need an
ALGORITHM
Poin Soi
n Poin+1 Soi
n+1
ROCK ROCK
(n ;
water Pwi Snwi )
and 5.59 to find ⇒
( Pwin+1 ; Sn+1
wi )
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.4 Schematic Strategy for Solving the Two-Phase
Pressure and Saturation Equations
Fig. 5.8: Schematic showing update of the pressure and saturation
in a grid block (i) over a time step, ∆t.
GRID BLOCK i Time step, ∆t GRID BLOCK i
At time = t At time = t+∆t
(time step n) (time step n+1)
ROCK ROCK
Solve equations 5.71 Poin+1 ; Soi
n+1
oil Poin ; Soi
n
and 5.59 to find ⇒
(n ;
water Pwi Snwi ) ( Pwin+1 ; Sn+1
wi )
( ∆Soi ) n → n+1 ⎣
n+1 − ∆Sn ⎤
= ⎡Soi oi ⎦
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.4 Schematic Strategy for Solving the Two-Phase
Pressure and Saturation Equations
Fig. 5.8: Schematic showing update of the pressure and saturation
in a grid block (i) over a time step, ∆t.
GRID BLOCK i Time step, ∆t GRID BLOCK i
At time = t At time = t+∆t
(time step n) (time step n+1)
ROCK ROCK
Solve equations 5.71 Poin+1 ; Soi
n+1
oil Poin ; Soi
n
and 5.59 to find ⇒
(n ;
water Pwi Snwi ) ( Pwin+1 ; Sn+1
wi )
( ∆Soi ) n → n+1 ⎣ oi ⎦ (
n+1 − ∆Sn ⎤ = − ∆S
= ⎡Soi wi ) n → n+1
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.5 Simplified Two-Phase Pressure and Saturation Eqs.
Simplifying assumptions:
1. oil and water µo and µw are constant (with x and P);
∂So ∂ ⎡ ⎛ ∂P ⎞ ⎤
φ = λ ( S )
o ⎜ ⎟⎥
∂x ⎢⎣
o
∂t ⎝ ∂x ⎠ ⎦
in summary ...
5.3 THE TWO-PHASE FLOW EQUATIONS
5.3.5 Simplified Two-Phase Pressure and Saturation Eqs.
∂ ⎡ ∂P ⎤
PRESSURE ⎢ λ T ( So ) ⎥ =0 (5.81)
∂x ⎣ ∂x ⎦
∂So ∂ ⎡ ⎛ ∂P ⎞ ⎤
SATURATION φ = λ o ( So ) ⎜ ⎟ ⎥ (5.82)
∂t ∂x ⎢⎣ ⎝ ∂x ⎠ ⎦
∂ ⎡ ∂P ⎤
PRESSURE ⎢ λ T ( So ) ⎥ =0 (5.81)
∂x ⎣ ∂x ⎦
∂So ∂ ⎡ ⎛ ∂P ⎞ ⎤
SATURATION φ = λ o ( So ) ⎜ ⎟ ⎥ (5.82)
∂t ∂x ⎢⎣ ⎝ ∂x ⎠ ⎦
YES
End of Section 5.3
Outline
• Introduction
• The single-phase pressure equation
• Two-phase flow equations
• Closing remarks
5.4 CLOSING REMARKS
continued...
5.4 CLOSING REMARKS (continued)
For both single- and two-phase flow => full equations for the
compressible system were non-linear PDE’s
- 2 non-linear, completed PDE’s for two-phase flow:
- cannot generally be solved analytically
- in simplified form - illustrate interesting features of the processes.
- numerical solution of these eqs. => in Core Module 6 (CM6).