UNIHIVE

Study Hub UNIPORT PNG 506

PNG 506 · Elements of Reservoir Simulation

Consistency, convergence and stability

What makes a numerical scheme trustworthy: consistency, stability, convergence, the Lax equivalence theorem, von Neumann analysis of the explicit scheme, and the time-step limit.

Our notes

2 min read

Three 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

Watch

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.

All PNG 506 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.