Water hammer calculator
Calculate the water hammer surge pressure when a valve closes (Joukowsky and Michaud), the pressure wave speed and the minimum closing time to stay below a pressure.
When a valve is slammed shut, the water that was moving stops and its energy turns into pressure. That surge pressure, water hammer, travels along the pipe as a wave and can burst pipes, joints and pumps. This calculator gives you the surge pressure according to the pipe material and the closing time, and the other way round: the minimum closing time to stay below a given pressure.
How to use the calculator
- Choose the pipe material and enter its inside diameter and its wall thickness: they are used to calculate the wave speed.
- Enter the pipe length up to the valve, the water velocity and the closing time, and you will get the surge pressure.
- To find out how long the valve should take to close, enter the surge pressure you can accept and leave the time empty.
Wave speed: Korteweg formula
Where a is the pressure wave speed (m/s), K = 2.19 GPa the bulk modulus of water, ρ = 998 kg/m³ its density, D the inside diameter, e the wall thickness and E the modulus of elasticity of the pipe material. In an infinitely rigid pipe, a would be the speed of sound in water (about 1480 m/s).
| Material | E (GPa) | a with D / e = 20 (m/s) |
|---|---|---|
| Steel | 210 | 1347 |
| Ductile iron | 170 | 1321 |
| Concrete | 30 | 944 |
| PVC | 3 | 375 |
| PE100 | 1 | 221 |
Fast closure: Joukowsky equation
If the valve closes in less time than the wave takes to go and come back (critical time T = 2L / a), the surge pressure is the maximum:
With water at 1 m/s in a steel pipe, about 13 bar. That is why a valve on a long line should never be slammed shut.
Slow closure: Michaud formula
If the closure lasts longer than 2L / a, the wave reflected at the tank reaches the valve before it finishes closing and dampens the surge:
The longer the closure, the lower the surge pressure. Solving for t, the minimum closing time to stay below a surge pressure is t = 2 · ρ · L · v / Δp.
Worked example
A 500 m steel pipe with a 100 mm inside diameter and 4 mm wall, with water at 1.5 m/s and a valve that closes in 2 s:
If the valve were slammed shut, the surge pressure would be ρ · a · v = 998 · 1319 · 1.5 ≈ 19.7 bar.
Frequently asked questions
What is water hammer?
The sudden pressure rise that occurs when the water in a pipe is stopped abruptly, by closing a valve or stopping a pump. The energy of the moving water turns into pressure and travels along the pipe as a wave, at more than 1000 m/s in steel pipes.
When is a closure fast?
When the valve closes in less time than the wave takes to travel from the valve to the tank and back (2L / a). Then the surge pressure is the Joukowsky maximum, however slow the last turns of the handwheel are.
How is it prevented?
By closing more slowly (slow-closing valves or actuators with a set stroke time), starting and stopping pumps with a variable speed drive, and with surge vessels, surge tanks or relief valves.
Why is water hammer much lower in PE?
Because the plastic pipe is elastic: it expands with pressure and the wave travels much more slowly (about 250 to 350 m/s compared with more than 1200 m/s in steel). The surge pressure is proportional to that speed.
