Water Hammer Simulator: Joukowsky Equation & Pressure Transients

simulator advanced ~12 min
Loading simulation...
ΔP = 3.6 MPa (36 bar) — severe water hammer

Instantaneous closure of flow at 3 m/s in a pipe with wave speed 1200 m/s produces a Joukowsky pressure rise of 3.6 MPa (36 bar). The pressure wave reflects from the reservoir every 2L/a = 0.83 seconds.

Formula

ΔP = ρ × a × V (Joukowsky pressure rise)
T = 2L / a (pressure wave reflection period)
a = √(K/ρ × 1/(1 + K·D/(E·e))) (wave speed in elastic pipe)

The Hammer Blow

Turn off a faucet quickly and you may hear a loud bang — that is water hammer. When flowing water is suddenly stopped, its momentum must go somewhere. The kinetic energy converts to elastic strain energy in both the fluid and the pipe wall, producing a pressure spike that can be tens or hundreds of times the normal operating pressure. In large pipelines, uncontrolled water hammer has ruptured pipes, destroyed valves, and caused catastrophic flooding.

Joukowsky's Equation

In 1898, Nikolai Joukowsky derived the fundamental relationship: the pressure rise from instantaneous flow stoppage equals the product of fluid density, wave speed, and flow velocity. For water in a steel pipe (ρ = 1000 kg/m³, a = 1200 m/s, V = 3 m/s), this gives ΔP = 3.6 MPa — a 36-bar spike on top of static pressure. The equation assumes closure is faster than the wave's round-trip time 2L/a.

Wave Propagation & Reflection

The pressure wave created at the valve travels upstream at the wave speed a, compressing the fluid and expanding the pipe. When it reaches the open reservoir, the pressure boundary condition reflects the wave as a rarefaction (low-pressure wave) that travels back to the valve. This cycle repeats, with the pressure at the valve alternating between high and low, gradually decaying due to friction and minor losses. The period 2L/a is the fundamental frequency of the transient.

Mitigation Strategies

Engineers combat water hammer through design and operational measures. Slow-closing valves ensure closure time exceeds 2L/a, spreading the pressure rise over multiple wave cycles. Surge tanks and air vessels absorb energy elastically. Pressure relief valves cap maximum pressure. Pump stations use flywheels or variable-frequency drives for gradual speed changes. This simulator visualizes the pressure wave propagation and shows how closure time relative to 2L/a controls the severity of the transient.

FAQ

What is water hammer?

Water hammer is a pressure transient caused by sudden changes in flow velocity — typically from rapid valve closure, pump trip, or demand change. The kinetic energy of the moving fluid converts to pressure energy, producing a shock wave that travels through the pipe at the speed of sound in the fluid-pipe system (800-1400 m/s in water pipes).

What is the Joukowsky equation?

The Joukowsky (or Joukowski) equation gives the maximum pressure rise from instantaneous flow stoppage: ΔP = ρaV, where ρ is fluid density, a is pressure wave speed, and V is the initial flow velocity. Nikolai Joukowsky published this in 1898 after studying Moscow's water supply.

How can water hammer be prevented?

Mitigation strategies include: slow-closing valves (tc >> 2L/a), surge tanks or air vessels to absorb energy, pressure relief valves, flywheel-equipped pumps for gradual deceleration, and keeping flow velocities low. Pipeline design should include transient analysis for all operating scenarios.

What determines pressure wave speed?

Wave speed depends on fluid bulk modulus, pipe material elasticity, pipe diameter, and wall thickness: a = √(K/ρ / (1 + K·D/(E·e))), where K is bulk modulus, E is Young's modulus, D is diameter, and e is wall thickness. Steel pipes give ~1200 m/s; plastic pipes as low as 300 m/s.

Sources

Embed

<iframe src="https://homo-deus.com/lab/hydraulics/water-hammer/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub