Skip to content
Guides

Water hammer: surge pressure when a valve closes

How to estimate water hammer surge pressure with the Joukowsky equation, work out the pressure wave speed in steel and plastic pipe, and judge how slowly a valve must close, with a worked example.

By Site AdministratorUpdated 7 min read

Shut a valve quickly on a long pipeline full of moving water and you hear a bang, sometimes followed by a series of knocks. That is water hammer: the moving column of liquid is stopped, its momentum is turned into a pressure wave, and the pressure at the valve can jump by tens of bar in a fraction of a second. It cracks pipes, blows gaskets, damages pumps and lifts pipe supports. The size of the surge can be estimated with one short formula before the line is built. This guide shows how to calculate it, how to find the pressure wave speed for steel and plastic pipe, how slowly a valve must close to avoid the full surge, and a worked example.

Diagram of a pipeline of length L from a tank to a valve, with flow velocity v and a pressure wave of speed a travelling back from the closed valve

A pipeline of length L from a tank to a valve. When the valve closes, a pressure wave travels back up the pipe at speed a.

What happens when a valve closes

While the valve is open, the liquid moves at velocity v. When the valve shuts, the layer of liquid next to it stops first and is compressed, and the pipe wall around it stretches slightly. That layer stops the one behind it, and so on, so a front of high pressure runs back up the pipe at the pressure wave speed a, typically 1,000 to 1,400 m/s in steel pipe. When it reaches the tank it reflects as a low-pressure wave and returns to the valve. The round trip takes 2L/a seconds, where L is the pipe length. The waves keep travelling back and forth, weakened each time by friction, until the liquid comes to rest.

The Joukowsky equation

For a valve that closes faster than one round trip of the wave, the pressure rise is given by the Joukowsky equation:

ΔP = ρ × a × Δv

  • ΔP is the pressure rise, in Pa (100,000 Pa = 1 bar).
  • ρ is the liquid density, in kg/m³ (about 998 for water at 20 °C).
  • a is the pressure wave speed in the pipe, in m/s.
  • Δv is the change in flow velocity, in m/s. For a full closure it equals the velocity before closure.

As a head, the same rise is Δh = a × Δv ÷ g, with g = 9.81 m/s². The surge adds to the pressure already in the line, so the peak pressure at the valve is the working pressure plus ΔP. Notice what is missing: pipe length does not appear. A short line and a long line give the same surge if the valve closes fast enough; length only decides how fast is "fast enough".

For a sense of scale: in steel pipe carrying water, every 1 m/s of velocity stopped suddenly adds roughly 13 bar.

How fast the pressure wave travels

In a perfectly rigid pipe the wave would travel at the speed of sound in the liquid, √(K ÷ ρ), where K is the bulk modulus of the liquid. For water K is about 2.2 GPa, which gives about 1,485 m/s. A real pipe wall stretches as the pressure rises, and this slows the wave. The usual formula for a thin-walled pipe is:

a = √(K ÷ ρ) ÷ √(1 + (K ÷ E) × (D ÷ e))

  • K is the bulk modulus of the liquid, in Pa (about 2.2 × 10⁹ for water).
  • E is the elastic modulus of the pipe material, in Pa: about 200 × 10⁹ for steel and about 3 × 10⁹ for PVC-U.
  • D is the internal diameter and e the wall thickness, in the same units.

Some references add a factor close to 1 for the way the pipe is anchored; for a first estimate it can be left out. Typical wave speeds for water are:

  • Steel and ductile iron: about 1,000 to 1,400 m/s.
  • PVC-U: about 300 to 500 m/s.
  • Polyethylene (HDPE): about 200 to 350 m/s, depending on wall thickness.

Flexible plastic pipe gives a much smaller surge than steel for the same velocity change, but it also has a lower pressure rating, so the surge still matters. Entrained air also lowers the wave speed, but the amount is unpredictable, so don't count on it as protection.

Fast or slow closure: the critical time

The time for the wave to travel to the tank and back is the critical time:

tc = 2L ÷ a

  • If the valve closes in less than tc, the reflected low-pressure wave arrives too late to help and the full Joukowsky surge develops. This is called rapid closure.
  • If the valve closes over a time T much longer than tc, the returning waves cancel much of the rise. A rough estimate for even closure is Michaud's formula: ΔP ≈ 2 × ρ × v × L ÷ T.

