Skip to content
Brent$117.6Gas TTF$1,192USD453.87 ₸
MunaiHub

Equations: Reservoir simulation

The equations of the “Reservoir simulation” lessons with their conditions and units, and what each symbol means in this discipline.

Depletion of a closed “tank” at constant bottomhole pressure
ctVp  dp dt=−J (p−pwf)⇒p(t)=pwf+(pi−pwf) e−t/τ,τ=ctVpJc_t V_p\,\frac{\dd p}{\dd t} = -J\,(p - p_{wf})\quad\Rightarrow\quad p(t) = p_{wf} + (p_i - p_{wf})\,\e^{-t/\tau},\qquad \tau = \frac{c_t V_p}{J}

metric oilfield units: MPa, m³, d (any consistent system will do)

Holds when: The pressure is the same everywhere in the volume: a pressure change caused by the well spreads instantly (this is what makes it a “tank”). The flow is single-phase (one fluid only): the pressure is above the bubble point pressure and no gas comes out of the oil. ctc_t and JJ are constant, and there is no inflow from beyond the boundary. The rate at reservoir conditions (volumes measured at the pressure and temperature of the reservoir) is proportional to the drawdown p−pwfp - p_{wf}, the pressure difference between the tank and the well.

What a reservoir simulation model is and why it is needed →
Explicit time step for the “tank”
pn+1=pn−Δtτ (pn−pwf)p^{n+1} = p^{n} - \frac{\Delta t}{\tau}\,(p^{n} - p_{wf})

any consistent units (Δt\Delta t and τ\tau in the same units of time)

Holds when: The derivative is replaced by a difference. The rate over the whole step is taken from the pressure at the start of the step (an explicit scheme). The formula becomes the exact solution only in the limit Δt→0\Delta t \to 0 (a step that shrinks to nothing).

What a reservoir simulation model is and why it is needed →
Fluid balance in a cell over a time step
min+1−minΔt=∑jFji−Wi\frac{m_i^{n+1} - m_i^{n}}{\Delta t} = \sum_{j} F_{ji} - W_i

any consistent units

Holds when: Within a cell the pressure, saturations and properties are uniform. We write the balance separately for each component: oil, gas (free gas and gas dissolved in the oil) and water. We calculate the flows and withdrawals from the pressures and saturations of the new step (an implicit scheme) or of the start of the step (an explicit one).

