Petroleum Knowledge Base

Gas Flow in Porous Media

Gas flow in rock pores still obeys Darcy's law, but gas density, viscosity, and compressibility factor all vary with pressure, so the flow equation is nonlinear. In engineering practice the equation is linearized in three forms, based on pressure squared, pressure, and pseudopressure, each valid over its own pressure range. This entry gives the rate equations for linear and radial steady-state flow and uses a unified example to compare the errors of the three forms and the differences between gas and liquid pressure distributions.

Concept

Gas flow in porous media refers to the flow of natural gas in the pores of a reservoir rock. It follows the same Darcy's law as liquid flow; the difference lies in the fluid itself. The density of a gas is determined by the real gas equation of state, ρ = Mp/(ZRT), and varies nearly in proportion to pressure; the isothermal compressibility is about 1/p, one or two orders of magnitude larger than that of oil and water, and it also varies with pressure; and gas viscosity and the compressibility factor Z are also functions of pressure. The premise of "slight compressibility with constant compressibility" used in deriving liquid flow does not hold for gas, so the diffusion equation for gas is nonlinear.

This leads to three engineering features:

  • What is conserved along the flow direction is the mass flow rate, not the subsurface volumetric flow rate. As the pressure drops, the gas expands, and the volumetric flow rate becomes larger closer to the bottomhole.
  • Under the same pressure difference, gas viscosity is low and the flow velocity is at least one order of magnitude higher than that of oil, so inertial resistance near the bottomhole often cannot be neglected; see Non-Darcy Flow.
  • At low pressure and low permeability, gas molecules slip along the pore walls, so the measured permeability is overestimated; see Klinkenberg Correction.

Calculation Methods

Linear flow: air permeability measurement on cores

As gas flows through a core, the volumetric flow rate increases continuously from inlet to outlet, so the permeability must be calculated using the volumetric flow rate at the average pressure (p1 + p2)/2. Converting this to the flow rate Q0 at atmospheric pressure for an isothermal process gives:

K = 2Q0p0μL / [A(p12 − p22)]

Pressure appears as a difference of squares, and the same holds for radial flow. For the use of air permeability, see Absolute Permeability.

Three linearizations of the equation

Pressure-squared form. Assuming μZ is constant, p in the radial diffusion equation can be replaced as a whole by p2, and the liquid solutions can be used directly. μ and Z are taken at the average pressure (pe + pwf)/2; when pwf is unknown, iteration is required.

Pressure form. Assuming p/(μZ) is constant, the equation reduces to the liquid form, and pressure can be used directly.

Pseudopressure form. The pseudopressure is defined as:

ψ(p) = 2∫p0p p/(μZ) dp

With ψ in place of p, the equation takes the same form as that for liquid; the variation of μ and Z with pressure is already contained in ψ, so the pressure range does not matter, and the method is more rigorous than the pressure-squared method. The reference pressure p0 is often taken as 0. From the definition, when μZ is approximately constant, Δψ ≈ Δ(p2)/(μZ), and when p/(μZ) is approximately constant, Δψ ≈ 2pΔp/(μZ); the other two forms are thus simplifications of the pseudopressure at the low- and high-pressure ends.

Rate of steady-state radial flow

For a gas well at the center of a circular formation with a constant-pressure boundary, integrating Darcy's radial equation from rw to re and converting to the surface rate at standard conditions (0.101325 MPa, 293.15 K) gives

q = KhΔψ / {0.012734T[ln(re/rw) + S]}
Pressure-squared form: replace Δψ with (pe2 − pwf2)/(μZ)

where q is in 10⁴ m³/d, K in μm², h and r in m, T in K, μ in mPa·s, pressure is absolute pressure in MPa, and Δψ is in MPa²/(mPa·s). For the pseudo-steady state in a closed formation, ln(re/rw) is replaced by ln(re/rw) − 3/4, which is the origin of the laminar flow coefficient A in the Gas Well Deliverability Equation; the inertial term is also treated there.

In steady flow, p2 is linear in ln r (with μZ constant):

p(r)2 = pwf2 + (pe2 − pwf2)·ln(r/rw)/ln(re/rw)

Worked Example

Given: The unified example from the Gas Well Deliverability Equation is used (assumed values): K = 0.005 μm², h = 10 m, T = 373.15 K, γg = 0.60, S = 2, rw = 0.108 m, re = 500 m, pe = 33.84 MPa; that entry takes μg = 0.027 mPa·s and Z = 1.03 as constants. The flowing bottomhole pressure is 25 MPa, and a decline from 10 MPa to 5 MPa is taken as a low-pressure comparison (both assumed).

Find: The pseudopressure difference computed rigorously and with the two simplifications, and their errors; the steady-state rate; and a comparison of gas and liquid pressure distributions.

