MY SIMULATOR
FIELD NOTES / HYDRAULICS
INTERACTIVE MODEL
01 / SETUP 1D TRANSIENT

Water hammer

A fast valve closure launches a pressure wave through the water main. Change the conditions and watch the surge travel.

illustrative
500m
100 m1,000 m
illustrative
1,100m/s
800 m/s1,400 m/s
illustrative
1.20m/s
0.20 m/s2.50 m/s
illustrative
0.08s
0.02 s3.00 s
illustrative
0.35s⁻¹
0 s⁻¹2.00 s⁻¹
Render quality

Slider values and the pipe rating are illustrative. Water density is textbook: 998 kg/m³.

PIPELINE CUTAWAY / PRESSURE TRANSIENT RUNNING
04 / MODEL VERIFICATION

Three independent checks

textbook equations
Joukowsky surge scaled
13.17 bar0.00% difference

Initial valve pressure against the closure-adjusted pressure-rise equation.

Wave-speed probe scaled
1,097 m/s0.27% difference

A separate Gaussian pulse is tracked across the numerical grid.

Undamped energy scaled
Conserved0.00% difference

Discrete wave energy before and after one round trip with damping set to zero.

05 / REFERENCEThe science+

Governing equations

Δp = ρ a Δv

Joukowsky pressure rise for rapid closure.

Δp ≈ min(ρaΔv, 2ρLΔv / Tc)

A practical slow-closure reduction when the closure lasts longer than the wave round trip.

∂²p/∂t² + γ ∂p/∂t = a² ∂²p/∂x²

Linear damped pressure-wave equation, solved on a one-dimensional grid.

C = aΔt / Δx = 0.45

Fixed time step chosen below the one-dimensional Courant stability limit.

Boundary conditions

The upstream reservoir is held at zero gauge pressure: p(0,t) = 0. The closed valve has zero pressure gradient: ∂p/∂x(L,t) = 0, so an arriving pressure wave reflects with the same pressure sign.

What is simplified

The model uses constant water density and wave speed, a straight uniform pipe, linear wave motion and a single damping coefficient. It does not resolve pipe branches, nonlinear friction, cavitation, column separation, valve mechanics or changing pipe-wall properties.

What is illustrative

The smoothed starting front makes the initial condition resolvable on the grid. The 16 bar pipe rating is an illustrative comparison, not a universal design limit. Slider values describe a teaching scenario, not a real installation.

Constants and units

Water density ρ = 998 kg/m³ is a textbook reference value. Pressure readouts are gauge pressure in bar; 1 bar = 100,000 Pa. Length, speed and time are shown in SI units.

Made with 🤖 ChatGPT