What a reservoir simulation model is and why it is needed →
Flow between neighbouring cells (single-phase, by Darcy's law)
qij=Tijμ (pj−pi),Tij=AΔxi2ki+Δxj2kjq_{ij} = \frac{T_{ij}}{\mu}\,(p_j - p_i),\qquad T_{ij} = \frac{A}{\dfrac{\Delta x_i}{2k_i} + \dfrac{\Delta x_j}{2k_j}}

SI

Holds when: The flow is single-phase and horizontal. In an inclined reservoir we add the weight of the fluid column to the pressure difference. The cells are rectangular and their centres lie on a line perpendicular to the common face. With several phases, we multiply the rate of each phase by its relative permeability, usually taken in the cell the flow comes from.

What a reservoir simulation model is and why it is needed →
Implicit time step for the “tank”
pn+1=pn−Δtτ (pn+1−pwf)⇒pn+1=pn+(Δt/τ) pwf1+Δt/τp^{n+1} = p^{n} - \frac{\Delta t}{\tau}\,(p^{n+1} - p_{wf})\quad\Rightarrow\quad p^{n+1} = \frac{p^{n} + (\Delta t/\tau)\,p_{wf}}{1 + \Delta t/\tau}

any consistent units

Holds when: We calculate the rate over the step from the pressure at the end of the step (an implicit scheme). The model is linear. In a real simulator the equations are nonlinear, and at each step we solve them by iterations.

What a reservoir simulation model is and why it is needed →
Amounts of oil, water and gas in a cell of a black oil model
No=VpSoBo,Nw=VpSwBw,G=Vp(SgBg+Rs SoBo)N_o = \frac{V_p S_o}{B_o}, \qquad N_w = \frac{V_p S_w}{B_w}, \qquad G = V_p\left(\frac{S_g}{B_g} + \frac{R_s\,S_o}{B_o}\right)

metric; standard conditions are the ones that the property tables refer to

Holds when: The composition of the “oil” and the “gas” does not change. Their properties depend on pressure alone, and the reservoir temperature is constant. Gas dissolves in oil, but oil does not dissolve in gas. The extended model adds the content of liquid hydrocarbons in the gas. We neglect the gas dissolved in water. If necessary, we add the same kind of term for water. We get the mass of a component by multiplying by its density at standard conditions.

Types of reservoir simulation model →
Mass of a component in a cell of a compositional model
mi=Vp∑jSj Cijm_i = V_p \sum_{j} S_j\,C_{ij}

SI; instead of mass we often calculate the number of moles — then the concentrations are molar

Holds when: The phases in a cell are in equilibrium: the composition of each follows from the overall composition, the pressure and the temperature. We sum over all the phases in which the component is present. We usually neglect hydrocarbon components in the water.

Types of reservoir simulation model →
Dependence of oil viscosity on temperature (the Andrade equation)
μ(T)=A eB/T\mu(T) = A\,\e^{B/T}

viscosity in the units of the constant AA; temperature in kelvin only

Holds when: It is an empirical relationship (fitted to measurements): we choose the constants to match the measured viscosity of this oil at two temperatures at least. The oil is degassed (it has lost its gas), or its solution gas–oil ratio does not change. Pressure affects viscosity much less than temperature does. Over a wide range of temperatures, the straight line on a plot of ln⁡μ\ln\mu against 1/T1/T bends. So for heavy oils we use more accurate relationships, and we enter a table of laboratory values into the model.

Types of reservoir simulation model →
Flow between the matrix and the fractures (single-phase)
qmf=σ Vb kmμ (pm−pf),σ=4(1Lx2+1Ly2+1Lz2)q_{mf} = \sigma\,V_b\,\frac{k_m}{\mu}\,(p_m - p_f), \qquad \sigma = 4\left(\frac{1}{L_x^2} + \frac{1}{L_y^2} + \frac{1}{L_z^2}\right)

SI

Holds when: All the matrix blocks in a cell are identical, and a single average value describes the pressure inside a block. The expression given for σ\sigma is one of the common ones. Other derivations give other numerical factors, and in history matching we often adjust it. With several phases, we multiply the rate of each phase by its relative permeability and add capillary and gravity forces. These forces decide the exchange in displacement.

Types of reservoir simulation model →
Pore volume of a cell
Vp=Δx Δy Δz⋅NTG⋅ϕV_p = \Delta x\,\Delta y\,\Delta z\cdot\mathrm{NTG}\cdot\phi

any consistent units (m and m³)

Holds when: The cell is rectangular. For corner-point geometry, the simulator calculates the cell volume from the coordinates of the eight corners. The porosity refers to the conditions at which the reference pressure of the pore compressibility (see below) is set.

Building a simulation model: input data and results →
Density of oil in the reservoir from the model data
ρo=ρo,sc+Rs ρg,scBo\rho_o = \frac{\rho_{o,\text{sc}} + R_s\,\rho_{g,\text{sc}}}{B_o}

kg/m³; the density of water in the reservoir is ρw,sc/Bw\rho_{w,\text{sc}}/B_w

Holds when: Mass is conserved: 1 m³ of stock-tank oil together with the gas dissolved in it occupies BoB_o m³ in the reservoir (reservoir oil density). If the oil is described by a table without a solution gas–oil ratio, the simulator calculates ρo=ρo,sc/Bo\rho_o = \rho_{o,\text{sc}}/B_o, without the mass of the dissolved gas.

Building a simulation model: input data and results →
Pore volume at the pressure in the cell
Vp(p)=Vp(pref)(1+x+x22),x=cf (p−pref)V_p(p) = V_p(p_{\text{ref}})\left(1 + x + \frac{x^2}{2}\right),\qquad x = c_f\,(p - p_{\text{ref}})

any consistent units: cfc_f and the pressures in the same units

Holds when: 1+x+x2/21 + x + x^2/2 are the first terms of the series for exe^{x}. For ∣x∣=0.05|x| = 0.05 the difference from the exponential is about 0.002%. The compressibility is constant. If the change of permeability with pressure matters, we give it in separate tables.

Building a simulation model: input data and results →
Phase pressures and capillary pressure in equilibrium
po(z)=pref+ρog (z−zref),pc(z)=(ρw−ρo) g (zFWL−z)p_o(z) = p_{\text{ref}} + \rho_o g\,(z - z_{\text{ref}}),\qquad p_c(z) = (\rho_w - \rho_o)\,g\,(z_{\text{FWL}} - z)

metric: MPa, m, g/cm³ (the pressure in the deck is in bars)

Holds when: The fluids are at rest, and both phases are continuous over the whole height. Depths are vertical, positive downwards. The densities here are constant. The simulator adds up (integrates) the pressure with depth using a density that depends on pressure. For a reservoir tens of metres thick the difference is negligible. Above the FWL pc>0p_c > 0. If pcp_c is less than the entry pressure of the rock, the cell is fully water-saturated.

Building a simulation model: input data and results →
Misfit function of history matching
M=1N∑k=1Nwk(dkmeas−dkcalcσk)2M = \frac{1}{N}\sum_{k=1}^{N} w_k\left(\frac{d_k^{\text{meas}} - d_k^{\text{calc}}}{\sigma_k}\right)^{2}

dimensionless: each discrepancy is divided by the error in the same units

Holds when: The measurement errors are independent and random. We must estimate the errors σk\sigma_k honestly, because what counts as a good match depends on them. The engineer chooses the weights, and the result depends on them. The misfit function puts judgement into a formula, but it does not replace judgement.

History matching →
Misfit function with a prior term
S(m)=∑k(dkmeas−dkcalc(m)σk)2+∑j(mj−mjpriorsj)2S(\mathbf{m}) = \sum_{k}\left(\frac{d_k^{\text{meas}} - d_k^{\text{calc}}(\mathbf{m})}{\sigma_k}\right)^{2} + \sum_{j}\left(\frac{m_j - m_j^{\text{prior}}}{s_j}\right)^{2}

dimensionless

Holds when: The errors of the measurements and of the prior estimates are independent and normally distributed (they follow the usual bell-shaped curve). Then the minimum of SS corresponds to the most probable set of parameters. We obtained the prior estimates independently of the history. Otherwise we would count the same information twice.

History matching →
Incremental production and acceleration from an intervention
ΔQ=Qwith−Qwithout,Qacc=Qwell−ΔQ\Delta Q = Q_{\text{with}} - Q_{\text{without}},\qquad Q_{\text{acc}} = Q_{\text{well}} - \Delta Q

any identical units of oil volume at standard conditions

Holds when: Both runs use the same model and the same operating regimes of the other wells, apart from the changes that the intervention itself causes. The period of comparison is the same for both runs and long enough for the acceleration to cancel out: over a short period, part of the acceleration looks like an increment.

Reservoir simulation in practice: case studies →
Oil rate with a limit on gas-handling capacity
qo=min⁡(qpot, QgR)q_o = \min\left(q_{\text{pot}},\ \frac{Q_g}{R}\right)

gas and oil at standard conditions

Holds when: All the produced gas passes through the limited capacity; gas used for the field's own needs and gas sold are accounted for in QgQ_g. The forecast gives the gas–oil ratio. When withdrawal is restricted, the gas approaches the wells more slowly, so in a model run with a gas limit on the group the gas–oil ratio rises later.

Reservoir simulation in practice: case studies →
Logarithmically spaced radial grid
ri=rw αi,α=(rerw)1/N,i=0,1,…,Nr_i = r_w\,\alpha^{i}, \qquad \alpha = \left(\frac{r_e}{r_w}\right)^{1/N}, \qquad i = 0, 1, \dots, N

any identical units of length

Holds when: A vertical well at the centre of the model, with axial symmetry. The calculation point of a ring is often placed at its “logarithmic midpoint”, at the radius ri−1ri\sqrt{r_{i-1} r_i}. The rules differ slightly between simulators.

Grids in reservoir simulation models →
Outlet concentration of a chain of N well-mixed cells
cN(WiD)=1−e−NWiD∑k=0N−1(NWiD)kk!c_N(W_{iD}) = 1 - \e^{-N W_{iD}} \sum_{k=0}^{N-1} \frac{(N W_{iD})^k}{k!}

dimensionless

Holds when: One-dimensional flow, cells of equal size, constant porosity and Darcy velocity. A tracer or a miscible agent of the same viscosity is transported, so the flow does not depend on the concentration. Upstream weighting, with a time step much smaller than the time to cross a cell. An implicit scheme with a large step smears the front even more. There is no physical dispersion: the exact solution is a step at WiD=1W_{iD} = 1.

Grids in reservoir simulation models →
Extrapolation of the result to an infinitely fine grid
R∞≈R2N+R2N−RN2p−1,p=log⁡2RN−RN/2R2N−RNR_\infty \approx R_{2N} + \frac{R_{2N} - R_N}{2^{p} - 1}, \qquad p = \log_2\frac{R_N - R_{N/2}}{R_{2N} - R_N}

in the units of the result

Holds when: The grid is refined by a factor of two each time, with nothing else changed. The result changes monotonically (in one direction only), and the error already falls as hph^{p}, where hh is the cell size. We need at least three grids to check this. For p=1p = 1 this is a linear extrapolation in 1/N1/N: R∞≈2R2N−RNR_\infty \approx 2R_{2N} - R_N.

Grids in reservoir simulation models →
Numerical diffusion coefficient of the upstream scheme
Dnum=v Δx2 (1±C),C=v ΔtΔxD_{num} = \frac{v\,\Delta x}{2}\,(1 \pm C), \qquad C = \frac{v\,\Delta t}{\Delta x}

SI (any consistent system)

Holds when: Linear transport of a tracer on a uniform one-dimensional grid. The minus sign is for an explicit scheme in time (stable only for C≤1C \le 1), and the plus sign for an implicit one (stable for any step). In the limit of a very small step, Dnum=vΔx/2D_{num} = v\Delta x/2. The mixing-cells formula corresponds to this limit.

Grids in reservoir simulation models →
Flow of a phase through the common face of two cells
Fα=0.0853 Tij λα↑(Φα,j−Φα,i),λα=krαμαBα,Φα=pα−γαDF_{\alpha} = 0.0853\,T_{ij}\,\lambda_{\alpha\uparrow}\left(\Phi_{\alpha,j} - \Phi_{\alpha,i}\right),\qquad \lambda_\alpha = \frac{k_{r\alpha}}{\mu_\alpha B_\alpha},\qquad \Phi_\alpha = p_\alpha - \gamma_\alpha D

metric oilfield units: kk in mD (as part of TijT_{ij}), lengths in m, μ\mu in mPa·s, pressures in MPa

Holds when: Darcy's law applies between the cell centres: the flow through a face depends only on the potential difference of these two cells (the two-point formula; its limits are in the last section). The properties inside each cell are uniform. The water pressure in a cell is pw=po−pc(Sw)p_w = p_o - p_c(S_w), so the capillary pressure enters the potential difference of the water.

Interblock flow and transmissibility →
Transmissibility of the connection between two cells
Tij=(1ti+1tj)−1=AΔxi2ki+Δxj2kj,kˉ=Δxi+ΔxjΔxi/ki+Δxj/kjT_{ij} = \left(\frac{1}{t_i} + \frac{1}{t_j}\right)^{-1} = \frac{A}{\dfrac{\Delta x_i}{2k_i} + \dfrac{\Delta x_j}{2k_j}},\qquad \bar k = \frac{\Delta x_i + \Delta x_j}{\Delta x_i/k_i + \Delta x_j/k_j}

any consistent units; in this lesson kk is in mD, AA in m² and lengths in m, so TT is in mD·m

Holds when: The same as for the half-cells. If the cross-sections of the halves differ (a one-dimensional model of a formation of variable thickness or width), each of tit_i and tjt_j gets its own cross-section. For equal cells kˉ\bar k is the simple harmonic mean 2kikj/(ki+kj)2k_ik_j/(k_i + k_j).

Interblock flow and transmissibility →
Pressure at the common face
pf=ti pi+tj pjti+tjp_f = \frac{t_i\,p_i + t_j\,p_j}{t_i + t_j}

any consistent units

Holds when: Single-phase flow. The pressure changes linearly inside each half.

Interblock flow and transmissibility →
Vertical and horizontal transmissibility of equal cells
TzTx=kvkh(ΔxΔz)2\frac{T_z}{T_x} = \frac{k_v}{k_h}\left(\frac{\Delta x}{\Delta z}\right)^2

dimensionless

Holds when: Equal, uniform neighbouring cells with Δx=Δy\Delta x = \Delta y. The net-to-gross ratio is one.

Interblock flow and transmissibility →
Transmissibility between the rings of a radial grid
ti=θ h kiln⁡(rf/ri),ti+1=θ h ki+1ln⁡(ri+1/rf),T=(1ti+1ti+1)−1t_i = \frac{\theta\,h\,k_i}{\ln(r_f/r_i)},\qquad t_{i+1} = \frac{\theta\,h\,k_{i+1}}{\ln(r_{i+1}/r_f)},\qquad T = \left(\frac{1}{t_i} + \frac{1}{t_{i+1}}\right)^{-1}

kk in mD and lengths in m, so TT is in mD·m (natural logarithm)

Holds when: Inside each half-ring the flow is steady radial flow in uniform rock. If the rings have the same permeability, T=θhk/ln⁡(ri+1/ri)T = \theta h k/\ln(r_{i+1}/r_i), and the position of the boundary rfr_f does not matter.

Interblock flow and transmissibility →
Transmissibility of half of a skewed cell
ti=ki A⋅cici⋅cit_i = k_i\,\frac{\mathbf{A}\cdot\mathbf{c}_i}{\mathbf{c}_i\cdot\mathbf{c}_i}

kk in mD and lengths in m, so tt is in mD·m

Holds when: The two-point formula: the flow follows from the pressures of two cells only. The net-to-gross ratio and the transmissibility multipliers enter as extra factors.

Interblock flow and transmissibility →
Fault transmissibility multiplier for cells of different sizes
F=diki+djkjdiki+djkj+lfkfF = \frac{\dfrac{d_i}{k_i} + \dfrac{d_j}{k_j}}{\dfrac{d_i}{k_i} + \dfrac{d_j}{k_j} + \dfrac{l_f}{k_f}}

dimensionless; all lengths in one unit and all permeabilities in one unit

Holds when: The fault zone is thin compared with the cells. Single-phase flow across the fault. For equal cells the formula turns into the multiplier of the lesson on partially communicating faults.

Interblock flow and transmissibility →
Mobility of a phase at the face (upstream weighting)
λα↑={λα(Sj, pj),Φα,j≥Φα,iλα(Si, pi),Φα,j<Φα,i\lambda_{\alpha\uparrow} = \begin{cases} \lambda_\alpha(S_j,\ p_j), & \Phi_{\alpha,j} \ge \Phi_{\alpha,i}\\ \lambda_\alpha(S_i,\ p_i), & \Phi_{\alpha,j} < \Phi_{\alpha,i}\end{cases}

as in the flow formula

Holds when: The direction is found for each phase separately, from the difference of its own potentials. With gravity and capillary pressure, the phases can flow in opposite directions through one face. The viscosity and the formation volume factor change little from cell to cell. We take them together with the relative permeability from the upstream cell, or as averages of the two cells. This hardly affects the result. The specific weight of the phase in the potential difference is taken as the average of the two cells, if the phase is present in both.

Interblock flow and transmissibility →
Permeability tensor in the grid axes for rotated principal axes
kxx=k1cos⁡2θ+k2sin⁡2θ,kyy=k1sin⁡2θ+k2cos⁡2θ,kxy=(k1−k2)sin⁡θcos⁡θk_{xx} = k_1\cos^2\theta + k_2\sin^2\theta,\qquad k_{yy} = k_1\sin^2\theta + k_2\cos^2\theta,\qquad k_{xy} = (k_1 - k_2)\sin\theta\cos\theta

mD

Holds when: A two-dimensional problem. Darcy's law u=−(K/μ)∇p\mathbf{u} = -(\mathbf{K}/\mu)\nabla p with a symmetric tensor.

Interblock flow and transmissibility →
Well model: rate, cell pressure and bottomhole pressure
qs=0.0853 WI (p0−pwf)μB,WI=2πkhln⁡(r0/rw)+Sq_s = \frac{0.0853\,\mathrm{WI}\,(p_0 - p_{wf})}{\mu B},\qquad \mathrm{WI} = \frac{2\pi kh}{\ln(r_0/r_w) + S}

metric oilfield units; natural logarithm

Holds when: A vertical well at the centre of the cell opens its whole thickness. Single-phase inflow. Near the well the flow is close to steady-state radial flow (at distances of the order of the cell size). r0r_0 is calculated with a formula that suits the grid (see below). Neighbouring wells and the boundaries of the model are several cells away.

Well model in a grid block →
Equivalent radius of a cell in an isotropic formation (Peaceman's formula)
r0=0.14 Δx2+Δy2(Δx=Δy:  r0=0.198 Δx)r_0 = 0.14\,\sqrt{\Delta x^2 + \Delta y^2}\qquad (\Delta x = \Delta y:\ \ r_0 = 0.198\,\Delta x)

any units of length (the same for all)

Holds when: Isotropic formation (permeability the same in all directions). Vertical well at the centre of the cell. Five-point scheme on a Cartesian grid. Other wells and the boundaries of the model are several cells away. Neighbouring cells have the same size. The ratio of the sides of the cell hardly affects the accuracy: on a uniform grid the formula is also right for strongly elongated cells (it differs from the exact solution by about 0.3%).

Well model in a grid block →
Equivalent radius and well index in an anisotropic formation
r0=0.28 [(ky/kx)1/2 Δx2+(kx/ky)1/2 Δy2]1/2(ky/kx)1/4+(kx/ky)1/4,WI=2πkxky hln⁡(r0/rw)+Sr_0 = 0.28\,\frac{\left[(k_y/k_x)^{1/2}\,\Delta x^2 + (k_x/k_y)^{1/2}\,\Delta y^2\right]^{1/2}}{(k_y/k_x)^{1/4} + (k_x/k_y)^{1/4}},\qquad \mathrm{WI} = \frac{2\pi\sqrt{k_xk_y}\,h}{\ln(r_0/r_w) + S}

any consistent units (the permeabilities enter as ratios and through kxky\sqrt{k_xk_y})

Holds when: A vertical well at the centre of the cell. The grid axes match the principal directions of permeability. As in the isotropic case: a uniform grid, with other wells and model boundaries several cells away. The ratio of the sides of the cell hardly affects the accuracy.

Well model in a grid block →
Distribution of the rate between layers
ql=Jl (pl−pwf),pwf=∑lJl pl−q∑lJl,Jl=0.0853 WIlμBq_l = J_l\,(p_l - p_{wf}),\qquad p_{wf} = \frac{\sum_l J_l\,p_l - q}{\sum_l J_l},\qquad J_l = \frac{0.0853\,\mathrm{WI}_l}{\mu B}

metric oilfield units

Holds when: Single-phase inflow. The pressure in the wellbore is the same for all layers (a thin interval; otherwise the weight of the fluid column in the wellbore is added to the pwfp_{wf} of each layer). If the cell pressure of a layer is lower than the bottomhole pressure, qlq_l is negative: fluid leaves the wellbore into this layer (wellbore crossflow).

Well model in a grid block →
Mass balance of a cell over a time step
Vi[(ρϕ)in+1−(ρϕ)in]=Δt[(ρq)i−1/2−(ρq)i+1/2−(ρqw)i]V_i\left[(\rho\phi)_i^{n+1} - (\rho\phi)_i^{n}\right] = \Delta t\left[(\rho q)_{i-1/2} - (\rho q)_{i+1/2} - (\rho q_w)_i\right]

SI (any consistent system)

Holds when: The flows in the square brackets are averages over the step. Read this way, the equality is exact. The flow is along one axis. In two and three dimensions, the flows through the other faces are added. The density at a face is taken from the values in the neighbouring cells.

Pressure equation for single-phase flow →
The pressure equation for single-phase flow
ϕρ ct ∂p∂t=∇⋅[ρμ K(∇p−ρg ∇D)]−ρ q~,ct=1ρϕ  d(ρϕ) dp\phi\rho\,c_t\,\frac{\partial p}{\partial t} = \nabla\cdot\left[\frac{\rho}{\mu}\,\mathbf{K}\left(\nabla p - \rho g\,\nabla D\right)\right] - \rho\,\tilde q,\qquad c_t = \frac{1}{\rho\phi}\,\frac{\dd(\rho\phi)}{\dd p}

SI

Holds when: One mobile fluid. Darcy's law (no inertial losses). Isothermal flow (the temperature does not change). The density, the viscosity, the porosity and the permeability may depend on the pressure. The equation does not simplify anything yet.

Pressure equation for single-phase flow →
The linear pressure equation for a heterogeneous formation
ϕμct ∂p∂t=∂∂x ⁣(kx∂p∂x)+∂∂y ⁣(ky∂p∂y)+∂∂z ⁣(kz∂p∂z)−μ q~\phi\mu c_t\,\frac{\partial p}{\partial t} = \frac{\partial}{\partial x}\!\left(k_x\frac{\partial p}{\partial x}\right) + \frac{\partial}{\partial y}\!\left(k_y\frac{\partial p}{\partial y}\right) + \frac{\partial}{\partial z}\!\left(k_z\frac{\partial p}{\partial z}\right) - \mu\,\tilde q

SI

Holds when: A slightly compressible fluid: c Δp≪1c\,\Delta p \ll 1. The change of density in the flow is not taken into account. The viscosity and the total compressibility do not depend on pressure. The porosity changes little. The coordinate axes point along the principal directions of permeability.

Pressure equation for single-phase flow →
Equation of a cell (single-phase, slightly compressible fluid)
Si pin+1−pinΔt=∑jaij(pj−pi)−qi,Si=Vp,i ct,aij=0.0853 TijμS_i\,\frac{p_i^{n+1} - p_i^{n}}{\Delta t} = \sum_j a_{ij}\left(p_j - p_i\right) - q_i,\qquad S_i = V_{p,i}\,c_t,\qquad a_{ij} = \frac{0.0853\,T_{ij}}{\mu}

metric oilfield units: kk in mD, lengths in m, μ\mu in mPa·s, ctc_t in 1/MPa, pp in MPa, tt in d, volumes at reservoir conditions

Holds when: A slightly compressible fluid, with constant viscosity and compressibility (a linear equation). The sum runs over all cells with which cell ii has a common face or a non-neighbour connection. The pressures on the right side are taken at the start of the step (explicit scheme) or at the end (implicit scheme). If the cells lie at different depths, we put (pj−pi)−ρg (Dj−Di)(p_j - p_i) - \rho g\,(D_j - D_i) in place of pj−pip_j - p_i, with ρg\rho g in MPa/m.

Pressure equation for single-phase flow →
Explicit scheme: the new pressure of a cell
pin+1=pin+ΔtSi[∑jaij(pjn−pin)−qi]p_i^{n+1} = p_i^{n} + \frac{\Delta t}{S_i}\left[\sum_j a_{ij}\left(p_j^{n} - p_i^{n}\right) - q_i\right]

metric oilfield units, as in the equation of a cell

Holds when: The flows and the withdrawal over the whole step are calculated from the pressures at the start of the step.

Pressure equation for single-phase flow →
The largest step of the explicit scheme
Δt≤min⁡iτi,τi=Si∑jaij\Delta t \le \min_i \tau_i,\qquad \tau_i = \frac{S_i}{\sum_j a_{ij}}

metric oilfield units (any consistent units)

Holds when: A linear equation. The condition is sufficient: if it holds, the scheme is stable. Under it the new pressure of the cell (leaving the withdrawal aside) is a weighted average of the pressures of the cell itself and its neighbours at the start of the step, with non-negative weights. So the calculation cannot “jump over” the neighbours. For a long uniform grid the condition is exact: a larger step is unstable. For a short or non-uniform grid the allowed step is a little larger (see the advanced section).

Pressure equation for single-phase flow →
Implicit scheme: the equation of a cell in the system
−ai,i−1 pi−1n+1+(SiΔt+∑jaij)pin+1−ai,i+1 pi+1n+1=SiΔt pin−qi-a_{i,i-1}\,p_{i-1}^{n+1} + \left(\frac{S_i}{\Delta t} + \sum_j a_{ij}\right)p_i^{n+1} - a_{i,i+1}\,p_{i+1}^{n+1} = \frac{S_i}{\Delta t}\,p_i^{n} - q_i

metric oilfield units

Holds when: A one-dimensional grid. In two and three dimensions a row has five or seven unknowns. A linear equation. In a nonlinear one the coefficients depend on the unknown pressures, and the system is solved by iterations.

Pressure equation for single-phase flow →
The largest step of the explicit scheme for a uniform grid
Δtmax⁡=12(ηxΔx2+ηyΔy2+ηzΔz2)−1,ηx=0.0853 kxϕμct\Delta t_{\max} = \frac{1}{2}\left(\frac{\eta_x}{\Delta x^2} + \frac{\eta_y}{\Delta y^2} + \frac{\eta_z}{\Delta z^2}\right)^{-1},\qquad \eta_x = \frac{0.0853\,k_x}{\phi\mu c_t}

metric oilfield units: kk in mD, μ\mu in mPa·s, ctc_t in 1/MPa, dimensions in m, Δt\Delta t in d

Holds when: A uniform grid inside the formation, and a linear equation. In one dimension only one term remains, and Δtmax⁡=Δx2/(2η)\Delta t_{\max} = \Delta x^2/(2\eta).

Pressure equation for single-phase flow →
Phase balance in a cell over a time step
Vi[(ϕSαBα)in+1−(ϕSαBα)in]=Δt[(A uαBα)i−1/2−(A uαBα)i+1/2−qα,i]V_i\left[\left(\frac{\phi S_\alpha}{B_\alpha}\right)_i^{n+1} - \left(\frac{\phi S_\alpha}{B_\alpha}\right)_i^{n}\right] = \Delta t\left[\left(\frac{A\,u_\alpha}{B_\alpha}\right)_{i-1/2} - \left(\frac{A\,u_\alpha}{B_\alpha}\right)_{i+1/2} - q_{\alpha,i}\right]

any consistent units; phase volumes at standard conditions

Holds when: The phases do not exchange mass (the gas is dissolved and does not come out of solution), and the density at standard conditions is constant. The rates in the square brackets are averages over the step. Read this way, the equality is exact. The flow is along one axis. In two and three dimensions, the faces along the other axes are added.

Two-phase flow equations →
Continuity equation for a phase
∂∂t(ϕSαBα)+∇⋅(uαBα)+q~α=0,α=o, w\frac{\partial}{\partial t}\left(\frac{\phi S_\alpha}{B_\alpha}\right) + \nabla\cdot\left(\frac{\mathbf{u}_\alpha}{B_\alpha}\right) + \tilde q_\alpha = 0,\qquad \alpha = o,\ w

any consistent units

Holds when: This is the limit as Δx→0\Delta x \to 0 and Δt→0\Delta t \to 0, and the properties vary smoothly. The phases do not exchange mass.

Two-phase flow equations →
Darcy's law for a phase when both phases flow together
uα=−λα(∇pα−ραg ∇D),λα=k krα(Sw)μα\mathbf{u}_\alpha = -\lambda_\alpha\left(\nabla p_\alpha - \rho_\alpha g\,\nabla D\right),\qquad \lambda_\alpha = \frac{k\,k_{r\alpha}(S_w)}{\mu_\alpha}

SI; in metric oilfield units, multiply λα\lambda_\alpha by 0.0853 (kk in mD, μ\mu in mPa·s, pp in MPa, lengths in m, uu in m/d)

Holds when: The flow is laminar (smooth, without turbulence), and the phases do not mix. Relative permeabilities depend only on the saturation and on the direction in which it changes. There are separate curves for imbibition (water pushes oil out of a water-wet rock, that is, a rock that water clings to more than oil) and for drainage (oil pushes water out). The weight of the phase acts along the DD axis, so in horizontal flow the term with ∇D\nabla D vanishes.

Two-phase flow equations →
Closure relations
So+Sw=1,po−pw=pc(Sw),krα=krα(Sw),Bα, μα, ϕ=f(p)S_o + S_w = 1,\qquad p_o - p_w = p_c(S_w),\qquad k_{r\alpha} = k_{r\alpha}(S_w),\qquad B_\alpha,\ \mu_\alpha,\ \phi = f(p)

any consistent units

Holds when: The pores contain only oil and water. The pcp_c and krk_r curves are chosen for the process that takes place in the reservoir: imbibition when a water-wet reservoir is flooded.

Two-phase flow equations →
Working equations of two-phase flow (one dimension)
∂∂t(ϕSoBo)=∂∂x[λoBo(∂po∂x−ρog ∂D∂x)]−q~o∂∂t(ϕSwBw)=∂∂x[λwBw(∂po∂x−∂pc∂x−ρwg ∂D∂x)]−q~w\begin{aligned} &\frac{\partial}{\partial t}\left(\frac{\phi S_o}{B_o}\right) = \frac{\partial}{\partial x}\left[\frac{\lambda_o}{B_o}\left(\frac{\partial p_o}{\partial x} - \rho_o g\,\frac{\partial D}{\partial x}\right)\right] - \tilde q_o\\ &\frac{\partial}{\partial t}\left(\frac{\phi S_w}{B_w}\right) = \frac{\partial}{\partial x}\left[\frac{\lambda_w}{B_w}\left(\frac{\partial p_o}{\partial x} - \frac{\partial p_c}{\partial x} - \rho_w g\,\frac{\partial D}{\partial x}\right)\right] - \tilde q_w \end{aligned}

SI (any consistent system)

Holds when: The flow is one-dimensional, along xx. The fluid properties are functions of pressure. The relative permeabilities and pcp_c are functions of the water saturation.

Two-phase flow equations →
Total compressibility in a two-phase cell
ct=Soco+Swcw+cf,cα=−1Bα dBα dp,cf=1ϕ dϕ dpc_t = S_o c_o + S_w c_w + c_f,\qquad c_\alpha = -\frac{1}{B_\alpha}\frac{\dd B_\alpha}{\dd p},\qquad c_f = \frac{1}{\phi}\frac{\dd\phi}{\dd p}

1/MPa (any consistent units)

Holds when: We evaluate the properties of both phases at the oil pressure, because capillary pressure (tens of kilopascals) is small compared with the changes in reservoir pressure.

Two-phase flow equations →
Pressure equation for two-phase flow
ϕct ∂po∂t=∇⋅[λt ∇po−λw ∇pc−(λoρo+λwρw)g ∇D]−q~t,λt=λo+λw\phi c_t\,\frac{\partial p_o}{\partial t} = \nabla\cdot\left[\lambda_t\,\nabla p_o - \lambda_w\,\nabla p_c - \left(\lambda_o\rho_o + \lambda_w\rho_w\right)g\,\nabla D\right] - \tilde q_t,\qquad \lambda_t = \lambda_o + \lambda_w

SI (any consistent system)

Holds when: The two phases do not mix, and the gas is dissolved. The formation volume factors vary little in space, so terms of the order of cα uα⋅∇pc_\alpha\,\mathbf{u}_\alpha\cdot\nabla p are dropped. The fluid properties are evaluated at the oil pressure.

Two-phase flow equations →
Water flow in terms of the total velocity
uw=fw ut+λofw[∇pc+(ρw−ρo) g ∇D],fw=λwλt\mathbf{u}_w = f_w\,\mathbf{u}_t + \lambda_o f_w\left[\nabla p_c + (\rho_w - \rho_o)\,g\,\nabla D\right],\qquad f_w = \frac{\lambda_w}{\lambda_t}

SI (any consistent system)

Holds when: The same as for Darcy's law for the phases. The formula is exact: it only rearranges the terms of Darcy's law.

Two-phase flow equations →
Saturation equation
ϕ ∂Sw∂t+∇⋅(fw ut)+∇⋅[λofw (ρw−ρo) g ∇D]=∇⋅(λofw∣ dpc dSw∣∇Sw)−q~wres\phi\,\frac{\partial S_w}{\partial t} + \nabla\cdot\left(f_w\,\mathbf{u}_t\right) + \nabla\cdot\left[\lambda_o f_w\,(\rho_w - \rho_o)\,g\,\nabla D\right] = \nabla\cdot\left(\lambda_o f_w\left|\frac{\dd p_c}{\dd S_w}\right|\nabla S_w\right) - \tilde q_w^{\text{res}}

SI (any consistent system)

Holds when: The rock and fluids are incompressible (ϕ\phi and BαB_\alpha are constant). The rock is water-wet ( dpc/ dSw<0\dd p_c/\dd S_w < 0), and the total velocity is known from the pressure equation.

Two-phase flow equations →
Cell equation for a phase
Vp,i (Sα/Bα)in+1−(Sα/Bα)inΔt=∑j0.0853 Tij(krαμαBα) ⁣↑(Φα,j−Φα,i)−qα,i,Φα=pα−γαDV_{p,i}\,\frac{(S_\alpha/B_\alpha)_i^{n+1} - (S_\alpha/B_\alpha)_i^{n}}{\Delta t} = \sum_j 0.0853\,T_{ij}\left(\frac{k_{r\alpha}}{\mu_\alpha B_\alpha}\right)_{\!\uparrow}\left(\Phi_{\alpha,j} - \Phi_{\alpha,i}\right) - q_{\alpha,i},\qquad \Phi_\alpha = p_\alpha - \gamma_\alpha D

metric oilfield units: kk (inside TijT_{ij}) in mD, μ\mu in mPa·s, pp in MPa, DD in m, Δt\Delta t in days; 0.0853 is the unit-conversion constant of Darcy's law

Holds when: The pore volume is constant over the step (for compressible rock it is found from the pressure). The mobility at a face is taken upstream (the reason is given below). The solution scheme decides at which time level (the start or the end of the step) the pressures and mobilities in the right-hand side are taken (IMPES and fully implicit schemes).

Two-phase flow equations →
The cell equation as a finite-difference scheme
S pin+1−pinΔt=a(pi+1−2pi+pi−1)⟺pin+1−pinΔt=η pi+1−2pi+pi−1Δx2S\,\frac{p_i^{n+1} - p_i^{n}}{\Delta t} = a\left(p_{i+1} - 2p_i + p_{i-1}\right)\quad\Longleftrightarrow\quad \frac{p_i^{n+1} - p_i^{n}}{\Delta t} = \eta\,\frac{p_{i+1} - 2p_i + p_{i-1}}{\Delta x^2}

metric oilfield units: kk in mD, μ\mu in mPa·s, ctc_t in 1/MPa, pp in MPa, tt in d; 0.0853 is the constant of Darcy's law in these units (Rock permeability)

Holds when: Equal cells of a uniform formation, the linear pressure equation, an inner cell without a well. The moment whose pressures give the right-hand side has not been chosen yet. The scheme depends on it (see below).

Finite differences: from equations to computation →
The Taylor series for neighbouring nodes
pi±1=pi±Δx pi′+Δx22 pi′′±Δx36 pi′′′+Δx424 pi(4)±…p_{i\pm1} = p_i \pm \Delta x\,p'_i + \frac{\Delta x^2}{2}\,p''_i \pm \frac{\Delta x^3}{6}\,p'''_i + \frac{\Delta x^4}{24}\,p^{(4)}_i \pm \ldots

any consistent units

Holds when: The function is smooth: it has continuous derivatives of the needed order between the nodes. The grid step is constant (a non-uniform grid is in the advanced section).

Finite differences: from equations to computation →
Difference formulas and their error
pi+1−piΔx=pi′+Δx2 pi′′+O(Δx2)(forward)pi−pi−1Δx=pi′−Δx2 pi′′+O(Δx2)(backward)pi+1−pi−12Δx=pi′+Δx26 pi′′′+O(Δx4)(central)pi+1−2pi+pi−1Δx2=pi′′+Δx212 pi(4)+O(Δx4)(second difference)\begin{aligned} &\frac{p_{i+1} - p_i}{\Delta x} = p'_i + \frac{\Delta x}{2}\,p''_i + O(\Delta x^2) &&\text{(forward)}\\ &\frac{p_i - p_{i-1}}{\Delta x} = p'_i - \frac{\Delta x}{2}\,p''_i + O(\Delta x^2) &&\text{(backward)}\\ &\frac{p_{i+1} - p_{i-1}}{2\Delta x} = p'_i + \frac{\Delta x^2}{6}\,p'''_i + O(\Delta x^4) &&\text{(central)}\\ &\frac{p_{i+1} - 2p_i + p_{i-1}}{\Delta x^2} = p''_i + \frac{\Delta x^2}{12}\,p^{(4)}_i + O(\Delta x^4) &&\text{(second difference)} \end{aligned}

any consistent units

Holds when: A smooth function and a constant step. The values at the nodes are exact (no noise or round-off).

Finite differences: from equations to computation →
The weighted scheme for the pressure equation
pin+1−pinΔt=η[σ pi+1n+1−2pin+1+pi−1n+1Δx2+(1−σ) pi+1n−2pin+pi−1nΔx2]\frac{p_i^{n+1} - p_i^{n}}{\Delta t} = \eta\left[\sigma\,\frac{p_{i+1}^{n+1} - 2p_i^{n+1} + p_{i-1}^{n+1}}{\Delta x^2} + (1 - \sigma)\,\frac{p_{i+1}^{n} - 2p_i^{n} + p_{i-1}^{n}}{\Delta x^2}\right]

metric oilfield units (any consistent units)

Holds when: A linear equation, a uniform formation, a uniform grid. For a heterogeneous formation the same is written for the cell equations with the coefficients aija_{ij} and SiS_i. For σ>0\sigma > 0 each equation has three unknowns at the end of the step, and at each step we solve a tridiagonal system, as in the implicit scheme.

Finite differences: from equations to computation →
Truncation error of the weighted scheme
ψin=(12−σ)Δt ∂2p∂t2−η Δx212 ∂4p∂x4+O ⁣(Δt2+Δx4)\psi_i^{n} = \left(\tfrac12 - \sigma\right)\Delta t\,\frac{\partial^2 p}{\partial t^2} - \frac{\eta\,\Delta x^2}{12}\,\frac{\partial^4 p}{\partial x^4} + O\!\left(\Delta t^2 + \Delta x^4\right)

any consistent units

Holds when: A smooth solution (far from sudden changes in how the wells are run, and from the wells themselves). Constant coefficients, a uniform grid.

Finite differences: from equations to computation →
Accumulation of error in a stable scheme
en+1=A en+Δt B ψn,B=(I−σΔt L)−1,A=B(I+(1−σ)Δt L)∥en∥≤∥e0∥+tnmax⁡k∥ψk∥\begin{aligned} &e^{n+1} = \mathbf{A}\,e^{n} + \Delta t\,\mathbf{B}\,\psi^{n},\qquad \mathbf{B} = \left(\mathbf{I} - \sigma\Delta t\,\mathbf{L}\right)^{-1},\qquad \mathbf{A} = \mathbf{B}\left(\mathbf{I} + (1 - \sigma)\Delta t\,\mathbf{L}\right)\\ &\left\|e^{n}\right\| \le \left\|e^{0}\right\| + t^{n}\max_k\left\|\psi^{k}\right\| \end{aligned}

any consistent units

Holds when: A linear problem. The estimate on the right holds if ∥A∥≤1\|\mathbf{A}\| \le 1 (the scheme is stable) and ∥B∥≤1\|\mathbf{B}\| \le 1, which is the case for the weighted scheme for the pressure equation. For an unstable scheme ∥A∥>1\|\mathbf{A}\| > 1, and the contribution of each step is multiplied by ∥A∥\|\mathbf{A}\| at all the following steps.

Finite differences: from equations to computation →
Amplification factor of the weighted scheme
G(ξ)=1−4(1−σ) rsin⁡2(ξ/2)1+4σ rsin⁡2(ξ/2),r=η ΔtΔx2G(\xi) = \frac{1 - 4(1 - \sigma)\,r\sin^2(\xi/2)}{1 + 4\sigma\,r\sin^2(\xi/2)},\qquad r = \frac{\eta\,\Delta t}{\Delta x^2}

dimensionless

Holds when: A linear equation with constant coefficients and a uniform grid. Boundaries are not taken into account (an infinite or periodic grid). For a heterogeneous formation we check the condition locally, with the local η\eta and Δx\Delta x. For a nonlinear equation we check it with the coefficients “frozen” at the step. The condition is then necessary but not always sufficient.

Finite differences: from equations to computation →
Stability conditions of the weighted scheme
σ=0:  r≤12;0<σ<12:  r≤12(1−2σ);σ≥12:  for any r\sigma = 0:\ \ r \le \tfrac12;\qquad 0 < \sigma < \tfrac12:\ \ r \le \frac{1}{2(1 - 2\sigma)};\qquad \sigma \ge \tfrac12:\ \ \text{for any } r

dimensionless

Holds when: They follow from G≥−1G \ge -1 for the shortest, checkerboard harmonic (ξ=π\xi = \pi). The condition G≤1G \le 1 always holds. In two and three dimensions the explicit scheme needs rx+ry+rz≤12r_x + r_y + r_z \le \tfrac12, the same condition as for a uniform grid in the lesson on the pressure equation.

Finite differences: from equations to computation →
The Crank–Nicolson scheme for the cell equation
Si pin+1−pinΔt=12∑jaij(pjn+1−pin+1)+12∑jaij(pjn−pin)−qiS_i\,\frac{p_i^{n+1} - p_i^{n}}{\Delta t} = \frac12\sum_j a_{ij}\left(p_j^{n+1} - p_i^{n+1}\right) + \frac12\sum_j a_{ij}\left(p_j^{n} - p_i^{n}\right) - q_i

metric oilfield units, as in the lesson on the pressure equation

Holds when: A linear equation. The withdrawal qiq_i is constant during the step. The system for the pressures at the end of the step is tridiagonal (in one dimension), with the diagonal Si/Δt+12∑jaijS_i/\Delta t + \tfrac12\sum_j a_{ij}.

Finite differences: from equations to computation →
Error model for a convergence study
e=R−Rexact≈Cx Δxp+Ct Δtqe = R - R_{\text{exact}} \approx C_x\,\Delta x^{p} + C_t\,\Delta t^{q}

in units of the result

Holds when: The steps are small enough for the leading terms of the error to dominate (the asymptotic range). The solution is smooth. Near wells, at displacement fronts and at sharp boundaries of properties, the observed order is lower than the theoretical one. The errors of the solution of the equations at each step (the tolerances of the iterations) are much smaller than the error of the scheme.

Finite differences: from equations to computation →
IMPES: the pressure equation of a cell with the mobilities at the start of the step
Vp,i ct,in pin+1−pinΔt=∑jaijn(pjn+1−pin+1)−qt,i,aijn=0.0853 Tij λt,ijnV_{p,i}\,c_{t,i}^{n}\,\frac{p_i^{n+1} - p_i^{n}}{\Delta t} = \sum_j a_{ij}^{n}\left(p_j^{n+1} - p_i^{n+1}\right) - q_{t,i},\qquad a_{ij}^{n} = 0.0853\,T_{ij}\,\lambda_{t,ij}^{n}

metric oilfield units: TT in mD·m, μ\mu in mPa·s, pp in MPa, tt in d, volumes at reservoir conditions; 0.0853 is the constant of Darcy's law

Holds when: The mobilities and compressibilities are taken at the values at the start of the step, so the equation is linear in the pressures at the end of the step. The phases are slightly compressible, and the formation volume factors change little over a step. Capillary pressure (the pressure difference between the phases that comes from surface forces in the pores) and gravity are taken into account on the right-hand side, at the values at the start of the step.

IMPES and fully implicit schemes →
IMPES: explicit recalculation of the water saturation
Vp,i (Sw/Bw)in+1−(Sw/Bw)inΔt=∑j0.0853 Tij(krwμwBw) ⁣↑ ⁣n(pjn+1−pin+1)−qw,iV_{p,i}\,\frac{(S_w/B_w)_i^{n+1} - (S_w/B_w)_i^{n}}{\Delta t} = \sum_j 0.0853\,T_{ij}\left(\frac{k_{rw}}{\mu_w B_w}\right)_{\!\uparrow}^{\!n}\left(p_j^{n+1} - p_i^{n+1}\right) - q_{w,i}

metric oilfield units, as in the pressure equation; volumes of water at standard conditions

Holds when: Without capillary pressure and gravity. With them, we put the difference of the water potentials Φw=po−pc−γwD\Phi_w = p_o - p_c - \gamma_w D in place of the pressure difference. The pore volume is constant during the step. The oil saturation is found from So=1−SwS_o = 1 - S_w. With compressible phases, the linearisation of the pressure equation leaves a small error in the oil balance.

IMPES and fully implicit schemes →
The Courant condition for the explicit recalculation of saturation
Ci=Δt Qi fw′Vp,i≤1⟹Δt≤min⁡iVp,iQi fw′C_i = \frac{\Delta t\,Q_i\,f_w'}{V_{p,i}} \le 1\quad\Longrightarrow\quad \Delta t \le \min_i \frac{V_{p,i}}{Q_i\,f_w'}

any consistent units: QQ in m³/d, VpV_p in m³, Δt\Delta t in d

Holds when: A sufficient condition for upstream weighting in incompressible flow: if it holds, the calculation is stable. Capillary pressure and gravity add their own limits (see the advanced section). In a one-dimensional strip Qi=qtQ_i = q_t; in two and three dimensions it is the sum of the incoming flows. With a noticeably larger step the calculation loses monotonicity (the saturations no longer change steadily in one direction): they oscillate from cell to cell and go beyond the physical limits.

IMPES and fully implicit schemes →
The slope of the fractional flow curve for the Corey model
fw′= dfw dSw=fw (1−fw)1−Swi−Sor(nwSn+no1−Sn)f_w' = \frac{\dd f_w}{\dd S_w} = \frac{f_w\,(1 - f_w)}{1 - S_{wi} - S_{or}}\left(\frac{n_w}{S_n} + \frac{n_o}{1 - S_n}\right)

dimensionless

Holds when: The Corey model (lesson on relative permeability). The viscosities are constant. At the ends of the mobile interval, where only one phase flows, the slope is zero.

IMPES and fully implicit schemes →
Residual of the balance of a phase in a cell (fully implicit method)
Rα,i=Vp,i (Sα/Bα)in+1−(Sα/Bα)inΔt−∑j0.0853 Tij(krαμαBα) ⁣↑ ⁣n+1(Φα,j−Φα,i)n+1+qα,in+1=0R_{\alpha,i} = V_{p,i}\,\frac{(S_\alpha/B_\alpha)_i^{n+1} - (S_\alpha/B_\alpha)_i^{n}}{\Delta t} - \sum_j 0.0853\,T_{ij}\left(\frac{k_{r\alpha}}{\mu_\alpha B_\alpha}\right)_{\!\uparrow}^{\!n+1}\left(\Phi_{\alpha,j} - \Phi_{\alpha,i}\right)^{n+1} + q_{\alpha,i}^{n+1} = 0

metric oilfield units; volumes of the phases at standard conditions

Holds when: The same cell equation as in the two-phase lesson, with all the quantities of the right-hand side taken at the end of the step. The unknowns of a cell are pop_o and SwS_w, and the other quantities are expressed through the closure relations. In the black oil model with gas, a cell has three equations and three unknowns.

IMPES and fully implicit schemes →
A Newton iteration for a system of equations
J ⁣(x(ν))δx=−R ⁣(x(ν)),x(ν+1)=x(ν)+δx,Jkl=∂Rk∂xl\mathbf{J}\!\left(\mathbf{x}^{(\nu)}\right)\delta\mathbf{x} = -\mathbf{R}\!\left(\mathbf{x}^{(\nu)}\right),\qquad \mathbf{x}^{(\nu+1)} = \mathbf{x}^{(\nu)} + \delta\mathbf{x},\qquad J_{kl} = \frac{\partial R_k}{\partial x_l}

in units of the residuals and the unknowns

Holds when: The residuals are smooth functions of the unknowns. With upstream weighting the derivatives change abruptly when a flow changes direction. At each iteration we solve a linear system. The matrix J\mathbf{J} is not inverted.

IMPES and fully implicit schemes →
Convergence criteria of the iterations within a step
max⁡i Δt Bα∣Rα,i∣Vp,i≤εR,Δt Bα∣∑iRα,i∣∑iVp,i≤εMB\max_i\,\frac{\Delta t\,B_\alpha\left|R_{\alpha,i}\right|}{V_{p,i}} \le \varepsilon_R,\qquad \frac{\Delta t\,B_\alpha\left|\sum_i R_{\alpha,i}\right|}{\sum_i V_{p,i}} \le \varepsilon_{MB}

dimensionless

Holds when: They are checked for each phase. A condition is often added that the corrections of the last iteration, in pressure and in saturation, are small. Typical orders of the tolerances: εR\varepsilon_R from 10−310^{-3} to 10−210^{-2}, εMB\varepsilon_{MB} from 10−710^{-7} to 10−610^{-6}. The specific values depend on the simulator and the task.

IMPES and fully implicit schemes →
Choosing the next step from the target changes
Δtn+1=Δtn⋅min⁡ ⁣(ΔStargetmax⁡i∣ΔSi∣, Δptargetmax⁡i∣Δpi∣),Δtn+1≤fgrowth Δtn\Delta t^{n+1} = \Delta t^{n}\cdot\min\!\left(\frac{\Delta S_{\text{target}}}{\max_i\left|\Delta S_i\right|},\ \frac{\Delta p_{\text{target}}}{\max_i\left|\Delta p_i\right|}\right),\qquad \Delta t^{n+1} \le f_{\text{growth}}\,\Delta t^{n}

Δt\Delta t in d, pp in MPa

Holds when: The changes per step are roughly proportional to the step: a flow without abrupt events. The step is also limited by the largest and smallest values, by report dates and by well events: after a start, a shut-in or a change in the way a well is run we begin again with a small step.

IMPES and fully implicit schemes →
A row of the pressure system: the cell equation at an implicit step
(SiΔt+∑jaij)δi−∑jaij δj=−qi+∑jaij(pjn−pin)\left(\frac{S_i}{\Delta t} + \sum_j a_{ij}\right)\delta_i - \sum_j a_{ij}\,\delta_j = -q_i + \sum_j a_{ij}\left(p_j^{n} - p_i^{n}\right)

metric oilfield units

Holds when: A linear pressure equation: the properties of the fluid and the rock are constant during the step (a nonlinear case is solved by iterations, and each one has such a system). The sums run over all connections of the cell: neighbours across faces and non-neighbour connections. A well with a given bottomhole pressure adds its own coefficient to the diagonal.

Solving systems of linear equations in simulators →
A uniform shift of pressure is an eigenvector of the matrix
A=SΔt I+C,C 1=0,λmin⁡(A)=SΔt,κ=1+ΔtS λmax⁡(C)\mathbf{A} = \frac{S}{\Delta t}\,\mathbf{I} + \mathbf{C},\qquad \mathbf{C}\,\mathbf{1} = 0,\qquad \lambda_{\min}(\mathbf{A}) = \frac{S}{\Delta t},\qquad \kappa = 1 + \frac{\Delta t}{S}\,\lambda_{\max}(\mathbf{C})

metric oilfield units; κ\kappa is dimensionless

Holds when: The cells have the same capacity. The outer boundaries are closed, and the wells work at given rates. A well with a given bottomhole pressure, or a constant-pressure boundary, adds to the diagonal and increases λmin⁡\lambda_{\min}.

Solving systems of linear equations in simulators →
A step of the forward pass of Gaussian elimination
mki=AkiAii,Akl←Akl−mki Ail,bk←bk−mki bi(k>i)m_{ki} = \frac{A_{ki}}{A_{ii}},\qquad A_{kl} \leftarrow A_{kl} - m_{ki}\,A_{il},\qquad b_k \leftarrow b_k - m_{ki}\,b_i\qquad (k > i)

in the units of the system

Holds when: The pivot element AiiA_{ii} (the diagonal number that we divide by) is not zero. With diagonal dominance this is guaranteed, and no row swaps are needed. Rows in which Aki=0A_{ki} = 0 do not change.

Solving systems of linear equations in simulators →
Work and memory of banded elimination
W≈n b2,M≈n b;b=Nx  (2D),b=NxNy  (3D)W \approx n\,b^2,\qquad M \approx n\,b;\qquad b = N_x\ \ (\text{2D}),\qquad b = N_xN_y\ \ (\text{3D})

dimensionless counts

Holds when: The leading term of the estimate for b≪nb \ll n. Elimination without row swaps. For the Cholesky decomposition of a symmetric matrix the work is about half as large. For a dense matrix the work is n3/3n^3/3.

Solving systems of linear equations in simulators →
The Jacobi, Gauss–Seidel and successive over-relaxation methods
Jacobi:xi(ν+1)=1Aii(bi−∑l≠iAil xl(ν))Gauss–Seidel:xi(ν+1)=1Aii(bi−∑l<iAil xl(ν+1)−∑l>iAil xl(ν))SOR:xi(ν+1)=xi(ν)+ω (x^i−xi(ν))\begin{aligned} &\text{Jacobi:} && x_i^{(\nu+1)} = \frac{1}{A_{ii}}\Bigl(b_i - \sum_{l \ne i} A_{il}\,x_l^{(\nu)}\Bigr)\\ &\text{Gauss–Seidel:} && x_i^{(\nu+1)} = \frac{1}{A_{ii}}\Bigl(b_i - \sum_{l < i} A_{il}\,x_l^{(\nu+1)} - \sum_{l > i} A_{il}\,x_l^{(\nu)}\Bigr)\\ &\text{SOR:} && x_i^{(\nu+1)} = x_i^{(\nu)} + \omega\,\bigl(\hat x_i - x_i^{(\nu)}\bigr)\end{aligned}

in the units of the system

Holds when: Aii≠0A_{ii} \ne 0; Gauss–Seidel and SOR go through the equations in the order of their numbers and use the new values at once; convergence is guaranteed with strict diagonal dominance (Jacobi and Gauss–Seidel), and for a symmetric positive definite matrix for Gauss–Seidel and for SOR with 0<ω<20 < \omega < 2.

Solving systems of linear equations in simulators →
The speed of convergence of simple iterations
ν≈ln⁡(1/ε)−ln⁡ρ(G),ρGS=ρJ2,ωopt=21+1−ρJ2,ρSOR=ωopt−1\nu \approx \frac{\ln(1/\varepsilon)}{-\ln\rho(\mathbf{G})},\qquad \rho_{GS} = \rho_J^2,\qquad \omega_{opt} = \frac{2}{1 + \sqrt{1 - \rho_J^2}},\qquad \rho_{SOR} = \omega_{opt} - 1

dimensionless

Holds when: an estimate for a large number of iterations; at the first iterations the speed depends on the initial error; the relations for Gauss–Seidel and SOR hold for “consistently ordered” matrices, a technical condition on the order of the unknowns. The five-point matrices of Cartesian grids with natural numbering satisfy it.

Solving systems of linear equations in simulators →
The convergence of the conjugate gradient method
∥e(ν)∥A≤2(κ−1κ+1)ν∥e(0)∥A,ν≲κ2 ln⁡2ε\lVert\mathbf{e}^{(\nu)}\rVert_{\mathbf{A}} \le 2\left(\frac{\sqrt\kappa - 1}{\sqrt\kappa + 1}\right)^{\nu}\lVert\mathbf{e}^{(0)}\rVert_{\mathbf{A}},\qquad \nu \lesssim \frac{\sqrt\kappa}{2}\,\ln\frac{2}{\varepsilon}

dimensionless

Holds when: a symmetric positive definite matrix; exact arithmetic; an upper bound: in practice convergence is often faster, especially if the eigenvalues are gathered in groups.

Solving systems of linear equations in simulators →
The preconditioned system
M−1A x=M−1b,M≈A,κ(M−1A)≪κ(A)\mathbf{M}^{-1}\mathbf{A}\,\mathbf{x} = \mathbf{M}^{-1}\mathbf{b},\qquad \mathbf{M} \approx \mathbf{A},\qquad \kappa\left(\mathbf{M}^{-1}\mathbf{A}\right) \ll \kappa(\mathbf{A})

in the units of the system

Holds when: the matrix M−1\mathbf{M}^{-1} is not built: at every iteration we solve the system Mz=r\mathbf{M}\mathbf{z} = \mathbf{r}; for the conjugate gradient method M\mathbf{M} must be symmetric positive definite.

Solving systems of linear equations in simulators →
The stopping criterion and the link between the residual and the error
∥r(ν)∥∥b∥≤ε,r(ν)=b−A x(ν),∥x−x(ν)∥∥x∥≤κ ∥r(ν)∥∥b∥\frac{\lVert\mathbf{r}^{(\nu)}\rVert}{\lVert\mathbf{b}\rVert} \le \varepsilon,\qquad \mathbf{r}^{(\nu)} = \mathbf{b} - \mathbf{A}\,\mathbf{x}^{(\nu)},\qquad \frac{\lVert\mathbf{x} - \mathbf{x}^{(\nu)}\rVert}{\lVert\mathbf{x}\rVert} \le \kappa\,\frac{\lVert\mathbf{r}^{(\nu)}\rVert}{\lVert\mathbf{b}\rVert}

dimensionless ratios

Holds when: we can calculate the residual but not the error, because the exact solution is unknown; the inequality for the error is an upper bound.

Solving systems of linear equations in simulators →
The error of the iterations and the iteration matrix
e(ν+1)=G e(ν),GJ=D−1(L+U),GGS=(D−L)−1 U\mathbf{e}^{(\nu+1)} = \mathbf{G}\,\mathbf{e}^{(\nu)},\qquad \mathbf{G}_J = \mathbf{D}^{-1}(\mathbf{L} + \mathbf{U}),\qquad \mathbf{G}_{GS} = (\mathbf{D} - \mathbf{L})^{-1}\,\mathbf{U}

dimensionless

Holds when: a linear system with a constant matrix; a diagonal with no zeros.

Solving systems of linear equations in simulators →
The conjugate gradient algorithm
r(0)=b−Ax(0),p(0)=r(0);αν=r(ν)Tr(ν)p(ν)TA p(ν),x(ν+1)=x(ν)+αν p(ν),r(ν+1)=r(ν)−αν A p(ν);βν=r(ν+1)Tr(ν+1)r(ν)Tr(ν),p(ν+1)=r(ν+1)+βν p(ν)\begin{aligned} &\mathbf{r}^{(0)} = \mathbf{b} - \mathbf{A}\mathbf{x}^{(0)},\quad \mathbf{p}^{(0)} = \mathbf{r}^{(0)};\\ &\alpha_\nu = \frac{\mathbf{r}^{(\nu)\mathsf T}\mathbf{r}^{(\nu)}}{\mathbf{p}^{(\nu)\mathsf T}\mathbf{A}\,\mathbf{p}^{(\nu)}},\quad \mathbf{x}^{(\nu+1)} = \mathbf{x}^{(\nu)} + \alpha_\nu\,\mathbf{p}^{(\nu)},\quad \mathbf{r}^{(\nu+1)} = \mathbf{r}^{(\nu)} - \alpha_\nu\,\mathbf{A}\,\mathbf{p}^{(\nu)};\\ &\beta_\nu = \frac{\mathbf{r}^{(\nu+1)\mathsf T}\mathbf{r}^{(\nu+1)}}{\mathbf{r}^{(\nu)\mathsf T}\mathbf{r}^{(\nu)}},\quad \mathbf{p}^{(\nu+1)} = \mathbf{r}^{(\nu+1)} + \beta_\nu\,\mathbf{p}^{(\nu)}\end{aligned}

in the units of the system

Holds when: a symmetric positive definite matrix; with a preconditioner, in the directions and the dot products we use z=M−1r\mathbf{z} = \mathbf{M}^{-1}\mathbf{r} in place of r\mathbf{r}.

Solving systems of linear equations in simulators →
The modified equation and the numerical diffusion of the upstream scheme
∂S∂t+v ∂fw∂x=∂∂x ⁣(Dnum ∂S∂x),Dnum(S)=vfw′(S) Δx2 (1∓C(S)),C(S)=vfw′(S) ΔtΔx\frac{\partial S}{\partial t} + v\,\frac{\partial f_w}{\partial x} = \frac{\partial}{\partial x}\!\left(D_{num}\,\frac{\partial S}{\partial x}\right),\qquad D_{num}(S) = \frac{v f_w'(S)\,\Delta x}{2}\,\bigl(1 \mp C(S)\bigr),\qquad C(S) = \frac{v f_w'(S)\,\Delta t}{\Delta x}

any consistent units: vv in m/d, Δx\Delta x in m, Δt\Delta t in d, DnumD_{num} in m²/d

Holds when: The upstream scheme on a uniform grid. The main error terms are included. The other terms are of the order of Δx2\Delta x^2 and Δt2\Delta t^2. The solution is smooth. At a jump of saturation the analysis gives only a qualitative picture, and the width of the smeared front is found by calculation (next section).

Numerical dispersion →
Saturation at the face in a TVD scheme with a limiter
Si+1/2=Si+12 Ψ(ri) (Si−Si−1),ri=Si+1−SiSi−Si−1,ΨvL(r)=r+∣r∣1+∣r∣S_{i+1/2} = S_i + \tfrac12\,\Psi(r_i)\,(S_i - S_{i-1}),\qquad r_i = \frac{S_{i+1} - S_i}{S_i - S_{i-1}},\qquad \Psi_{\text{vL}}(r) = \frac{r + |r|}{1 + |r|}

dimensionless

Holds when: The flow is in the +x+x direction. With Ψ=0\Psi = 0 we get the upstream scheme, and with Ψ=1\Psi = 1 a linear second-order reconstruction (a straight-line profile inside each cell). The limiter lies in the TVD region, 0≤Ψ(r)≤min⁡(2r, 2)0 \le \Psi(r) \le \min(2r,\ 2), and at extremes (peaks and dips of the profile, r≤0r \le 0) Ψ=0\Psi = 0. The time step has two stages (Heun's scheme: a trial step and then a correction), and the Courant number is at most 0.5.

Numerical dispersion →
Equivalent permeability of a block: Darcy's law for a coarse cell
Q=k∗A Δpμ L⟹k∗=Q μ LA ΔpQ = \frac{k^{*}A\,\Delta p}{\mu\,L}\qquad\Longrightarrow\qquad k^{*} = \frac{Q\,\mu\,L}{A\,\Delta p}

SI (any consistent system)

Holds when: The flow is single-phase and steady, and the fluid is incompressible. Darcy's law holds in the fine cells and for the block as a whole. The rate and the pressure difference belong to one block under definite boundary conditions. k∗k^{*} depends on them (see the section on boundary conditions). If a pressure difference along one axis causes flow along another axis too, one number is not enough. We need the tensor K∗\mathbf{K}^{*}.

Permeability upscaling for single-phase flow →
Porosity and saturation of a coarse cell
ϕˉ=∑iVi ϕi∑iVi,Sˉw=∑iVi ϕi Sw,i∑iVi ϕi\bar\phi = \frac{\sum_i V_i\,\phi_i}{\sum_i V_i},\qquad \bar S_w = \frac{\sum_i V_i\,\phi_i\,S_{w,i}}{\sum_i V_i\,\phi_i}

any equal units of volume; porosity and saturation as fractions

Holds when: The sums run over all the fine cells inside the coarse one. With a net-to-gross ratio NiN_i: Nˉ=∑ViNi/∑Vi\bar N = \sum V_iN_i/\sum V_i, the porosity of the reservoir rock is ϕˉ=∑ViNiϕi/∑ViNi\bar\phi = \sum V_iN_i\phi_i/\sum V_iN_i, and the weight in the saturation is ViNiϕiV_iN_i\phi_i. In this way the pore volume of the reservoir rock, Nˉϕˉ∑Vi\bar N\bar\phi\sum V_i, is preserved. Oil and gas saturations are averaged in the same way. If the formation volume factor differs from cell to cell, we add it to the weight to get the volumes in place at standard conditions.

Permeability upscaling for single-phase flow →
Wiener bounds
kˉH=(∑iviki)−1  ≤  k∗  ≤  kˉA=∑ivi ki\bar k_{\text{H}} = \left(\sum_i \frac{v_i}{k_i}\right)^{-1} \;\le\; k^{*} \;\le\; \bar k_{\text{A}} = \sum_i v_i\,k_i

permeabilities in any equal units

Holds when: The flow is single-phase and steady. The fine cells are isotropic (for anisotropic cells, we take the permeability of each direction separately). The bounds hold for any arrangement of the cells and for all three kinds of boundary conditions of the lesson, if k∗k^{*} is calculated from the flow in the block itself, with no buffer zone.

Permeability upscaling for single-phase flow →
Cardwell–Parsons bounds for flow along the xx axis
k‾x=1ny∑j=1nynx∑i=1nx1/kij,k‾x=nx[∑i=1nx(1ny∑j=1nykij)−1]−1,k‾x≤kx∗≤k‾x\begin{aligned} \underline{k}_x &= \frac{1}{n_y}\sum_{j=1}^{n_y}\frac{n_x}{\sum_{i=1}^{n_x} 1/k_{ij}},\\ \overline{k}_x &= n_x\left[\sum_{i=1}^{n_x}\left(\frac{1}{n_y}\sum_{j=1}^{n_y} k_{ij}\right)^{-1}\right]^{-1},\\ \underline{k}_x &\le k^{*}_x \le \overline{k}_x \end{aligned}

permeabilities in any equal units; cells of equal size (otherwise the means get weights of lengths and areas)

Holds when: The flow is single-phase and steady. The block has sealed side faces, or it is periodic. For linear boundary conditions the upper bound is not guaranteed (see the advanced section). In a three-dimensional block jj runs over all the cells of the yy–zz cross-section. For flow along yy, rows and columns swap roles.

Permeability upscaling for single-phase flow →
Cell equations of a block in steady flow
∑mTlm (pm−pl)+∑bTb (pb−pl)=0,Tlm=AfΔxl2kl+Δxm2km,Tb=2klAfΔxl\sum_{m} T_{lm}\,(p_m - p_l) + \sum_{b} T_{b}\,(p_b - p_l) = 0,\qquad T_{lm} = \frac{A_f}{\frac{\Delta x_l}{2k_l} + \frac{\Delta x_m}{2k_m}},\qquad T_b = \frac{2k_lA_f}{\Delta x_l}

metric oilfield: kk in mD, lengths in m, pressures in MPa. The viscosity and the constant 0.0853 are the same in all terms and cancel

Holds when: The flow is steady and the fluid is incompressible: there is no accumulation. There are no wells inside the block. The scheme has five points (seven in three dimensions): the cells are linked only through common faces, and the permeability tensor of the fine cells is diagonal (one value for each axis, with no cross terms). The equations are linear: the pressures can be written as fractions of the applied pressure difference, and k∗k^{*} does not depend on the size of the difference.

Permeability upscaling for single-phase flow →
Darcy's law for a block with a permeability tensor
⟨u⟩=−1μ K∗⟨∇p⟩,K∗=(kxx∗kxy∗kyx∗kyy∗),kxx∗=μ⟨ux⟩G,kyx∗=μ⟨uy⟩G\langle\mathbf{u}\rangle = -\frac{1}{\mu}\,\mathbf{K}^{*}\langle\nabla p\rangle,\qquad \mathbf{K}^{*} = \begin{pmatrix} k^{*}_{xx} & k^{*}_{xy}\\ k^{*}_{yx} & k^{*}_{yy}\end{pmatrix},\qquad k^{*}_{xx} = \frac{\mu\langle u_x\rangle}{G},\quad k^{*}_{yx} = \frac{\mu\langle u_y\rangle}{G}

SI (any consistent system)

Holds when: The averages are over the volume of the block. With periodic and linear conditions the average gradient equals the given one, and the average velocity is found from the rates through the faces (see the advanced section). The second calculation, with the gradient along yy, gives kyy∗k^{*}_{yy} and kxy∗k^{*}_{xy}. With these conditions a correctly calculated tensor is symmetric, kxy∗=kyx∗k^{*}_{xy} = k^{*}_{yx}, and kxx∗kyy∗>(kxy∗)2k^{*}_{xx}k^{*}_{yy} > (k^{*}_{xy})^2. With sealed side faces the average gradient acquires a transverse component that the calculation does not set. So from such calculations we take only the diagonal values.

Permeability upscaling for single-phase flow →
Transmissibility between coarse cells from the detailed model
TI,II∗=μ Q0.0853 (pˉI−pˉII)T^{*}_{I,II} = \frac{\mu\,Q}{0.0853\,\left(\bar p_{I} - \bar p_{II}\right)}

metric oilfield: QQ in m³/d, pp in MPa, μ\mu in mPa·s, T∗T^{*} in mD·m

Holds when: The flow is single-phase and steady. The problem is solved for the region between the centres of two cells (a local calculation) or for the whole model with wells (a global one). Like the equivalent permeability, the result depends on the boundary conditions of the local calculation. In the one-dimensional case the formula reduces to the sum of the resistances of the fine cells between the centres of the coarse ones.

Permeability upscaling for single-phase flow →
Well index of a coarse cell
WI∗=μ q0.0853 (pˉ0−pwf)\mathrm{WI}^{*} = \frac{\mu\,q}{0.0853\,\left(\bar p_0 - p_{wf}\right)}

metric oilfield, as in the lesson Well model in a grid block

Holds when: The flow to the well is single-phase and steady. The boundary conditions of the local calculation are, for example, the pressure of radial inflow on the outer boundary of the region. The index and the transmissibilities around the cell with the well are calculated together, from one calculation. If the cell pressure is taken as the average over its volume, the index of a uniform cell corresponds to a radius of about 0.35 Δx0.35\,\Delta x, not Peaceman's 0.2 Δx0.2\,\Delta x. The transmissibilities to the neighbours must be consistent with this. The skin factor of the wellbore is added separately, if it is not in the fine model.

Permeability upscaling for single-phase flow →
Average Darcy velocity from the rates through the faces of the block
⟨ux⟩=1V∑fxf qf,⟨uy⟩=1V∑fyf qf\langle u_x\rangle = \frac{1}{V}\sum_{f} x_f\,q_f,\qquad \langle u_y\rangle = \frac{1}{V}\sum_{f} y_f\,q_f

SI (any consistent system)

Holds when: The flow is steady, and there are no sources inside the block. The sum is over all the faces of fine cells on the boundary of the block.

Permeability upscaling for single-phase flow →
Pseudo relative permeability and pseudo saturation of a coarse cell
k^rf,x=k^f,xkx∗,S^w=∑iVi ϕi Sw,i∑iVi ϕi\hat k_{rf,x} = \frac{\hat k_{f,x}}{k^{*}_x},\qquad \hat S_w = \frac{\sum_i V_i\,\phi_i\,S_{w,i}}{\sum_i V_i\,\phi_i}

permeabilities in equal units; saturation as a fraction

Holds when: k∗k^{*} and k^f\hat k_f are calculated for one direction and under the same boundary conditions. The directions yy and zz have their own values. The sums run over the fine cells inside the coarse one. How to get k^f\hat k_f depends on the method. Steady-state methods solve single-phase problems, and dynamic methods take the rates and pressures from a displacement calculation.

Two-phase upscaling: pseudo-functions →
Pseudo relative permeabilities of a layered cell in the capillary equilibrium limit
pc,j(Sw,j)=Pc,k^rf∥=∑jkjhj krf(Sw,j)∑jkjhj,k^rf⊥=(∑jhj/(kjkrf(Sw,j)))−1(∑jhj/kj)−1p_{c,j}(S_{w,j}) = P_c,\qquad \hat k_{rf}^{\parallel} = \frac{\sum_j k_jh_j\,k_{rf}(S_{w,j})}{\sum_j k_jh_j},\qquad \hat k_{rf}^{\perp} = \frac{\left(\sum_j h_j/\bigl(k_jk_{rf}(S_{w,j})\bigr)\right)^{-1}}{\left(\sum_j h_j/k_j\right)^{-1}}

permeabilities in mD, thicknesses in m; pseudo relative permeabilities are dimensionless

Holds when: The layers are continuous over the whole cell, and each one is uniform. Along the layers they work in parallel, and across them in series (averaging over layers). The flow is slow: capillary forces have time to equalise the pressure between the layers (the criterion is below). The relative permeability and capillary pressure curves are those of the process being modelled (for waterflooding of a water-wet rock, imbibition).

Two-phase upscaling: pseudo-functions →
Ratio of capillary and viscous forces in a cell
Ncv=txtc=kv kro′ Δpc Lμo u H2N_{cv} = \frac{t_x}{t_c} = \frac{k_v\,k_{ro}'\,\Delta p_c\,L}{\mu_o\,u\,H^2}

SI

Holds when: This is an estimate of the order of magnitude, like the ratio of gravity to viscous forces in the lesson on layered reservoirs. The pressure difference Δpc/H\Delta p_c/H over the thickness of a layer takes the place of the gravity gradient. Ncv≫1N_{cv} \gg 1 is the capillary equilibrium limit. Ncv≪1N_{cv} \ll 1 means that capillary crossflows (flow of water between layers, driven by capillary forces) can be neglected. In between, a calculation is needed.

Two-phase upscaling: pseudo-functions →
Pseudo relative permeabilities and pseudo capillary pressure by the Kyte–Berry method
pˉf,I=∑jkjkrf,jhj(pf,j−ρfg(Dj−DˉI))∑jkjkrf,jhj,ΔΦˉf=pˉf,I−pˉf,II−ρfg (DˉI−DˉII),k^rf=μf qf Δx0.0853 k∗A ΔΦˉf,p^c=pˉo,I−pˉw,I\begin{aligned} \bar p_{f,I} &= \frac{\sum_j k_jk_{rf,j}h_j\bigl(p_{f,j} - \rho_fg(D_j - \bar D_I)\bigr)}{\sum_j k_jk_{rf,j}h_j},\qquad \Delta\bar\Phi_f = \bar p_{f,I} - \bar p_{f,II} - \rho_fg\,(\bar D_I - \bar D_{II}),\\ \hat k_{rf} &= \frac{\mu_f\,q_f\,\Delta x}{0.0853\,k^{*}A\,\Delta\bar\Phi_f},\qquad \hat p_c = \bar p_{o,I} - \bar p_{w,I} \end{aligned}

metric oilfield: kk in mD, qq in m³/d, pp in MPa, μ\mu in mPa·s, lengths in m

Holds when: The reservoir and the flow are the same as in the fine-grid calculation from which the pressures and rates were taken. The pseudo relative permeabilities are assigned to the saturation of the upstream block. If a phase is immobile in the whole column (all krf,j=0k_{rf,j} = 0), the weight has no meaning. In the examples of the lesson, the pressure of such a phase is averaged with the weight khkh. 0.08530.0853 is the constant of Darcy's law (Darcy's law). In a horizontal reservoir the gravity terms vanish.

Two-phase upscaling: pseudo-functions →
Block pressure with pore-volume weighted averaging
pˉf,I=∑i∈IViϕi (pf,i−ρfg(Di−DˉI))∑i∈IViϕi\bar p_{f,I} = \frac{\sum_{i\in I} V_i\phi_i\,\bigl(p_{f,i} - \rho_fg(D_i - \bar D_I)\bigr)}{\sum_{i\in I} V_i\phi_i}

metric oilfield, as above

Holds when: The rest is the same potential difference and Darcy's law as in the Kyte–Berry method. For the last block before a well, we use the difference with the pressure at its face and the distance Δx/2\Delta x/2.

Two-phase upscaling: pseudo-functions →
Pseudo functions of a cross-section at capillary–gravity equilibrium
S^w=∫0Hϕ Sw(z)  dz∫0Hϕ  dz,k^rf=∫0Hk krf(Sw(z)) dz∫0Hk  dz,pc(Sw(z))=pc(0)+Δρ g z\hat S_w = \frac{\int_0^H\phi\,S_w(z)\,\dd z}{\int_0^H\phi\,\dd z},\qquad \hat k_{rf} = \frac{\int_0^H k\,k_{rf}\bigl(S_w(z)\bigr)\dd z}{\int_0^H k\,\dd z},\qquad p_c\bigl(S_w(z)\bigr) = p_c(0) + \Delta\rho\,g\,z

SI

Holds when: Vertical equilibrium: the phase pressures equalise over the thickness faster than the front advances along the reservoir. The flow is along the reservoir: the pseudo relative permeabilities are the conductivities of the layers k krfk\,k_{rf}, added in parallel. Going through pc(0)p_c(0) from the largest to the smallest, we get a table (S^w,k^rw,k^ro)(\hat S_w, \hat k_{rw}, \hat k_{ro}). The capillary pressure is that of imbibition or of drainage, according to the process.

Two-phase upscaling: pseudo-functions →
The condition of scale separation
λ  ≪  Δ  ≪  L\lambda \;\ll\; \Delta \;\ll\; L

any equal units of length

Holds when: The condition is checked separately for each direction: the correlation lengths in the horizontal and the vertical directions differ by tens or hundreds of times. “Much less” means, in practice, a difference of a few times. When Δ\Delta is comparable to λ\lambda, the equivalent permeability of the cell depends on the boundary conditions of its calculation (the figure below).

Special topics in upscaling →
Directional permeability of a tensor
k(φ)=nTK n=kxxcos⁡2φ+kyysin⁡2φ+2kxysin⁡φcos⁡φk(\varphi) = \mathbf{n}^{\mathsf{T}}\mathbf{K}\,\mathbf{n} = k_{xx}\cos^2\varphi + k_{yy}\sin^2\varphi + 2k_{xy}\sin\varphi\cos\varphi

permeabilities in any equal units

Holds when: The flow is in the xx–yy plane, and the tensor is symmetric. The largest and smallest values, the principal permeabilities k1k_1 and k2k_2, are reached along the principal axes, turned by the angle α\alpha: tan⁡2α=2kxy/(kxx−kyy)\tan2\alpha = 2k_{xy}/(k_{xx} - k_{yy}). A scheme that leaves out kxyk_{xy} sees kxxcos⁡2φ+kyysin⁡2φk_{xx}\cos^2\varphi + k_{yy}\sin^2\varphi. Along a principal axis it is wrong by −(1−k2/k1)sin⁡22α/2-(1 - k_2/k_1)\sin^2 2\alpha/2.

Special topics in upscaling →
Darcy velocity near an injection well
u(r)=q2πrhu(r) = \frac{q}{2\pi r h}

m, d, m³ (any consistent units)

Holds when: Plane radial flow in a unit of constant thickness. The distribution of the inflow among the layers is not taken into account. Near other wells the picture of the flow is more complex. For an estimate of the order of magnitude, the formula is applied up to the middle of the distance between wells.

Special topics in upscaling →
First arrival of a tracer in a layered cross-section
WiD,1=ΔC1ΔF1=ϕ1h1/∑jϕjhjk1h1/∑jkjhjW_{iD,1} = \frac{\Delta C_1}{\Delta F_1} = \frac{\phi_1h_1\big/\sum_j\phi_jh_j}{k_1h_1\big/\sum_j k_jh_j}

dimensionless; kk and hh in any equal units

Holds when: The layers are continuous between the rows of wells, the flow in each is linear, and the pressure difference is the same. In single-phase flow there is then no crossflow between the layers. The tracer moves with the water without lag and smearing. The rate of each layer is proportional to kjhjk_jh_j, and its pore volume to ϕjhj\phi_jh_j.

Special topics in upscaling →
Saturation and relative permeability of a bundle of capillaries in drainage
So=∑ri≥rcNiri2∑iNiri2,kro=∑ri≥rcNiri4∑iNiri4,krw=1−kro\begin{gathered}S_o = \frac{\sum_{r_i \ge r_c} N_i r_i^2}{\sum_i N_i r_i^2},\\ k_{ro} = \frac{\sum_{r_i \ge r_c} N_i r_i^4}{\sum_i N_i r_i^4},\qquad k_{rw} = 1 - k_{ro}\end{gathered}

radii in equal units; in rcr_c consistent units (pcp_c in Pa, σ\sigma in N/m, rcr_c in m)

Holds when: The tubes have the same length and tortuosity, and each is completely filled with one phase (water films are neglected). The volume of a tube is proportional to r2r^2, and its Poiseuille conductance to r4r^4. Oil enters a tube as soon as pcp_c exceeds its entry pressure. The tubes are not connected to each other.

Pore-scale flow modelling →
Conductance of a throat and the balance of rates in a pore
qij=gij (pi−pj),gij=πrij48 μ ℓij,∑jgij (pj−pi)=0\begin{gathered}q_{ij} = g_{ij}\,(p_i - p_j),\qquad g_{ij} = \frac{\pi r_{ij}^4}{8\,\mu\,\ell_{ij}},\\ \sum_j g_{ij}\,(p_j - p_i) = 0\end{gathered}

SI (any consistent system)

Holds when: The flow is laminar Poiseuille flow in a cylindrical throat. For angular cross-sections a shape correction is introduced. The resistance of the pores themselves is neglected: they are much wider than the throats. The sum in the balance is over all the throats of the pore. On the inlet and outlet faces of the sample the pressures are set.

Pore-scale flow modelling →
Thresholds of imbibition: piston and snap-off
pcthroat=2σcos⁡θar,pcpore=2σcos⁡θaR,pcsnap-off=σ(cos⁡θa−sin⁡θa)r\begin{gathered}p_c^{\text{throat}} = \frac{2\sigma\cos\theta_a}{r},\qquad p_c^{\text{pore}} = \frac{2\sigma\cos\theta_a}{R},\\ p_c^{\text{snap-off}} = \frac{\sigma(\cos\theta_a - \sin\theta_a)}{r}\end{gathered}

SI: pcp_c in Pa with σ\sigma in N/m and radii in m

Holds when: Capillary equilibrium: the flow is so slow that the positions of the menisci are set only by the capillary pressure (a small capillary number: the viscous forces are weak compared with the capillary ones). The first two formulas are for a round cross-section. The snap-off formula is for a throat of square cross-section with water in the corners. At θa≥45°\theta_a \ge 45° snap-off is impossible in it. A pore is filled from one side (no cooperative filling).

Pore-scale flow modelling →
The JBN method: relative permeability at the outlet face from an unsteady-state experiment
fo2= dNpD dWi,Sw2=Sˉw−Wi fo2,Ir=q/Δp(q/Δp)0,kro(Sw2)kro′=fo2 d(1/(WiIr))/ d(1/Wi),krw(Sw2)=kro(Sw2) 1−fo2fo2 μwμo\begin{aligned} f_{o2} &= \frac{\dd N_{pD}}{\dd W_i},\qquad S_{w2} = \bar S_w - W_i\,f_{o2},\qquad I_r = \frac{q/\Delta p}{(q/\Delta p)_0},\\ \frac{k_{ro}(S_{w2})}{k_{ro}'} &= \frac{f_{o2}}{\dd\bigl(1/(W_iI_r)\bigr)/\dd(1/W_i)},\qquad k_{rw}(S_{w2}) = k_{ro}(S_{w2})\,\frac{1 - f_{o2}}{f_{o2}}\,\frac{\mu_w}{\mu_o} \end{aligned}

dimensionless; viscosities in equal units

Holds when: The assumptions of Buckley–Leverett hold: a uniform sample, incompressible phases, negligible capillary pressure and end effect, and stable displacement. The data are taken after water breakthrough. The derivatives are taken from smoothed dependences. To get the relative permeabilities as fractions of the absolute permeability, the result is multiplied by kro′k_{ro}'.

Petrophysical input for simulation: relative permeability and capillary pressure →
Normalised relative permeabilities and Corey exponents of a sample
Sn=Sw−Swi1−Swi−Sor,krw∗=krwkrw′,kro∗=krokro′,nw=∑ln⁡krw∗ ln⁡Sn∑(ln⁡Sn)2,no=∑ln⁡kro∗ ln⁡(1−Sn)∑(ln⁡(1−Sn))2S_n = \frac{S_w - S_{wi}}{1 - S_{wi} - S_{or}},\qquad k_{rw}^{*} = \frac{k_{rw}}{k_{rw}'},\quad k_{ro}^{*} = \frac{k_{ro}}{k_{ro}'},\qquad n_w = \frac{\sum \ln k_{rw}^{*}\,\ln S_n}{\sum (\ln S_n)^2},\quad n_o = \frac{\sum \ln k_{ro}^{*}\,\ln(1 - S_n)}{\sum \bigl(\ln(1 - S_n)\bigr)^2}

dimensionless; the sums are over the inner points of the sample

Holds when: In logarithms the Corey model is a straight line through the origin: ln⁡kr∗=nln⁡Sn\ln k_r^{*} = n\ln S_n. The least-squares method for such a line gives the formulas above. The points at the very ends (small SnS_n or 1−Sn1 - S_n) are distorted more strongly by the error of the end points, so we check them separately. If the Corey model does not describe the shape of the curves, we average the normalised relative permeabilities at equal SnS_n, or we take a more flexible fit.

Petrophysical input for simulation: relative permeability and capillary pressure →
The Leverett J-function of a rock type and the capillary pressure of a cell
J=31.4 pck/ϕσcos⁡θ,Sw∗=Sw−Swirr1−Swirr,J=Jd (Sw∗)−b,pc(Sw)=J σcos⁡θ31.4k/ϕJ = \frac{31.4\,p_c\sqrt{k/\phi}}{\sigma\cos\theta},\qquad S_w^{*} = \frac{S_w - S_{wirr}}{1 - S_{wirr}},\qquad J = J_d\,(S_w^{*})^{-b},\qquad p_c(S_w) = \frac{J\,\sigma\cos\theta}{31.4\sqrt{k/\phi}}

metric oilfield; JJ is dimensionless

Holds when: 31.4=1060.9869⋅10−15/10−331.4 = 10^6\sqrt{0.9869\cdot10^{-15}}/10^{-3} is the constant of the Leverett function for MPa, mD and mN/m (the lesson on capillary pressure). The power form is the same as in the example of the lesson on capillary pressure. Its parameters are chosen from the points by least squares in logarithms. The drainage curve is for the initial distribution of fluids. For a waterflood calculation we need an imbibition curve of its own.

Petrophysical input for simulation: relative permeability and capillary pressure →
Two-point scaling of a table by the end points of a cell
St=Swi,t+(Sw−Swi) 1−Swi,t−Sor,t1−Swi−Sor,krw(Sw)=krw,t(St) krw′krw,t′S_t = S_{wi,t} + (S_w - S_{wi})\,\frac{1 - S_{wi,t} - S_{or,t}}{1 - S_{wi} - S_{or}},\qquad k_{rw}(S_w) = k_{rw,t}(S_t)\,\frac{k_{rw}'}{k_{rw,t}'}

dimensionless

Holds when: Horizontal scaling (along the saturation axis) is a linear mapping of the interval [Swi,1−Sor][S_{wi}, 1 - S_{or}] of the cell onto the interval of the table. Three-point scaling adds an intermediate point (for example 1−Sor1 - S_{or} between the critical and the largest water saturation) and maps the two parts separately. The end points of a cell are set by maps, or by links with the properties of the cell. The capillary pressure is scaled consistently, through the Leverett function. The shape of the curve (the exponents) is common to the rock type.

Petrophysical input for simulation: relative permeability and capillary pressure →
The Land relation: the trapped saturation of the non-wetting phase
Sor∗=Soi∗1+C Soi∗,S∗=S1−Swi,C=1Sor,max⁡∗−1Soi,max⁡∗S_{or}^{*} = \frac{S_{oi}^{*}}{1 + C\,S_{oi}^{*}},\qquad S^{*} = \frac{S}{1 - S_{wi}},\qquad C = \frac{1}{S_{or,\max}^{*}} - \frac{1}{S_{oi,\max}^{*}}

fractions

Holds when: This is an empirical relation. CC is chosen from imbibition experiments at different initial saturations, or from one pair of end points. For gas the same holds, with Sgi∗S_{gi}^{*} and Sgr∗S_{gr}^{*}: trapped gas when water invades a gas cap, in water-alternating-gas injection, and in underground gas storage.

Petrophysical input for simulation: relative permeability and capillary pressure →
Stone's second model for the oil relative permeability (normalised form)
kro=krocw[(krowkrocw+krw)(krogkrocw+krg)−(krw+krg)]k_{ro} = k_{rocw}\left[\left(\frac{k_{row}}{k_{rocw}} + k_{rw}\right)\left(\frac{k_{rog}}{k_{rocw}} + k_{rg}\right) - (k_{rw} + k_{rg})\right]

fractions

Holds when: A water-wet rock: water is in the small pores, gas in the large ones, and oil between them. A negative result is set to zero. This is how the model sets the residual oil of three-phase displacement. krocwk_{rocw} must be the same in both two-phase tables. Otherwise, at Sg→0S_g \to 0 or Sw→SwiS_w \to S_{wi} the model does not return to the two-phase curves.

Petrophysical input for simulation: relative permeability and capillary pressure →
Capillary pressure at the inner face and the saturation there (the Hassler–Brunner method)
pcL=12 Δρ ω2(r22−r12),SL= d (pcL Sˉ) dpcL=Sˉ+pcL  dSˉ dpcLp_{cL} = \tfrac12\,\Delta\rho\,\omega^2\left(r_2^2 - r_1^2\right),\qquad S_L = \frac{\dd\,(p_{cL}\,\bar S)}{\dd p_{cL}} = \bar S + p_{cL}\,\frac{\dd\bar S}{\dd p_{cL}}

SI

Holds when: Equilibrium is reached at each rotation speed. At the outer face pc=0p_c = 0. The field of centrifugal force along the sample is taken as uniform. This is acceptable for short samples (r1/r2r_1/r_2 not less than about 0.7). Otherwise more accurate solutions are used. The derivative is taken from the smoothed dependence Sˉ(pcL)\bar S(p_{cL}) built from the speed steps.

Petrophysical input for simulation: relative permeability and capillary pressure →

Symbols

SymbolMeaning and context
Δt\Delta t
ΔQ\Delta Q
kˉ\bar k
  • the permeability that gives the same transmissibility over the distance between the centres (Δxi+Δxj)/2(\Delta x_i + \Delta x_j)/2: Tij=kˉA/[(Δxi+Δxj)/2]T_{ij} = \bar k A/[(\Delta x_i + \Delta x_j)/2], mDInterblock flow and transmissibility
q~\tilde q
Δx\Delta x
Δp\Delta p
Δx, A\Delta x,\ A
Δx, Δt\Delta x,\ \Delta t
Δx, Δt, A\Delta x,\ \Delta t,\ A
Δx, Δy\Delta x,\ \Delta y
Δx, Δy, Δz\Delta x,\ \Delta y,\ \Delta z
Δx, Δz\Delta x,\ \Delta z
Sˉ, SL\bar S,\ S_L
Δt, τ\Delta t,\ \tau
(⋅)↑(\cdot)_{\uparrow}
  • value in the upstream cell of the given phase: whichever of ii and jj has the higher potential of that phase, —Two-phase flow equations
(⋅)↑n+1(\cdot)_\uparrow^{n+1}
(krw/(μwBw))↑n\left(k_{rw}/(\mu_w B_w)\right)_\uparrow^{n}
⟨∇p⟩\langle\nabla p\rangle
⟨u⟩\langle\mathbf{u}\rangle
∥⋅∥\lVert\cdot\rVert
∥⋅∥, tn\|\cdot\|,\ t^{n}
∥e∥A\lVert\mathbf{e}\rVert_{\mathbf{A}}
∂2p/∂t2, ∂4p/∂x4\partial^2 p/\partial t^2,\ \partial^4 p/\partial x^4
∓\mp
  • the sign “−” is for the explicit scheme, “+” for the implicit one, —Numerical dispersion
pˉ0\bar p_0
  • pressure of the coarse cell in the same calculation, defined in the same way as the pressures of the neighbouring cells when the transmissibilities to them were calculated, MPaPermeability upscaling for single-phase flow
ΔC1, ΔF1\Delta C_1,\ \Delta F_1
  • shares of the storage capacity and of the flow capacity of this layer: the first point of the F–Φ curve, —Special topics in upscaling
AA
A\mathbf{A}
AfA_f
ai,i±1a_{i,i\pm1}
aija_{ij}
aijna_{ij}^{n}
Ail, biA_{il},\ b_i
Akl, bkA_{kl},\ b_k
A, Δx, kA,\ \Delta x,\ k
a=0.0853 kA/(μΔx)a = 0.0853\,kA/(\mu\Delta x)
bb
BB
BoB_o
Bo, Bw, BgB_o,\ B_w,\ B_g
BαB_\alpha
Bα, μα, ϕB_\alpha,\ \mu_\alpha,\ \phi
Δpc\Delta p_c
CC
C\mathbf{C}
cfc_f
ci\mathbf{c}_i
CiC_i
CijC_{ij}
cNc_N
co, cwc_o,\ c_w
ctc_t
ct,inc_{t,i}^{n}
Cx, CtC_x,\ C_t
C(S)C(S)
di, djd_i,\ d_j
Dj, DˉID_j,\ \bar D_I
dkcalcd_k^{\text{calc}}
  • calculated value of the same quantity at the same moment, units of the measurementHistory matching
dkcalc(m)d_k^{\text{calc}}(\mathbf{m})
  • calculated value of the kk-th measurement at the parameters m\mathbf{m}, units of the measurementHistory matching
dkmeasd_k^{\text{meas}}
  • measured (observed) value of the kk-th measurement: pressure, rate, water cut, gas–oil ratio, units of the measurementHistory matching
DnumD_{num}
Dnum(S)D_{num}(S)
  • numerical diffusion coefficient for the water saturation SS (it works like a real diffusion coefficient), m²/dNumerical dispersion
D, L, U\mathbf{D},\ \mathbf{L},\ \mathbf{U}
e(ν)\mathbf{e}^{(\nu)}
en, ψne^{n},\ \psi^{n}
FF
fgrowthf_{\text{growth}}
FjiF_{ji}
fo2f_{o2}
fwf_w
fw utf_w\,\mathbf{u}_t
fw′f_w'
  • the largest slope of the fractional flow curve between the saturation of the cell and the saturations of its upstream neighbours; to be safe for any saturations, the largest slope on the whole curve, —IMPES and fully implicit schemes
fw′(S)f_w'(S)
FαF_{\alpha}
pˉf,I\bar p_{f,I}
  • pressure of phase ff in block I: the average over the central column of fine cells jj, corrected to the depth of the block centre DˉI\bar D_I, MPaTwo-phase upscaling: pseudo-functions
k^f,x\hat k_{f,x}
  • equivalent phase permeability of the coarse cell along xx: the permeability at which the cell passes the same rate of the phase as the fine cells, mDTwo-phase upscaling: pseudo-functions
gg
GG
gijg_{ij}
GJ, GGS\mathbf{G}_J,\ \mathbf{G}_{GS}
g, Dg,\ D
G(ξ)G(\xi)
hh
HH
ii
x^i\hat x_i
i∈Ii \in I
I\mathbf{I}
IrI_r
pˉI, pˉII\bar p_I,\ \bar p_{II}
ΔSi, Δpi\Delta S_i,\ \Delta p_i
Δxi, Δxj\Delta x_i,\ \Delta x_j
I, 1\mathbf{I},\ \mathbf{1}
JJ
J\mathbf{J}
Jd, bJ_d,\ b
JlJ_l
K\mathbf{K}
k∗k^{*}
K∗\mathbf{K}^{*}
kx∗k^{*}_x
kyx∗k^{*}_{yx}
k1, k2k_1,\ k_2
kik_i
ki, ki+1k_i,\ k_{i+1}
ki, kjk_i,\ k_j
kijk_{ij}
kj, hjk_j,\ h_j
kj, krf,j, hjk_j,\ k_{rf,j},\ h_j
kl, kmk_l,\ k_m
kmk_m
krα, μα, Bαk_{r\alpha},\ \mu_\alpha,\ B_\alpha
  • relative permeability (how well the phase flows when other phases are present), viscosity and formation volume factor (the volume the phase takes at reservoir conditions per unit volume at the surface) of the phase, —, mPa·s, m³/m³Interblock flow and transmissibility
krα(Sw)k_{r\alpha}(S_w)
  • relative permeability curves (for example, from the Corey model, a common simple formula for them), —Two-phase flow equations
kro′k_{ro}'
krocwk_{rocw}
krog(Sg), krg(Sg)k_{rog}(S_g),\ k_{rg}(S_g)
krow(Sw), krw(Sw)k_{row}(S_w),\ k_{rw}(S_w)
krw′/krw,t′k_{rw}'/k_{rw,t}'
krw∗, kro∗k_{rw}^{*},\ k_{ro}^{*}
krw,t(St)k_{rw,t}(S_t)
kvk_v
kv, khk_v,\ k_h
k‾x, k‾x\underline{k}_x,\ \overline{k}_x
kx, kyk_x,\ k_y
kx, ky, kzk_x,\ k_y,\ k_z
kxx, kyy, kxyk_{xx},\ k_{yy},\ k_{xy}
k, hk,\ h
k, ϕk,\ \phi
k, ϕ, μ, ctk,\ \phi,\ \mu,\ c_t
k, krαk,\ k_{r\alpha}
k(φ)k(\varphi)
  • component of the Darcy velocity along n\mathbf{n} at a unit pressure gradient along n\mathbf{n}, written as a permeability, mDSpecial topics in upscaling
L\mathbf{L}
LL
lf, kfl_f,\ k_f
Lx, Ly, LzL_x,\ L_y,\ L_z
  • dimensions of the matrix block — the distances between fractures in the three directions; if there are no fractures in one direction, we leave out that term, mTypes of reservoir simulation model
L, HL,\ H
Δxl, Δxm\Delta x_l,\ \Delta x_m
m\mathbf{m}
MM
M\mathbf{M}
mim_i
minm_i^{n}
  • amount of fluid (a phase or a component) in cell ii at step nn; for oil in a black oil model it is convenient to express it in standard cubic metres (the volume the oil takes at surface conditions): Vp,i So,i/Bo,iV_{p,i}\,S_{o,i}/B_{o,i}, that is, pore volume × oil saturation ÷ the formation volume factor, which turns a reservoir volume into a surface volume, kg or standard m³What a reservoir simulation model is and why it is needed
mjpriorm_j^{\text{prior}}
  • prior estimate of the jj-th parameter — before the history is taken into account, units of the parameterHistory matching
mkim_{ki}
Δtmax⁡\Delta t_{\max}
nn
n\mathbf{n}
NN
Δtn, Δtn+1\Delta t^{n},\ \Delta t^{n+1}
Ni, riN_i,\ r_i
No, Nw, GN_o,\ N_w,\ G
nw, non_w,\ n_o
nx, nyn_x,\ n_y
Nx, NyN_x,\ N_y
n, n+1n,\ n + 1
n, n+1, Δtn,\ n + 1,\ \Delta t
NTG\mathrm{NTG}
q~o, q~w\tilde q_o,\ \tilde q_w
O(Δxm)O(\Delta x^m)
pp
p(ν)\mathbf{p}^{(\nu)}
p0p_0
pcp_c
PcP_c
pc,j(Sw)p_{c,j}(S_w)
pc(0)p_c(0)
pc(Sw)p_c(S_w)
pc(z)p_c(z)
pcLp_{cL}
pfp_f
pf,ip_{f,i}
pip_i
pin, pin+1p_i^{n},\ p_i^{n+1}
pin, pjnp_i^{n},\ p_j^{n}
pi−1n+1, pin+1, pi+1n+1p_{i-1}^{n+1},\ p_i^{n+1},\ p_{i+1}^{n+1}
pi, pi±1p_i,\ p_{i\pm1}
pi, pjp_i,\ p_j
pjn+1−pin+1p_j^{n+1} - p_i^{n+1}
plp_l
pl, pmp_l,\ p_m
pm, pfp_m,\ p_f
pnp^{n}
pn, pn+1p^{n},\ p^{n+1}
pn+1p^{n+1}
po, pcp_o,\ p_c
po(z)p_o(z)
prefp_{\text{ref}}
pref, zrefp_{\text{ref}},\ z_{\text{ref}}
pw=po−pc(Sw)p_w = p_o - p_c(S_w)
pwfp_{wf}
pα, ρα, μαp_\alpha,\ \rho_\alpha,\ \mu_\alpha
p, qp,\ q
pi′, pi′′, pi′′′, pi(4)p'_i,\ p''_i,\ p'''_i,\ p^{(4)}_i
p(x,y,z,t)p(x, y, z, t)
qq
QQ
QaccQ_{\text{acc}}
qfq_f
QgQ_g
qiq_i
QiQ_i
qi−1/2, qi+1/2q_{i-1/2},\ q_{i+1/2}
qijq_{ij}
ql, qq_l,\ q
qmfq_{mf}
qoq_o
qpotq_{\text{pot}}
qsq_s
qt,iq_{t,i}
qw,iq_{w,i}
QwellQ_{\text{well}}
Qwith, QwithoutQ_{\text{with}},\ Q_{\text{without}}
qα,iq_{\alpha,i}
qα,in+1q_{\alpha,i}^{n+1}
rr
RR
R\mathbf{R}
r(ν)\mathbf{r}^{(\nu)}
R∞R_\infty
r0r_0
r0, rw, h, Sr_0,\ r_w,\ h,\ S
r1, r2r_1,\ r_2
rcr_c
  • smallest radius of the tubes filled with oil at the capillary pressure pcp_c: rc=2σcos⁡θ/pcr_c = 2\sigma\cos\theta/p_c, µmPore-scale flow modelling
rer_e
rfr_f
rir_i
ri, ri+1r_i,\ r_{i+1}
rij, ℓijr_{ij},\ \ell_{ij}
RNR_N
  • result of the calculation (for example, oil recovery) on a grid with NN cells in the direction being refined; RN/2R_{N/2} and R2NR_{2N} are the same on a grid twice as coarse and twice as fine, %Grids in reservoir simulation models
RsR_s
rwr_w
rw, Sr_w,\ S
Rα,iR_{\alpha,i}
r, Rr,\ R
  • radii of the throat and of the pore (for a square throat rr is the radius of the inscribed circle), mPore-scale flow modelling
R, RexactR,\ R_{\text{exact}}
k^rf∥, k^rf⊥\hat k_{rf}^{\parallel},\ \hat k_{rf}^{\perp}
k^rf,x\hat k_{rf,x}
SS
SiS_i
Si, qi, Δt, pinS_i,\ q_i,\ \Delta t,\ p_i^{n}
Si, aijS_i,\ a_{ij}
Si, aij, qi, ΔtS_i,\ a_{ij},\ q_i,\ \Delta t
Si+1/2S_{i+1/2}
  • saturation at the face between cells ii and i+1i + 1, used to find the water fraction in the flow between them (the flow goes from ii to i+1i + 1), —Numerical dispersion
sjs_j
SjS_j
SnS_n
So, kro, krwS_o,\ k_{ro},\ k_{rw}
So, SwS_o,\ S_w
So, Sw, SgS_o,\ S_w,\ S_g
Soi∗, Sor∗S_{oi}^{*},\ S_{or}^{*}
Sor,max⁡∗S_{or,\max}^{*}
SwS_w
Sw, StS_w,\ S_t
Sw, BwS_w,\ B_w
  • water saturation and formation volume factor of water; BwB_w at the end of the step is taken at the new pressure, —, m³/m³IMPES and fully implicit schemes
Swi, SorS_{wi},\ S_{or}
Swi, Sor, krw′, kro′S_{wi},\ S_{or},\ k_{rw}',\ k_{ro}'
Swi,t, Sor,tS_{wi,t},\ S_{or,t}
SwirrS_{wirr}
S, pS,\ p
S=VpctS = V_p c_t
tt
q~t\tilde q_t
  • withdrawal of liquid at reservoir conditions per unit reservoir volume, Boq~o+Bwq~wB_o\tilde q_o + B_w\tilde q_w, 1/sTwo-phase flow equations
TT
TI,II∗T^{*}_{I,II}
Tb, pbT_b,\ p_b
tct_c
  • time for capillary forces to even out the saturation over the thickness HH, about ϕ ΔS μoH2/(kvkro′Δpc)\phi\,\Delta S\,\mu_oH^2/(k_vk_{ro}'\Delta p_c), sTwo-phase upscaling: pseudo-functions
ti, tjt_i,\ t_j
TijT_{ij}
TlmT_{lm}
txt_x
Tz, TxT_z,\ T_x
ΔStarget, Δptarget\Delta S_{\text{target}},\ \Delta p_{\text{target}}
uu
ut\mathbf{u}_t
uα\mathbf{u}_\alpha
uα,i±1/2u_{\alpha,i\pm1/2}
  • Darcy velocity of the phase through the face (its flow rate per unit area), positive in the direction of the xx axis, m/dTwo-phase flow equations
vv
VV
VbV_b
viv_i
ViV_i
ViϕiV_i\phi_i
Vi, AV_i,\ A
Vi, ϕi, Sw,iV_i,\ \phi_i,\ S_{w,i}
VpV_p
Vp,iV_{p,i}
Vp,i, Tij, ΔtV_{p,i},\ T_{ij},\ \Delta t
Vp(pref)V_p(p_{\text{ref}})
WW
WiW_i
Wi, NpDW_i,\ N_{pD}
WiDW_{iD}
WiD,1W_{iD,1}
  • the volume injected, in pore volumes of the cross-section, when the tracer arrives through the fastest layer, —Special topics in upscaling
wkw_k
  • weight of the measurement; 1 by default, changed to balance kinds of data with different numbers of points, —History matching
q~wres\tilde q_w^{\text{res}}
Sˉw, Sw2\bar S_w,\ S_{w2}
WI\mathrm{WI}
WI∗\mathrm{WI}^{*}
WIl\mathrm{WI}_l
x\mathbf{x}
  • vector of the unknowns at the end of the step (po,1, Sw,1, …, po,N, Sw,N)(p_{o,1},\ S_{w,1},\ \ldots,\ p_{o,N},\ S_{w,N}), MPa, —IMPES and fully implicit schemes
xf, yfx_f,\ y_f
xi(ν)x_i^{(\nu)}
zz
zFWLz_{\text{FWL}}
α\alpha
q~α\tilde q_\alpha
  • withdrawal of the phase per unit reservoir volume at standard conditions; non-zero only in cells with wells, 1/dTwo-phase flow equations
αν, βν\alpha_\nu,\ \beta_\nu
γα, D\gamma_\alpha,\ D
  • specific weight of the phase ραg\rho_\alpha g (in MPa/m it equals 0.00981 ρα0.00981\,\rho_\alpha with ρα\rho_\alpha in g/cm³) and the depth of the cell centre, measured downwards, MPa/m, mInterblock flow and transmissibility
Δ\Delta
δi, δj\delta_i,\ \delta_j
δx\delta\mathbf{x}
Δρ\Delta\rho
Δρ g\Delta\rho\,g
ΔΦˉf\Delta\bar\Phi_f
ε\varepsilon
εMB\varepsilon_{MB}
εR\varepsilon_R
η\eta
η=0.0853 k/(ϕμct)\eta = 0.0853\,k/(\phi\mu c_t)
ηx, ηy, ηz\eta_x,\ \eta_y,\ \eta_z
θ\theta
θa\theta_a
κ\kappa
λ\lambda
λmin⁡, λmax⁡\lambda_{\min},\ \lambda_{\max}
λofw ∣ dpc/ dSw∣\lambda_o f_w\,|\dd p_c/\dd S_w|
λofw=λoλw/λt\lambda_o f_w = \lambda_o\lambda_w/\lambda_t
  • common factor of the capillary and gravity flows; it is small if only one phase can move, m²/(Pa·s)Two-phase flow equations
λo, λw\lambda_o,\ \lambda_w
λt\lambda_t
λt,ijn\lambda_{t,ij}^{n}
  • total mobility at the face per unit permeability, (kro/μo)↑+(krw/μw)↑(k_{ro}/\mu_o)_\uparrow + (k_{rw}/\mu_w)_\uparrow: each phase is taken from its own upstream cell, 1/(mPa·s)IMPES and fully implicit schemes
λα\lambda_\alpha
  • mobility of the phase; where permeability depends on direction (an anisotropic reservoir), the permeability tensor (a set of permeabilities for the different directions) replaces kk, m²/(Pa·s)Two-phase flow equations
λα↑\lambda_{\alpha\uparrow}
μ\mu
μ, B\mu,\ B
μf\mu_f
μo, u, kro′\mu_o,\ u,\ k_{ro}'
μw, μo\mu_w,\ \mu_o
ν\nu
ξ\xi
ρ, ϕ\rho,\ \phi
ρ(G)\rho(\mathbf{G})
ρfg\rho_fg
ρJ, ρGS, ρSOR\rho_J,\ \rho_{GS},\ \rho_{SOR}
ρo\rho_o
ρo, ρw\rho_o,\ \rho_w
ρo, ρw, g, D\rho_o,\ \rho_w,\ g,\ D
ρo,sc, ρg,sc\rho_{o,\text{sc}},\ \rho_{g,\text{sc}}
σ\sigma
σ, η, Δt, Δx\sigma,\ \eta,\ \Delta t,\ \Delta x
σ, θ\sigma,\ \theta
  • interfacial tension and the receding contact angle (the contact angle while oil pushes water out, measured through the water), N/m, °Pore-scale flow modelling
σcos⁡θ\sigma\cos\theta
σk\sigma_k
  • measurement error (standard deviation, the typical size of the random error), including the inaccuracy of tying the measurement to the model, units of the measurementHistory matching
  • error of the kk-th measurement, units of the measurementHistory matching
τ\tau
τ, pwf\tau,\ p_{wf}
τi\tau_i
ϕ\phi
φ\varphi
ϕˉ, Sˉw\bar\phi,\ \bar S_w
ϕ, μ, ct\phi,\ \mu,\ c_t
ϕ, Sα, Bα\phi,\ S_\alpha,\ B_\alpha
ϕi, Sw,i\phi_i,\ S_{w,i}
ϕj, kj, hj\phi_j,\ k_j,\ h_j
Φα\Phi_\alpha
Φα, γα\Phi_\alpha,\ \gamma_\alpha
  • potential of the phase and its specific weight ραg\rho_\alpha g (weight per unit volume), MPa, MPa/mTwo-phase flow equations
Φα,i, Φα,j\Phi_{\alpha,i},\ \Phi_{\alpha,j}
Ψ(r)\Psi(r)
ψin\psi_i^{n}
ω\omega
ωopt\omega_{opt}