ENGINEERING PHYSICS WATER NETWORKS

Water hammer.

A valve closes. A pressure wave races through the pipe.

SINGLE-PIPE TRANSIENT MODELSingle pipe · water · fixed-head reservoir
01PIPELINE / CUTAWAY
RUNNING
pressure disturbance pressure sensorSchematic geometry · pressure scale is illustrative
VALVE PRESSURE ILLUSTRATIVE
15.00 bar
absolute pressure at the valve
PEAK PRESSURE ILLUSTRATIVE
15.00 bar
maximum reached in the pipe
VALVE FLOW ILLUSTRATIVE
37.70 L/s
instantaneous volumetric flow
ROUND TRIP TEXTBOOK
0.48 s
reservoir and back, 2L / a
JOUKOWSKY RISE TEXTBOOK
12.00 bar
instantaneous-closure reference
02 / CHANGE THE CONDITIONS

Set the pipe and valve

All adjustable values are illustrative model inputs.
PRESETS
240 m
50 m500 m
1,000 m/s
700 m/s1,400 m/s
1.2 m/s
0.5 m/s4.0 m/s
0.80 s
0.02 s2.00 s
200 mm
80 mm400 mm
0.020
0.0080.050
35 bar
20 bar80 bar
SIMULATION TIME · ILLUSTRATIVE0.000 sfixed-step MOC
03 / WHAT YOU ARE SEEING

The valve is closing. A compression wave travels upstream at the acoustic wave speed.

WAVE FRONT IN MOTION
04 / MEASURE AN EXPERIMENT

How large was the surge?

Run one complete closure test. The model records the largest pressure rise and compares it with the instantaneous-closure Joukowsky reference.

No experiment recorded yet.
05 / MODEL VALIDATION

Three independent numerical checks

LIVE CHECKS
Joukowsky limit TEXTBOOK
0.000% · illustrative difference

One-step MOC pressure rise for an instantaneous valve stop versus ρaΔV.

Wave transit TEXTBOOK
0.000% · illustrative difference

Independent right-going pulse test versus the calculated travel time to the valve end.

Pipe area integral BRUTE FORCE
0.000% · illustrative difference

256 illustrative annular strips integrated across the bore versus the exact circular-area flow.

06 / MODEL NOTESThe science+

Governing equations

The model solves the linearised one-dimensional water-hammer equations for pressure-head disturbance h and velocity disturbance u:

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

Here a is wave speed, g is gravitational acceleration, f is the Darcy friction factor, V₀ is initial mean velocity and D is internal diameter. The method of characteristics advances the two travelling-wave invariants on a uniform grid with Δx = aΔt.

Δp = ρaΔV   (Joukowsky)

What is simplified

The pipe is straight, circular, uniform and horizontal. Water density and wave speed are constant. The upstream reservoir holds a fixed pressure head; the valve imposes a linear reduction in velocity over the chosen closing time. The friction term is linearised around the initial flow.

Branching networks, pump dynamics, pipe-wall layers, viscoelasticity, changing temperature, air pockets, cavitation bubbles and fluid-column separation are not resolved. If the computed absolute pressure reaches the vapour-pressure guard, the run stops and flags the limit rather than pretending a single-phase solution remains valid.

Numbers and interpretation

Water density ρ = 998 kg/m³ and gravitational acceleration g = 9.81 m/s² are textbook approximations. The 15 bar starting pressure, dimensions, wave-speed slider, friction values, valve law and pipe rating are illustrative inputs, not a specification for a real installation.

The pressure rating is a threshold marker only. Crossing it does not calculate yielding, cracking or rupture. The cutaway is a schematic object; its proportions and glow are scaled for legibility, not a pressure map to engineering scale.

Educational model only · not a pipe-design or safety tool. The displayed values are not a substitute for a transient analysis of a real installation.
Made with 🤖 ChatGPT