Toolvito

Works on this device

Water Hammer Calculator

Water hammer is the pressure surge that runs through a pipe when a valve closes or a pump stops and the flow changes fast. Work out the size of the surge, the speed of the pressure wave and how slowly a valve must close.

Enter your values

The surge pressure when a valve closes faster than 2L ÷ a: Δp = ρ × a × Δv.

Your values

998.2 kg/m³ is water at about 20 °C (example).

Work it out with the wave speed choice of this tool, or use your own data. 1,200 m/s is an example for water in a steel pipe.

0 for a valve that closes fully. For a valve that closes in part, the velocity that is left.

With it, the tool also gives the force of the surge on the closed valve.

Gauge pressure at the valve while the liquid flows. With it, the tool gives the highest and lowest pressure of the surge.

From the valve back to the tank or reservoir that reflects the wave. With it, the tool gives the critical closure time 2L ÷ a.

Your values are worked out in this browser. They are not sent to a server.

Your result will show here

Fill in the values, then choose Calculate.

How to use this calculator

  1. Choose Pressure rise for a fast valve closure for the surge, Pressure wave speed in a pipe for the speed a, or Critical closure time for a valve that closes slowly.
  2. Enter the liquid and the pipe. The menu in the wave speed choice fills in rounded example values for some pipe materials; check them against your own data.
  3. From the wave speed result, choose Use this wave speed for the pressure rise to carry it over.
  4. Choose Calculate. You can change the units and read the working under the result.

The formulas

  • Joukowsky equation (rapid closure): Δp = ρ × a × Δv, or as a head ΔH = a × Δv ÷ g. ρ is the density of the liquid, a the wave speed and Δv the change of velocity.
  • Wave speed (Korteweg, thin-walled pipe): a = √((K ÷ ρ) ÷ (1 + c₁ × K × D ÷ (E × e))). K is the bulk modulus of the liquid, D the inside diameter, e the wall thickness and E the Young's modulus of the wall.
  • Restraint factor c₁ (Wylie and Streeter): 1 − ν² for a pipe anchored along its length, 1 − ν ÷ 2 for a pipe anchored at its upstream end only, 1 for a pipe with expansion joints. ν is Poisson's ratio of the wall.
  • Critical closure time: 2L ÷ a, the time the wave needs to go to the far end of the pipe and back. A closure in this time or less gets the full Joukowsky rise.
  • Michaud's formula (slow closure, closure time T above 2L ÷ a): Δp ≈ 2 × ρ × L × v ÷ T.

Worked examples

Water (998.2 kg/m³) at 1.5 m/s is stopped at once in a pipe with a wave speed of 1,300 m/s. The rise is 998.2 × 1,300 × 1.5 = 1,946,490 Pa, about 19.46 bar, or a head of 198.8 m.

The pipe is 800 m long, so 2L ÷ a = 1.231 s. A valve that closes evenly in 5 s gives about 2 × 998.2 × 800 × 1.5 ÷ 5 = 479,136 Pa (4.79 bar) by Michaud's formula.

Water in a steel pipe (E 200 GPa, ν 0.30) with D = 150 mm and a 5 mm wall, anchored along its length: c₁ = 0.91 and a = 1,481.2 ÷ √1.2989 = 1,299.6 m/s.

The same water in a PVC pipe (E 3 GPa, ν 0.45, anchored at one end) with D = 110 mm and a 5.3 mm wall has a = 414.9 m/s, so the same change of velocity gives less than a third of the rise.

Limits you should know

  • The pipe is one line of one size and material, and friction is left out. Air in the liquid, pumps, branches, changes of size and check valves change the surge; a real system needs a transient (surge) analysis.
  • When the pressure of the returning wave falls to a vacuum, the liquid boils and the column can break apart. When it closes again the pressure can go above the Joukowsky value.
  • Michaud's formula assumes that the velocity falls evenly. Most valves stop most of the flow in the last part of their stroke, so use the time in which the flow really stops.
  • The wave speed formula is for a thin-walled pipe (D ÷ e above about 25). For a thicker wall the result is an estimate.
  • Liquid and wall values are your own figures. The example values are rounded and are not data for your pipe.
  • The results are arithmetic for checking and learning, not a design approval. This is not professional advice.

Related pages

Related tools