Petroleum Knowledge Base

Well Model in Simulation

The well model links the grid block pressure, the flowing bottomhole pressure and the well rate: q = J(p_block − pwf), where J is determined by the equivalent wellblock radius req. Peaceman showed that the block pressure of a square wellblock equals the steady-state pressure at a distance req ≈ 0.2Δx from the well, not the average pressure of the wellblock; req varies with grid size, so the well index must be calculated together with the grid.

Concept

Reservoir numerical simulation treats a well as a point source or point sink in the grid block that contains it: the difference equation acquires an additional rate term, and the treatment of the well is really a question of how to write this rate term. The difficulty lies in scale: the wellbore radius is only about 0.1 m, while a grid block is tens to hundreds of meters across, so the flowing bottomhole pressure differs greatly from the pressure at the grid block node. To calculate the well rate from the grid block pressure, or to work backward from a given rate to the flowing bottomhole pressure, the point sink must be "restored" to a real well of finite radius, and one equation is used to link the three quantities. This equation, together with its parameters, is called the well model.

From the standpoint of the boundary value problem, the well wall is an inner boundary: specifying the flowing bottomhole pressure is equivalent to a boundary condition of the first kind (Dirichlet), and specifying the production or injection rate is equivalent to a boundary condition of the second kind (Neumann). In actual production, what is specified is often the rate of one phase or the sum of several phases, for example only the oil rate, or the liquid rate, and the rates of the remaining phases must be allocated by the model itself.

The basic assumption of the well model is that the flow near the well is steady-state or pseudosteady-state radial flow. Under this premise the rate is proportional to the pressure difference, and the proportionality coefficient (the well index, or productivity index) is determined by the wellblock size, permeability, thickness, wellbore radius and skin factor.

Calculation Methods

Rate Equation

Taking the wellblock pressure pblock as the reference, the rate of a single-phase well is written as (positive for production, negative for injection):

q = Jw(pblock − pwf)
Jw = Gw/(μB), Gw = 2πKHh / [ln(req/rw) + S]

where Gw is a geometric factor that depends only on the wellbore geometry and the wellblock properties; KH is the horizontal permeability, h is the wellblock thickness, rw is the wellbore radius, S is the skin factor, and req is the equivalent wellblock radius. With the units used in this entry (K in μm², h and r in m, p in MPa, μ in mPa·s, q in m³/d at surface conditions), Jw = 86.4Gw/(μB), where the coefficient 86.4 comes from conversion from SI units. In the difference equation it is written as −q, consistent with the convention of the other entries in this category.

In reservoir engineering, an expression of the same form uses the average pressure of the drainage area, and its denominator is ln(re/rw) + S − F, with F equal to 1/2 for steady state and 3/4 for pseudosteady state. In simulation, however, the grid block pressure is used, which is not equal to the average pressure within the wellblock, so both req and F must be redetermined; this is exactly the problem the well model has to solve.

Equivalent Wellblock Radius

Peaceman model. Take an isotropic, uniform square grid, with the well in the central block and the pressures of the four adjacent blocks equal. Setting the flow rate between the wellblock and an adjacent block calculated by the difference scheme equal to the flow rate calculated by the radial flow formula, one finds that the wellblock pressure is exactly the steady-state pressure at a distance req from the well, where

req = e−π/2Δx ≈ 0.208Δx

When the five-point difference well pattern is solved numerically, the result is generally written as:

req = 0.28 [(Ky/Kx)1/2Δx² + (Kx/Ky)1/2Δy²]1/2 / [(Ky/Kx)1/4 + (Kx/Ky)1/4]

Here KH is taken as the geometric mean (KxKy)1/2. For the isotropic case the expression above reduces to req = 0.14(Δx² + Δy²)1/2; for a square grid this is 0.14√2·Δx = 0.198Δx, which is often rounded and written as 0.2Δx. The values 0.198 and 0.208 differ by about 5%, and after substitution into the logarithm the effect on the well index is less than 1%.

Model of van Poollen et al. req is taken as the radius of the circle whose area equals that of the wellblock, req = (ΔxΔy/π)1/2, which is 0.5642Δx for a square block, and the wellblock pressure is treated as the average pressure within this circle, with the denominator taken as ln(req/rw) + S − 1/2. This model is no longer used, but it helps in understanding what req means: it is not the "drainage radius" of the well, but the "radius corresponding to the block pressure".

