MMYSIMULATOR.UK/ENGINEERING FIELD STUDIES
WATER NETWORKS · TRANSIENT FLOW

Water Hammer: The Pressure Wave in a Pipe

READY TO RUN
CUTAWAY TEST RIG · FIXED-STEP MODEL
PEAK SURGE AT VALVE
0.00 MPa
illustrative model · gauge rise
VALVE FLOW
— L/s
illustrative model · volume rate
WAVEFRONT POSITION
— m
illustrative model · from reservoir
ELAPSED TIME
0.000 s
illustrative model · simulation clock
WHAT YOU ARE SEEING

A steady stream is moving through the pipe. Run the test to close the valve and launch a pressure wave upstream.

CHANGE THE SYSTEM

Test conditions

ILLUSTRATIVE INPUTS
MODEL VALIDATION

Independent checks

INDEPENDENT CHECKS
Surge estimateTEXTBOOK
0.00 MPavs0.00 MPa
illustrative model vs frictionless textbook estimate · 0.0% difference
Initial friction dropBRUTE FORCE
0.0 kPavs0.0 kPa
illustrative model vs textbook Darcy–Weisbach · equivalent head 0.00 m · textbook g · 0.0% difference
Volume continuityILLUSTRATIVE
0.000 Lvs0.000 L
illustrative model storage vs net flow · 0.0% difference
MEASURE A SURGE

Run the valve test

Measure the peak at the valve, then compare it with the textbook estimate for this closure time.

The scienceequations · assumptions · limits

Governing equations

The one-dimensional elastic water-hammer equations use pressure p, mean velocity u, water density ρ, effective wave speed a, pipe diameter D, and Darcy friction factor f:

∂p/∂t + ρa² ∂u/∂x = 0
∂u/∂t + (1/ρ) ∂p/∂x = −f u|u| / (2D)

At the upstream reservoir, pressure is held fixed. At the valve, velocity falls linearly from its initial value to zero over the selected closing time. The equations are advanced on a staggered one-dimensional grid with a fixed time step and a Courant number below one.

Reference estimates

Δp = ρaΔu — rapid closure (Joukowsky)
Δp ≈ 2ρLΔu / tc — slow, linear closure estimate
Δpfriction = f(L/D)ρu² / 2
Δh = Δp / (ρg) — equivalent pressure head

The surge check uses the smaller of the rapid-closure and slow-closure estimates as a frictionless textbook envelope. Water density is 998 kg/m³ (textbook reference near 20 °C); gravitational acceleration is 9.80665 m/s² (textbook reference). The selected wave speed and friction factor are illustrative properties of the combined pipe-and-water system.

What is simplified

This is a single straight pipe with one reservoir and one valve. The model treats the water-and-pipe response as one-dimensional and elastic, uses a constant wave speed and friction factor, and does not resolve valve geometry, pipe-wall stress, branches, pumps, air pockets, cavitation, column separation, or viscoelastic damping. The pipe-rating threshold is an illustrative comparison, not an engineering certification. If exceeded, the crack and spray are a warning graphic only; structural rupture and post-break flow are not simulated.

All live system settings and model outputs are illustrative. Reference constants and comparison equations are labelled textbook. The drawing is scaled to fit the display and is not a dimensional engineering drawing.

Made with 🤖 ChatGPT