PNG 506 · Elements of Reservoir Simulation
Our notes
2 min readThree building blocks
- Conservation of mass for a control volume: mass in − mass out + mass from wells = change of mass stored.
- Darcy's law (the flow rate in terms of the pressure gradient).
- An equation of state (how density, B and φ depend on pressure).
Derivation in one dimension
Take a slab of cross-section A and length Δx. Mass flux in at x and out at x + Δx, a well term q, and accumulation ∂(φρ)/∂t over the volume AΔx. Dividing by Δx and letting Δx → 0:
−∂(ρu A)/∂x + q_m = A ∂(φρ)/∂t, with u = −(k/μ) ∂p/∂x.
In oilfield, surface-volume form (standard in simulators):
∂/∂x[β_c (k_x A_x/(μB)) ∂p/∂x] Δx + q_sc = (V_b/α_c) ∂(φ/B)/∂t.
In 3D the left side has the same term in y and z (with gravity in z).
Special cases
- Incompressible fluid (φ, B constant): the right side is zero, so ∂/∂x(k ∂p/∂x) = 0 (Laplace's equation when k is uniform). Pressure responds instantly; no time stepping needed.
- Slightly compressible fluid (liquid, small constant c): ∂(φ/B)/∂t ≈ (φc_t/B) ∂p/∂t, giving the diffusivity equation (uniform k, μ):
∂²p/∂x² = (φμc_t/k) ∂p/∂t (in consistent units).
The linear equation that underlies well testing (PNG 501).
- Compressible fluid (gas): B_g and μ depend strongly on p; the equation is nonlinear (often written with pseudo-pressure).
Hydraulic diffusivity
η = k/(φμc_t) tells how fast a pressure disturbance spreads. In oilfield units with t in hours, η = 0.0002637 k/(φμc_t) ft²/hr.
Worked example. k = 100 md, φ = 0.20, μ = 1 cp, c_t = 1 × 10⁻⁵ psi⁻¹:
η = 0.0002637 × 100/(0.20 × 1 × 10⁻⁵) = 0.02637/(2 × 10⁻⁶) = 13,190 ft²/hr.
Radius of investigation r_inv ≈ 0.029√(kt/(φμc_t)) ft. After 24 hours: 0.029 × √(100 × 24/(2 × 10⁻⁶)) = 0.029 × √(1.2 × 10⁹) = 0.029 × 34,640 ≈ 1,000 ft.
Low-permeability or high-compressibility rock means slower spreading, a fact we will meet again in time-step stability.
Radial form
Near wells flow is radial: (1/r) ∂/∂r(r ∂p/∂r) = (1/η) ∂p/∂t. Simulators handle wells with a well model (boundary conditions topic) rather than tiny radial grids, except in single-well studies.
Conditions needed
- Initial condition: pressure everywhere at t = 0 (often hydrostatic equilibrium).
- Boundary conditions: no flow, constant pressure, or a known flux at the outer boundary; rate or bottom-hole pressure at wells.
Exams usually ask: derive the single-phase flow equation from first principles; reduce it for incompressible and slightly compressible fluids; write the diffusivity equation and hydraulic diffusivity; explain why gas flow is nonlinear; state the initial and boundary conditions needed.
Common mistake: forgetting that the accumulation term involves both porosity and fluid volume factor changing with pressure. Total compressibility must include rock compressibility c_φ, not only fluid compressibility.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Lie, An Introduction to Reservoir Simulation (MRST): Mathematical models for single-phase flow
Open-access chapter: the page has a free PDF. Fuller and more mathematical than our notes, with MATLAB examples. Page about 0.7 MB.
(opens cambridge.org in a new tab)
Lie, An Introduction to Reservoir Simulation Using MATLAB/GNU Octave (Cambridge University Press), Lie, An Introduction to Reservoir Simulation (MRST): Mathematical models for single-phase flow, CC BY-NC-ND 4.0 · licence
-
Darcy's law
(opens en.wikipedia.org in a new tab)
Wikipedia, Darcy's law, CC BY-SA 4.0 · licence
-
Diffusion equation
(opens en.wikipedia.org in a new tab)
Wikipedia, Diffusion equation, CC BY-SA 4.0 · licence
Watch
-
Review of single phase flow in porous media equations
14 min · ≈ 63 MB · about ₦35
(opens youtube.com in a new tab)
-
Transmissabilty form of the single phase flow equations
11 min · ≈ 50 MB · about ₦28
(opens youtube.com in a new tab)
-
Review methods for deriving conservation equations
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Lec 13: Fundamentals of Reservoir Fluid Flow
1 h · ≈ 270 MB · about ₦152
(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.