The Abou-Kassem and Aziz model extends req to wells not at the grid center, to wellblocks near the reservoir boundary (handled with image wells), and to the nine-point difference scheme, and is applicable to square or rectangular wellblocks with an aspect ratio Δy/Δx between 1/2 and 2.

Multilayer Wells and Time Levels

When a well penetrates several simulation layers, each perforated wellblock k has its own Jw,k (the KH, h, S and req of each layer differ), and the layer rates are summed to give the rate of the whole well; the flowing bottomhole pressure also differs from layer to layer, by the pressure drop within the wellbore. When a given production rate is specified for the whole well, it is allocated among the layers according to Jw,k(pk − pwf,k).

In multiphase flow, the rate of each phase is multiplied by the ratio of relative permeability to viscosity (the phase mobility), and because relative permeability varies sharply with saturation, the nonlinearity of the rate term is much stronger than in single-phase flow. There are several ways to choose the time level at which the rate term coefficients are evaluated: explicit, simple iteration, linearized implicit, semi-implicit and fully implicit. Explicit treatment takes coefficients such as relative permeability and viscosity at the values of the previous time step, leaving the unknowns of the equation system unchanged. Another class is the implicit bottomhole pressure method: the flowing bottomhole pressure is made a new unknown and solved simultaneously with the grid equations; it is more complicated, but its numerical stability is better and the time step can be enlarged. For the trade-offs among time schemes, see Implicit Pressure Explicit Saturation Method and Fully Implicit Method.

Worked Example

Given: Continuing the unified example of this category, K = 0.1 μm² and μo = 2 mPa·s. The well model requires an areal grid, so it is assumed that the grid of the unified example is regarded as a square grid in plan with Δx = Δy = 200 m, with the well at the grid center and adjacent grid blocks all around; it is further assumed that the thickness h = 10 m, wellbore radius rw = 0.1 m, skin factor S = 0, Bo = 1.2, and that at some moment the wellblock pressure is 19 MPa and the flowing bottomhole pressure is 17 MPa (above the bubble point pressure of 15 MPa, so the wellblock is still single-phase). These assumed values are used only to demonstrate the calculation.

Find: the equivalent wellblock radius req, the well index Jw and the rate q; and the flowing bottomhole pressure at a fixed rate of 60 m³/d.

Solution:

  1. Equivalent wellblock radius (isotropic square grid):
req = 0.14 × (200² + 200²)1/2 = 39.60 m

From the theoretical value e−π/2Δx it is 41.58 m; from the area equivalence of van Poollen et al. it is 112.84 m.

  1. Geometric factor and well index:
ln(req/rw) = ln(39.60/0.1) = 5.981
Gw = 2π × 0.1 × 10 / 5.981 = 1.050 μm²·m
Jw = 86.4 × 1.050 / (2 × 1.2) = 37.82 m³/(d·MPa)
  1. Rate at a fixed flowing bottomhole pressure:
q = 37.82 × (19 − 17) = 75.64 m³/d (surface)
  1. Flowing bottomhole pressure at a fixed rate of 60 m³/d:
pwf = 19 − 60/37.82 = 17.41 MPa

Comparison: how much the result differs with the choice of req. Under the same set of conditions:

Approach req (m) Denominator Jw (m³/(d·MPa)) Ratio to Peaceman
Peaceman, 0.14(Δx² + Δy²)1/2 39.60 ln + S 37.82 1
van Poollen et al., area equivalence 112.84 ln + S − 1/2 34.65 0.92
Mistakenly taking req as the grid spacing Δx 200 ln + S 29.76 0.79

The last approach treats the block pressure as the pressure at a distance Δx from the well; according to Figure 1, that is actually the pressure at the center of the adjacent grid block (19.54 MPa), which is higher than the wellblock pressure, and using it to match the block pressure underestimates the well index by about one fifth.

The pressure curve in Fig. 1 is drawn from the radial-flow relation p(r) = pwf + q/J(r), with J(r) carrying no −1/2 correction; at the van Poollen area-equivalent radius of 112.84 m, the curve gives 19.35 MPa, a different convention from the van Poollen row of the table above, whose denominator is ln + S − 1/2.

Steady-state pressure distribution around the well: the wellblock pressure of 19 MPa falls at a distance of 39.60 m from the well (unified example; thickness, wellbore radius, formation volume factor and pressures are all assumed values)
Figure 1 Steady-state pressure distribution around the well: the wellblock pressure of 19 MPa falls at a distance of 39.60 m from the well (unified example; thickness, wellbore radius, formation volume factor and pressures are all assumed values)

