PNG 301
Introduction to Petroleum and Natural Gas Engineering

4.4.2.2: Derivation of the Diffusivity Equation in Radial-Cylindrical Coordinates

PrintPrint

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:

Mass InMass Out=Mass Accumulation
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:

Mass In= ρq ] r +dr dt=5.615( ρq ] r + ( ρq ) r dr )dt
Equation 4.44

Mass Out=5.615( ρq ] r )dt
Equation 4.45

and,

Mass Accumulation=ϕ V b REV ρ=2πrdr ϕh ρ
Equation 4.46

Where:

  • 5.615 is a unit conversion constant, ft3/bbl
  • ρ is the liquid density, lb/ft3
  • q is the liquid rate, bbl/day
  • r is the radial coordinate in a radial-cylindrical coordinate system, ft
  • r' is the radius of the representative elemental volume, REV, ft
  • q is time, days
  • ϕ is the porosity of the reservoir, fraction
  • V b REV is the bulk volume of the representative elemental volume, REV, ft3
  • h is the reservoir thickness, ft
Circular diagram showing mass in (equation 4.39) and Mass out (equation 4.40))
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[ ( ρq ] r = ( ρq ) r dr ) ρq ] r ]dt=2πrdr ϕh ρ
Equation 4.47a


or,

5.615 ( ρq ) r dr dt=2πrdr ϕh ρ
Equation 4.47b


Dividing by the term 5.615 r  d r   d t results in:

1 r ( ρq ) r = 2π ϕh 5.615 ρ dt
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 r r [ 0.001127ρk( 2πrh ) μ p r ]= 2π ϕh 5.615 ρ dt
Equation 4.49


If we assume that the permeability, k, and the thickness, h, are uniform, then we have:

1 r r ( rρ p r )= ϕμ ( 5.615 )( 0.001127 )k ρ dt
Equation 4.50a


or,

1 r r ( rρ p r )= ϕμ 0.006328k ρ dt
Equation 4.50b


or, after applying the chain rule:

1 r r ( rρ p r )= ϕμ 0.006328k ρ dp p dt
Equation 4.50c


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

c= 1 ρ dρ dp
Equation 4.51


Substituting Equation 4.51 into results Equation 4.50c in:

1 r r ( rp p r )= ϕμcρ 0.006328k p dt
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:

1 r [ r( ρ 2 p r 2 + p r ρ r )+ρ p r ]= ϕμcρ 0.006328k p dt
Equation 4.53a


or,

1 r { r[ ρ 2 p r 2 + ( p r ) 2 ρ p ]+ρ p r }= ϕμcρ 0.006328k p dt
Equation 4.53b


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

ρ r [ r( 2 p r 2 )+ p r ]= ϕμcρ 0.006328k p dt
Equation 4.54a


or,

2 p r 2 + 1 r p r = ϕμc 0.006328k p dt
Equation 4.54b


Which we can put into the compact format as:

1 r r ( r p r )= ϕμc 0.006328k p dt
Equation 4.55a


or,

1 r r ( r p r )= 1 η p dt
Equation 4.55b


Where:

  • 0.006328 is an equation constant (5.615 x 0.001127)
  • r is the radial coordinate in a radial-cylindrical coordinate system, ft
  • p is the pressure, psi
  • ϕ is the porosity of the reservoir, fraction
  • μ is the liquid viscosity, cp
  • c is the liquid compressibility, 1/psi
  • k is the reservoir permeability, md
  • t is time, days
  • η is the hydraulic diffusive ( η= 0.006328k ϕμc ) , ft2/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.