PNG 506 · Elements of Reservoir Simulation
Our notes
2 min readThree properties
- Consistency: as Δx and Δt → 0, the difference equation becomes the differential equation (truncation error → 0). Shown by Taylor series.
- Stability: errors (round-off, initial errors) do not grow without bound as the computation proceeds.
- Convergence: the numerical solution approaches the true solution as Δx, Δt → 0.
Lax equivalence theorem
For a well-posed linear initial-value problem and a consistent scheme: stability ⟺ convergence. So we check consistency (usually easy) and stability (the real work).
Von Neumann (Fourier) stability analysis
Put an error of the form εᵢⁿ = Gⁿ e^(jθi) (j = √−1) into the scheme and find the amplification factor G. Stable if |G| ≤ 1 for all θ.
Explicit scheme: εᵢⁿ⁺¹ = εᵢⁿ + r(εᵢ₊₁ⁿ − 2εᵢⁿ + εᵢ₋₁ⁿ) gives
G = 1 + r(e^(jθ) − 2 + e^(−jθ)) = 1 − 2r(1 − cos θ) = 1 − 4r sin²(θ/2).
Worst case sin² = 1: G = 1 − 4r. |G| ≤ 1 needs r ≤ ½:
Δt ≤ Δx²/(2η).
Implicit scheme: G = 1/(1 + 4r sin²(θ/2)), always ≤ 1: unconditionally stable.
The limit in practice
Worked example. η = 13,190 ft²/hr (from the single-phase topic), Δx = 100 ft.
Δt ≤ 100²/(2 × 13,190) = 10,000/26,380 = 0.38 hours. Simulating 20 years would need over 460,000 explicit steps; near a well, blocks are smaller and the limit is even tighter. This is why simulators use implicit methods.
Seeing instability
Three blocks at 3,000 psi next to a boundary held at 2,000 psi; explicit update of block 1: p₁ⁿ⁺¹ = 3,000 + r(3,000 − 2 × 3,000 + 2,000) = 3,000 − 1,000r.
- r = 0.25: 2,750 psi (sensible: falling towards 2,000).
- r = 0.5: 2,500 psi (the limit).
- r = 2: 1,000 psi, below the boundary value: physically impossible, and on the next step the error swings back larger. That is instability.
Stability is not the same as accuracy
An implicit scheme is stable for any Δt but a huge Δt still gives an inaccurate answer (fronts smeared, pressure transients missed). Time steps are chosen to limit changes per step (for example at most 200 psi or 0.05 in saturation), not only for stability.
Other errors
- Numerical dispersion: upstream weighting of mobilities with coarse blocks smears sharp saturation fronts (the error acts like extra diffusion); reduced by finer grids or higher-order methods.
- Grid orientation effect: in adverse-mobility displacements, results depend on whether flow runs along or diagonal to the grid; reduced by nine-point schemes.
- Round-off: finite computer precision, usually small with double precision.
IMPES stability
In IMPES (pressure implicit, saturation explicit) the explicit saturation update has a throughput limit: roughly the volume flowing through a block in one step must not exceed its pore volume (a CFL-type condition).
Exams usually ask: define consistency, stability and convergence; state the Lax equivalence theorem; carry out von Neumann analysis of the explicit and implicit schemes; compute the maximum stable time step; distinguish stability from accuracy; numerical dispersion.
Common mistake: concluding that an unconditionally stable scheme can use any time step. Stability only keeps errors bounded; accuracy still limits the step size.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Von Neumann stability analysis
(opens en.wikipedia.org in a new tab)
Wikipedia, Von Neumann stability analysis, CC BY-SA 4.0 · licence
-
Lax equivalence theorem
(opens en.wikipedia.org in a new tab)
Wikipedia, Lax equivalence theorem, CC BY-SA 4.0 · licence
-
Courant–Friedrichs–Lewy condition
(opens en.wikipedia.org in a new tab)
Wikipedia, Courant–Friedrichs–Lewy condition, CC BY-SA 4.0 · licence
Watch
-
Best pick Von Neumann Stability Analysis of the FTCS Scheme | Lecture 70 | Numerical Methods for Engineers
15 min · ≈ 68 MB · about ₦38
(opens youtube.com in a new tab)
-
Review of implicit vs. explicit schemes
13 min · ≈ 59 MB · about ₦33
(opens youtube.com in a new tab)
-
Explicit and Implicit Time Discretization
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Crank-Nicolson Method for the Diffusion Equation | Lecture 72 | Numerical Methods for Engineers
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Forward, backward, central finite differences and errors
24 min · ≈ 108 MB · about ₦61
(opens youtube.com in a new tab)
-
Discussion on upwinding
23 min · ≈ 104 MB · about ₦58
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.