Several variations (other conditions unchanged):

  • Skin factor S = 2: Jw drops to 28.34 m³/(d·MPa), which is 75% of its value at S = 0.
  • Grid refined to Δx = Δy = 20 m: req = 3.96 m and Jw = 61.49 m³/(d·MPa). The wellblock is smaller, so the block pressure is closer to the well and lower, and the pressure difference corresponding to the same rate becomes smaller; hence the well index becomes larger. The well index must match the grid, and must be recalculated when the grid is changed.
  • Rectangular wellblock 200 m × 100 m: req = 31.30 m.
  • Areal anisotropy Kx = 0.1 μm², Ky = 0.025 μm² (assumed): req = 41.74 m, KH = (0.1 × 0.025)1/2 = 0.05 μm², and Jw = 18.74 m³/(d·MPa).

Recommended Values

Case How to take req Premise
Square wellblock, isotropic 0.2Δx (0.198Δx; theoretical value 0.208Δx) Well at block center, five-point scheme, adjacent blocks all around
Rectangular wellblock, isotropic 0.14(Δx² + Δy²)1/2 Same as above
Rectangular wellblock, areal anisotropy The 0.28 expression, with KH taken as (KxKy)1/2 Same as above, with the principal permeability directions aligned with the grid directions
Well off center, wellblock at a boundary, or nine-point scheme Abou-Kassem and Aziz expression Δy/Δx between 1/2 and 2
  • Although req is derived under steady-state, incompressible conditions, for compressible unsteady-state flow the result remains valid as long as the pressure wave has passed through the wellblock and its adjacent blocks.
  • When laying out the grid, place the wells at suitable positions: with a block-centered grid, place the well at the center of the block; with a point-distributed grid, let the main grid lines intersect at the well location. Leave one or two grid blocks between two wells so that the pressure interference between the wells can be simulated.
  • When several wells lie in the same grid block and the grid cannot be refined further, they can be merged into one total source and sink term; the closer the production performance and history of the individual wells, the smaller the merging error.

Influencing Factors and Considerations

  1. Block pressure is not the average pressure. The wellblock pressure output by the simulation must be used together with req; comparing it directly with the average formation pressure or static pressure from well test interpretation, or substituting it into a productivity formula based on average pressure (with −1/2 or −3/4), will cause systematic bias.
  2. Grid size. Jw varies with Δx (in this example 37.82 at 200 m and 61.49 at 20 m); when a well index is borrowed from another model or from a measured productivity index, it must first be converted to the grid of the present model.
  3. Skin factor and wellbore radius. Both lie in the logarithmic term, and S has a much greater effect than rw: in this example, changing S from 0 to 2 reduces Jw by 25%; changing rw from 0.1 m to 0.15 m reduces the ln term by only 0.41 and increases Jw by about 7%. When the pressure of a single well cannot be matched during history matching, the skin factor and the permeability near the well are the first parameters to adjust, see History Matching.
  4. Anisotropy. Using Kx alone in place of KH overestimates the well index; in this example with Ky/Kx = 1/4, Jw is only half of the isotropic value. The grid directions must be aligned with the principal permeability directions for the 0.28 expression to apply.
  5. Applicable range. The req expressions above all apply to vertical wells in plan view, with the well near the block center and the grid roughly uniform. For a well near a boundary, a very large grid aspect ratio, local refinement near the well, or horizontal wells, the corresponding extended expressions or numerical well models must be used. In a one-dimensional linear model a wellblock has only two adjacent blocks, so the derivation conditions do not hold, which is why this example uses a square areal grid for demonstration.
  6. Multiphase flow. The phase mobility in the rate term varies sharply with saturation, and after water or gas breakthrough, explicit treatment easily causes rate oscillation; for production wells whose water cut rises quickly or whose gas-oil ratio is high, implicit bottomhole pressure or fully implicit treatment is advisable, together with control of the time step.
  7. Commingled multilayer production. The Jw,k and layer pressure differ from layer to layer, and when the rate of the whole well is fixed, the layer-by-layer rates vary with the flowing bottomhole pressure and the pressure differences between layers; when the interlayer pressure difference is large, backflow may occur. For matching layer rates against the liquid production profile and water injection profile, see History Matching.

References

  1. Han Dakuang; Chen Qinlei; Yan Cunzhang. Fundamentals of Reservoir Numerical Simulation (in Chinese). Petroleum Industry Press, 1993.
  2. Zhang Liehui. Fundamentals of Oil and Gas Reservoir Numerical Simulation (in Chinese). Petroleum Industry Press, 2005.