Solution:

  1. Properties: the pseudocritical properties are obtained from the relative density. At 33.84 MPa, ppr = 7.310 and Tpr = 1.883; the Hall–Yarborough method gives Z = 1.011, and the Lee–Gonzalez method gives μg = 0.0235 mPa·s. μZ is 0.0140 at 5 MPa, 0.0214 at 29.42 MPa, and 0.0238 at 33.84 MPa; the higher the pressure, the faster it changes.
  2. Numerical integration gives Δψ = ψ(33.84) − ψ(25) = 24233 MPa²/(mPa·s).
  3. Pressure-squared form: taking μZ as 0.0214 at the average pressure of 29.42 MPa gives 24306, 0.3% too high; taking 0.0238 at formation pressure gives 21855, 9.8% too low. Pressure form: 2 × 33.84 × 8.84/0.0238 = 25138, 3.7% too high.
  4. Low-pressure comparison: Δψ = 5274; the pressure-squared form (μZ taken as 0.0142 at 7.5 MPa) gives 5282, a difference of 0.15%; the pressure form (taking 0.0145 at 10 MPa) gives 6897, about 31% too high. The error of the pressure form is very large in the low-pressure range.
  5. Rate: from the pseudopressure difference, q = 0.005 × 10 × 24233/[0.012734 × 373.15 × (ln(500/0.108) + 2)] ≈ 24.42×10⁴ m³/d. Using the pressure-squared form with the constant μZ = 0.027 × 1.03 of the original unified example gives 18.85×10⁴ m³/d. The two differ by about 30%, almost entirely because of the value taken for μZ (0.0278 versus 0.0214) and not because of the linearization method.
  6. Pressure distribution: for the gas well, the pressures at 1 m and 10 m from the well axis are 27.61 and 30.07 MPa; for a liquid under the same boundary conditions they are 27.33 and 29.74 MPa. Within 10 m, the gas well consumes 57.3% of the total pressure difference, versus 53.7% for the liquid; in addition, the subsurface volumetric flow rate at the wellbore wall is about 1.26 times that at the boundary.
Pseudopressure integrand and the two simplifications (γ_g 0.60, 373.15 K)
Figure 1 Pseudopressure integrand and the two simplifications (γ_g 0.60, 373.15 K)

In Figure 1, the solid curve in the low-pressure range is close to a straight line through the origin, meaning μZ is approximately constant; in the high-pressure range it flattens, meaning p/(μZ) is approximately constant.

Recommended Values

Method Applicable range Property values
Pressure-squared method Below 14 MPa; below 13.8 MPa μ and Z taken at the average pressure
Pressure method Above 14 MPa; above 20.7 MPa p/(μZ) taken at the initial formation pressure
Pseudopressure method Any pressure Numerical integration of μ(p) and Z(p)

The two sources differ on the lower limit for the pressure method: one says that above 14 MPa is sufficient, and the other requires above 20.7 MPa and accepts only the pseudopressure in between. In the example, the error of the pressure form is 3.7% between 25 and 33.84 MPa and reaches 31% between 5 and 10 MPa. When the pressure spans the 14–21 MPa interval, when the pressure difference is large, or when well test interpretation is to be done, the pseudopressure should be used directly.

Influencing Factors and Considerations

  1. Source of μZ. The rate and permeability are more sensitive to the value taken for μZ than to the linearization method (step 5 of the example). The properties should be calculated as a function of pressure from the PVT data or correlations for the gas sample of the well in question, rather than taking a single constant for the whole interval.
  2. Size of the pressure difference. When the pressure difference is small, the three forms give close results; when it is large, the average pressure cannot represent the whole interval and the error of the pressure-squared method increases.
  3. Water content and stress sensitivity. As the water saturation of a gas layer rises, the effective flow channels for gas shrink, and water-bearing core samples show stronger stress sensitivity; stress sensitivity caused by an excessive production pressure difference reduces the near-wellbore permeability; see Stress Sensitivity.
  4. Non-Darcy flow and slippage. For high-rate gas wells, an inertial term must be included in addition to the Darcy term; for low-pressure, tight cores, a slippage correction must be made. The two effects act on different things: the inertial term makes the actual rate lower than the calculated value given by the Darcy equation, whereas slippage makes the air permeability higher than the liquid permeability, and without correction the formation permeability would be overestimated.
  5. Transient flow. In well test interpretation, the pressure-squared, pseudopressure, and pressure formulations have the same ranges as in the table above; see Gas Well Testing.

References

  1. Li Kexiang. Drilling and Completion Technology for Oil and Gas Reservoir Protection (in Chinese). Petroleum Industry Press, 1993.
  2. Wan Renpu. Modern Well Completion Engineering (3rd Edition) (in Chinese). Petroleum Industry Press, 2008.