4.4.2.2 - Derivation of The Diffusivity Equation in Radial-Cylindrical Coordinates

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Published on PNG 301: Introduction to Petroleum and Natural Gas Engineering (https://www.

e-
education.psu.edu/png301)
Home > Lessons > Lesson 4: Reservoir Engineering for Oil Reservoirs > 4.4.2.2: Derivation of the Diffusivity Equation in Radial-Cylindrical Coordinates

4.4.2.2: Derivation of the Diffusivity Equation in


Radial-Cylindrical Coordinates
The derivation of the diffusivity equation in radial-cylindrical coordinates will be the last topic in our
discussion on individual well performance. It also gives us the opportunity to introduce the topic of
material balance, as we will use this concept in the following derivation.

If we perform a mass balance on a thin ring or Representative Elemental Volume, REV, in the reservoir
as shown in Figure 4.07, then we would have:

𝑀𝑎𝑠𝑠 𝐼𝑛 − 𝑀𝑎𝑠𝑠 𝑂𝑢𝑡 = 𝑀𝑎𝑠𝑠 𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛


Equation 4.43

Equation 4.43 simply states that any mass entering the REV at its outer boundary less the mass exiting
the REV at its inner boundary must be accumulating in the REV. We can elaborate on the definitions of
terms in Equation 4.43 as:

∂(𝜌𝑞)
𝑀𝑎𝑠𝑠 𝐼𝑛 = 𝜌𝑞]𝑟′ + 𝑑𝑟 𝑑𝑡 = 5.615(𝜌𝑞]𝑟′ + 𝑑𝑟)𝑑𝑡
∂𝑟
Equation 4.44

𝑀𝑎𝑠𝑠 𝑂𝑢𝑡 = 5.615(𝜌𝑞] ′ )𝑑𝑡


𝑟
Equation 4.45

and,

𝑀𝑎𝑠𝑠 𝐴𝑐𝑐𝑢𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛 = 𝜙𝑉𝑏 𝑅𝐸𝑉 ∂𝜌 = 2𝜋𝑟𝑑𝑟 𝜙ℎ ∂𝜌


Equation 4.46

Where:

5.615 is a unit conversion constant, ft3/bbl


𝜌 is the liquid density, lb/ft3
𝑞 is the liquid rate, bbl/day
𝑟 is the radial coordinate in a radial-cylindrical coordinate system, ft
𝑟' is the radius of the representative elemental volume, REV, ft
𝑞 is time, days
𝜙 is the porosity of the reservoir, fraction
𝑉𝑏 REV is the bulk volume of the representative elemental volume, REV, ft3
ℎ is the reservoir thickness, ft
Figure 4.07: Representative Elemental Volume, REV, in Radial-Cylindrical Coordinates
Source: Greg King

Substituting Equation 4.44 through Equation 4.46 into Equation 4.43 results in:

∂(𝜌𝑞)
5.615[(𝜌𝑞] ′ = 𝑑𝑟) − 𝜌𝑞] ′ ]𝑑𝑡 = 2𝜋𝑟𝑑𝑟 𝜙ℎ ∂𝜌
𝑟 ∂𝑟 𝑟
Equation 4.47a

or,

∂(𝜌𝑞)
5.615 𝑑𝑟 𝑑𝑡=2𝜋𝑟𝑑𝑟 𝜙ℎ ∂𝜌
∂𝑟
Equation 4.47b

Dividing by the term 5.615 𝑟 𝑑𝑟 𝑑𝑡 results in:

1 ∂(𝜌𝑞) = 2𝜋 𝜙ℎ ∂𝜌
𝑟 ∂𝑟 5.615 𝑑𝑡
Equation 4.48

Now, substituting Darcy’s Law, Equation 4.05 with l=-r and without the formation volume factor, B, (we
want the flow rate in reservoir bbl/day not STB/day):

1 ∂ 0.001127𝜌𝑘(2𝜋𝑟ℎ) ∂𝑝 = 2𝜋 𝜙ℎ ∂𝜌
𝑟 ∂𝑟 [ 𝜇 ∂𝑟
]
5.615 𝑑𝑡
Equation 4.49

If we assume that the permeability, k, and the thickness, h, are uniform, then we have:
1 ∂ (𝑟𝜌 ∂𝑝 ) = 𝜙𝜇 ∂𝜌
𝑟 ∂𝑟 ∂𝑟 (5.615)(0.001127)𝑘 𝑑𝑡
Equation 4.50a

or,

1 ∂ 𝑟𝜌 ∂𝑝 = 𝜙𝜇 ∂𝜌
𝑟 ∂𝑟 ( )
∂𝑟 0.006328𝑘 𝑑𝑡
Equation 4.50b

