THE HIDDEN FORCE IN A WATER MAIN

Water hammer.

Close a valve. Watch a pressure wave race through the pipe, reflect at the reservoir, and return.

ENGINEERING STUDY · WATER NETWORKS A one-dimensional transient-flow model

LIVE APPARATUS

Reservoir → pipe → valve

RUNNING
pressure disturbance water column DRAG THE PROBE TO INSPECT THE PIPE
WHAT YOU'RE SEEING

The valve is closing. A compression wave is being launched into the water column.

PROBE PRESSURE RISEILLUSTRATIVE
0.0kPa
local pressure at the probe
PROBE PRESSURE HEADILLUSTRATIVE
0.00m
local pressure head at the probe
VALVE FLOWILLUSTRATIVE
26.5L/s
initial discharge
ONE-WAY TRAVELTEXTBOOK
120ms
reservoir to valve

MEASURE IT YOURSELF

Wave-speed experiment

01 / EXPERIMENT

Use two virtual pressure taps along the pipe. The model times the same arriving compression front at each tap, then calculates speed from distance divided by elapsed time.

MEASURED WAVE SPEED—Run the test to compare with the selected wave speed.

MODEL VALIDATION

Independent checks

LIVE COMPARISONS
Peak surge vs closure theoryCOLLECTING

Measured peak — · reference —

Difference —
First arrival at far pressure tapCOLLECTING

Measured time — · reference —

Difference —
Grid phase speed vs continuumREADY

Grid phase speed — · reference —

Difference —
Numerical stability marginSTABLE

Courant number — · stability limit 1.00

Below limit —

Pressure theory assumes a uniform pipe and small disturbances. The numerical model includes a finite grid and linearised friction.

MODEL NOTESThe scienceEQUATIONS, ASSUMPTIONS & LIMITS +

Governing equations

The simulation solves the linear water-hammer equations for pressure head h and velocity disturbance u:

∂h/∂t + (a²/g) ∂u/∂x = 0
∂u/∂t + g ∂h/∂x + (fV₀/D)u = 0

Here a is wave speed, g is gravitational acceleration, f is the Darcy friction factor, V₀ is initial mean speed and D is pipe diameter. The valve imposes a linearly decreasing boundary velocity; the reservoir holds pressure head at its reference value.

Benchmarks & numerical method

For rapid closure, the Joukowsky estimate is Δp = ρaΔV. For slow linear closure, the displayed comparison uses the approximate rigid-column estimate Δp ≈ 2ρLV₀/tc. The wave travel time is L/a.

A staggered-grid, fixed-step leapfrog update advances velocity and pressure head. The time step is set by Δt = 0.42Δx/a (scaled numerical setting), keeping the Courant number below the one-dimensional wave-equation stability limit.

What is simplified

The pipe is straight, uniform and one-dimensional. Water and pipe-wall response are represented by a single effective wave speed. The reservoir is an ideal constant-pressure boundary; the valve closes linearly; friction is linearised around the initial flow. Branches, fittings, cavitation, air pockets, elastic plasticity and structural failure are not modelled.

Textbook and illustrative values

Water density is set to 998 kg/m³ (textbook approximate value for cool water); gravitational acceleration is 9.81 m/s² (textbook). Pipe geometry, flow, wave speed, friction and the 2.0 MPa comparison rating are illustrative inputs, not a design specification. The drawing is visually scaled; its proportions are not engineering dimensions.

Educational model only. Real pipeline transients require system-specific data and professional engineering analysis.

Made with 🤖 ChatGPT