Use Michaud's formula with care. Most valves cut off very little flow in the first part of their stroke and most of it near the end, so the effective closure time is shorter than the stroke time. In practice closure must take several times 2L/a before the surge falls noticeably. For long lines or critical services, a computer water hammer (transient) analysis is the proper tool. The theory and its history are summarised in the Wikipedia article on water hammer.

Worked example: a 600 m steel water line

A pump delivers water at 20 °C through 600 m of DN150 Schedule 40 steel pipe (internal diameter 154.1 mm, wall 7.11 mm) at 2.0 m/s, about 134 m³/h. The working pressure at the valve at the far end is 6 bar(g). What happens if the valve is shut quickly?

Step 1: pressure wave speed

  • √(K ÷ ρ) = √(2.2 × 10⁹ ÷ 998) = 1,485 m/s.
  • (K ÷ E) × (D ÷ e) = (2.2 ÷ 200) × (154.1 ÷ 7.11) = 0.011 × 21.7 = 0.238.
  • a = 1,485 ÷ √1.238 = 1,485 ÷ 1.113 = about 1,334 m/s.

Step 2: surge pressure

  • ΔP = 998 × 1,334 × 2.0 = 2,663,000 Pa, about 26.6 bar, or 272 m of water head.
  • Peak pressure at the valve: 6 + 26.6 = about 32.6 bar(g), more than five times the working pressure and above the rating of PN25 flanges and valves.

Step 3: critical closure time

  • tc = 2 × 600 ÷ 1,334 = 0.90 s.
  • A quarter-turn ball or butterfly valve shut in under a second gives the full 26.6 bar surge.

Step 4: closing the valve slowly

  • With a gear operator or actuator closing evenly over 10 s, Michaud's formula gives ΔP ≈ 2 × 998 × 2.0 × 600 ÷ 10 = 239,500 Pa, about 2.4 bar.
  • Because a real valve cuts most of the flow near the end of its stroke, the actual rise may be several times that, but it is still far below the 26.6 bar of a sudden closure.

Now compare a plastic line. A 160 mm PN10 PVC-U pipe (wall 7.7 mm, internal diameter 144.6 mm, E ≈ 3 GPa) at the same 2.0 m/s has a wave speed of only about 386 m/s. The sudden-closure surge is 998 × 386 × 2.0 = about 7.7 bar, and tc = 1,200 ÷ 386 = 3.1 s. That looks mild, but 6 + 7.7 = 13.7 bar is well above the pipe's 10 bar rating.

Bar chart of surge pressure at 2 m/s: 26.6 bar for sudden closure in steel pipe, 7.7 bar in PVC-U pipe and about 2.4 bar for a steel line closed over 10 seconds

Surge pressure in the example line at 2.0 m/s: sudden closure in steel and in PVC-U, and the steel line closed evenly over 10 s.

How to reduce water hammer

  • Close valves slowly. On long lines, use gear operators or actuators with a set closing time of several times 2L/a.
  • Keep velocity down. Surge is proportional to velocity, so a larger pipe at 1 m/s has half the surge of a smaller one at 2 m/s.
  • Start and stop pumps gently. A soft starter or variable-frequency drive ramps the flow up and down instead of switching it.
  • Plan for pump trip. A power failure stops the pump within seconds and can drop the pressure low enough to form vapour pockets; when they collapse, the spikes can exceed the Joukowsky value. Surge vessels, air chambers or relief valves protect against this.
  • Use non-slam check valves. Spring-assisted or nozzle check valves close before the flow reverses and avoid the slam of a swing check valve.
  • Vent the air. Air pockets pushed along and compressed in the line cause their own sharp spikes; fit air release valves at high points.

Practical points for water hammer checks

Work out the wave speed, multiply it by the density and the velocity you are stopping, and add the result to the working pressure. If the peak is above the rating of the pipe and fittings, or the valve closes faster than 2L/a, plan the protection before the line is built rather than after the first burst.

#Joukowsky equation#pressure wave speed#surge pressure#pipeline#water hammer#valve closure

Keep reading