or, after applying the chain rule:

1 ∂ (𝑟𝜌 ∂𝑝 ) = 𝜙𝜇 ∂𝜌 ∂𝑝
𝑟 ∂𝑟 ∂𝑟 0.006328𝑘 𝑑𝑝 𝑑𝑡
Equation 4.50c

Now, using the definition of compressibility for slightly compressible liquids:

1 𝑑𝜌
𝑐=𝜌
𝑑𝑝
Equation 4.51

Substituting Equation 4.51 into results Equation 4.50c in:

1 ∂ (𝑟𝑝 ∂𝑝 ) = 𝜙𝜇𝑐𝜌 ∂𝑝
𝑟 ∂𝑟 ∂𝑟 0.006328𝑘 𝑑𝑡
Equation 4.52

Equation 4.52 is the nonlinear diffusivity equation. We say that it is Nonlinear because the two density
terms in the equation are functions of pressure. In this nonlinear form, we cannot solve the equation
analytically (exactly). In order to obtain analytical solutions to this equation, we must first Linearize it.
To do this, we apply the chain rule to the left-hand side of Equation 4.52:
2
1 𝑟(𝜌 ∂ 𝑝 + ∂𝑝 ∂𝜌 ) + 𝜌 ∂𝑝 = 𝜙𝜇𝑐𝜌 ∂𝑝
𝑟[ ∂𝑟
2 ∂𝑟 ∂𝑟 ∂𝑟
]
0.006328𝑘 𝑑𝑡
Equation 4.53a

or,
2 2
1 𝑟 𝜌 ∂ 𝑝 + ( ∂𝑝 ) ∂𝜌 + 𝜌 ∂𝑝 = 𝜙𝜇𝑐𝜌 ∂𝑝
𝑟 { [ ] }
∂𝑟
2 ∂𝑟 ∂𝑝 ∂𝑟 0.006328𝑘 𝑑𝑡
Equation 4.53b

2 2
∂ 𝑝
Note that the term, ( ∂𝑝
∂𝑟 )
, is the first derivative squared and not the second derivative, ∂𝑟
2 . To complete
∂𝑝
the linearization process, we must assume the pressure gradient, ∂𝑟
, is small. If this is the case, then
∂𝑝 2
( ∂𝑟 ) is very small, and we can remove it from Equation 4.53b:

2
𝜌 ∂2 𝑝 ∂𝑝 𝜙𝜇𝑐𝜌 ∂𝑝
𝑟 + =
𝑟 [ ( ∂𝑟2 ) ∂𝑟 ] 0.006328𝑘 𝑑𝑡
Equation 4.54a

or,
2
∂ 𝑝 ∂𝑝 𝜙𝜇𝑐 ∂𝑝
+ 1𝑟 =
∂𝑟
2 ∂𝑟 0.006328𝑘 𝑑𝑡
Equation 4.54b

Which we can put into the compact format as:

1 ∂ (𝑟 ∂𝑝 ) = 𝜙𝜇𝑐 ∂𝑝
𝑟 ∂𝑟 ∂𝑟 0.006328𝑘 𝑑𝑡
Equation 4.55a

or,

1 ∂ (𝑟 ∂𝑝 ) = 1 ∂𝑝
𝑟 ∂𝑟 ∂𝑟 𝜂 𝑑𝑡
Equation 4.55b

Where:

0.006328 is an equation constant (5.615 x 0.001127)


𝑟 is the radial coordinate in a radial-cylindrical coordinate system, ft
𝑝 is the pressure, psi
𝜙 is the porosity of the reservoir, fraction
𝜇 is the liquid viscosity, cp
𝑐 is the liquid compressibility, 1/psi
𝑘 is the reservoir permeability, md
𝑡 is time, days
𝜂 is the hydraulic diffusive (𝜂 = 0.006328𝑘 2
𝜙𝜇𝑐 ), ft /day

Equation 4.55 is the linear form of the diffusivity equation that describes the transient flow of a slightly
compressible liquid through porous media. As we have already shown, solutions to this equation are
useful in pressure transient analysis. The solutions to the diffusivity equation also have applications in
the oil and gas production in:

Rate Transient Analysis (analysis of time-dependent production rates)


Type Curve Analysis (analysis of production rates using generalized, dimensionless plots)
Unsteady-State Aquifer Performance (performance of aquifers in contact with hydrocarbon
reservoirs)

The name Diffusivity Equation comes from the fact that this equation governs the diffusion process
(with appropriate changes to the equation parameters and variables to make it relevant for diffusion). In
addition, this equation also governs the process of heat conduction in solids, again, with appropriate
changes to the equation parameters and variables.

Source URL:https://www.e-education.psu.edu/png301/node/857

You might also like