FIELDWORK / SYSTEMS LAB
INTERACTIVE SCIENCE
ENGINEERING / WATER NETWORKS

Water Hammer: Pressure Waves in Pipes

Close a valve. Follow the pressure wave. Discover why a quiet water line can suddenly behave like a spring.

LIVE CUTAWAY / PRESSURE FIELD
READY
DRAG TO PANRIGHT DRAG MOVES THE SCENE RIGHTt = 0.000 s · ILLUSTRATIVE

The pipe is at its initial steady flow. Start the simulation to close the valve and launch a compression wave.

VALVE PRESSURE RISE ILLUSTRATIVE
0.00 bar
at the valve · gauge
PEAK PRESSURE RISE ILLUSTRATIVE
0.00 bar
largest valve transient
WAVE SPEED ILLUSTRATIVE
1,315 m/s
Korteweg estimate
ROUND-TRIP TIME ILLUSTRATIVE
0.380 s
valve → reservoir → valve
HOOP-STRESS ESTIMATE ILLUSTRATIVE
0.0 MPa
thin-wall estimate
SOLVER VALIDATION

Independent numerical checks

3 CHECKS
Joukowsky impulseInstant valve closure vs textbook Δp = ρaΔV
0.00% difference
PASS
Wave transitMeasured reservoir arrival vs textbook L/a
0.00% difference
PASS
Continuity balanceIntegrated storage change vs boundary flow
0.00% residual
PASS

Checks are rerun when a parameter changes. They use an independent instantaneous-closure test, not the live run.

MODEL NOTESThe scienceEQUATIONS, ASSUMPTIONS AND LIMITS ⌄

Governing equations

The model uses the one-dimensional, linear water-hammer equations for head H and volume flow Q:

∂H/∂t + (a² / gA) ∂Q/∂x = 0
∂Q/∂t + gA ∂H/∂x = 0

Here A is pipe area, g is gravitational acceleration and a is the pressure-wave speed. The method of characteristics advances the two travelling wave families with a fixed Courant number of one.

Wave speed and pressure rise

The Korteweg estimate includes water compressibility and elastic pipe-wall compliance:

a = √[(K/ρ) / (1 + KD / Ee)]

For rapid closure, the textbook Joukowsky relation is Δp = ρaΔV. When a linear closure is slow compared with the wave round trip, the first peak is approximated by Δp ≈ 2ρLV/Tc. The experiment compares the measured peak with the appropriate regime estimate.

What is simplified

The pipe is straight, uniform and horizontal. Water is treated as single-phase, with constant density and bulk modulus. The reservoir fixes the upstream pressure head; the valve reduces flow linearly. Friction, branches, air pockets, cavitation, temperature changes, support motion and nonlinear valve characteristics are omitted. These effects can materially alter real transients.

What is illustrative

The geometry, initial speed, material modulus and wall thickness are adjustable teaching values, not a real installation. The hoop-stress estimate uses the thin-wall relation σθ ≈ pD/(2e). Its 120 MPa visual threshold is deliberately illustrative and is not a certified allowable stress, pressure rating or prediction of rupture. The scene geometry is scaled for clarity.

Textbook constants

Water density ρ = 998 kg/m³, bulk modulus K = 2.2 GPa and gravitational acceleration g = 9.80665 m/s² are used as representative textbook values near ordinary laboratory conditions. Real values vary with temperature, pressure and dissolved gas.

Made with 🤖 ChatGPT