Water Hammer Calculator
Surge pressure from a sudden velocity change in a pipeline. Computes the pressure wave speed for an elastic pipe wall, the Joukowsky surge head and pressure, the critical closure time 2L/a, and a slow-closure estimate when the valve closes more gradually.
Defaults: 12-inch steel main, ¼-inch wall, water, 5 ft/s stopped, 2,000 ft to the reservoir, valve closed in 0.5 s. Surge adds to the steady operating pressure; check the total against the pipe's pressure rating.
Why closure time matters more than anything else
Once a valve closes faster than the critical time 2L/a, the surge is set entirely by the wave speed and the velocity change — making the valve close even faster changes nothing, because the full Joukowsky pressure has already formed before any reflected wave can return. Close it more slowly than 2L/a and the low-pressure reflection from the upstream reservoir arrives in time to cancel part of the rise. That is why long pipelines use slow-closing actuators: on 2,000 ft of steel pipe the critical time is about one second, and closing over ten seconds cuts the surge by roughly a factor of ten.
The slow-closure estimate uses the Michaud approximation, which assumes the flow decelerates linearly. Real valves do not — most of the flow reduction in a gate or butterfly valve happens in the last 10–20% of travel — so the effective closure time is shorter than the actuator time. Treat the slow-closure value as an order-of-magnitude check and use a transient analysis for final design.
Typical pressure wave speeds for water-filled pipe
| Pipe | E (psi) | D/e | a (ft/s) | ΔP per 1 ft/s (psi) |
|---|---|---|---|---|
| Rigid pipe (theoretical limit) | ∞ | — | 4,843 | 65.2 |
| Ductile iron, 12 in × 0.34 in wall | 24,000,000 | 35.3 | 4,002 | 53.9 |
| Steel, 12 in × 0.25 in wall | 30,000,000 | 48 | 3,947 | 53.2 |
| PVC DR18, 12 in × 0.67 in wall | 400,000 | 17.9 | 1,244 | 16.8 |
Computed from the wave-speed equation above. K and ρ are for fresh water near 60–70°F; bulk modulus rises slightly with temperature to about 50°C, and entrained air reduces wave speed sharply — a fraction of a percent of free air by volume can cut a in half.
Pipe restraint factor c₁
| Pipe support condition | c₁ |
|---|---|
| Expansion joints throughout (axial movement free) | 1.0 |
| Anchored against axial movement throughout | 1 − ν² |
| Anchored at the upstream end only | 1 − ν/2 |
For steel (ν ≈ 0.30) c₁ ranges only from 0.85 to 1.0, changing wave speed by a few percent. The wall stiffness ratio K·D/(E·e) matters far more.
Worked examples
Example 1 — Rapid valve closure on a steel main
Example 2 — Same valve, 10-second closure
Example 3 — PVC instead of steel
References: Wylie, E.B., Streeter, V.L. (1993). Fluid Transients in Systems. Prentice Hall. Joukowsky, N. (1898). Über den hydraulischen Stoss in Wasserleitungsröhren. AWWA Manual M11, Steel Pipe — A Guide for Design and Installation. AWWA Manual M23, PVC Pipe — Design and Installation.
Related tools
- Total dynamic head — steady operating head the surge adds to
- Lift station sizing — force mains are classic pump-trip surge cases
- Pump brake horsepower
- Hazen-Williams head loss
- Pipe sizes & inside diameters — D and wall thickness by material