| ProjectSample Project — Demonstration Only | Job No.SAMPLE-001 | Client— |
| CalculationWater Hammer Calculator — Joukowsky Surge Pressure and Wave Speed | Calc byPiping Toolset (calc-core) | Checked byUNCHECKED — sample |
| Date2026-07-31 | Rev0 | BasisJoukowsky surge ΔP = ρ·a·ΔV/(144·g) with elastic pipe-wall wave-speed correction; critical closure period 2L/a |
A water line — NPS 12 Schedule 40 carbon steel, 12.0 in bore on a 0.375 in wall — running 2,000 ft from a supply vessel to a valve. Water at 62.4 lb/ft³ with a bulk modulus of 300,000 psi, steel at 29.5×10⁶ psi, thin-wall anchored restraint (c₁ = 1.0). The valve closes on a flow of 5 ft/s.
| Bulk modulus K | 300,000 | psi |
| Density ρ | 62.4 | lb/ft³ |
| Pipe modulus E | 29,500,000 | psi |
| Inside diameter D | 12 | in |
| Wall thickness t | 0.375 | in |
| Restraint coefficient c₁ | 1.0 | — |
| Velocity change ΔV | 5 | ft/s |
| Line length L | 2,000 | ft |
Three results, computed in sequence. Pressure wave speed first, with the elastic pipe-wall correction:
a = √( K·144·g / ρ ) ⁄ √( 1 + c1·(K/E)·(D/t) )
The numerator is the rigid-pipe acoustic speed in the fluid; the denominator is the compliance correction. Note what drives it: the ratio K/E (how soft the pipe material is relative to the fluid) times D/t (how thin-walled the pipe is). A thin-walled plastic line is soft on both counts and its wave speed collapses; a heavy-wall steel line is close to rigid.
Joukowsky surge — the instantaneous pressure rise for a velocity change ΔV:
ΔP = ρ · a · ΔV / (144 · g)
Critical closure period — the wave round-trip time:
tc = 2 · L / a
Units are US customary throughout: K and E in psi, ρ in lb/ft³, ΔV in ft/s, L in ft, g = 32.174 ft/s². The 144 converts ft² to in² so ΔP lands in psi. The restraint coefficient c1 depends on how the pipe is anchored — whether it is free to move axially, anchored at one end, or fully restrained against longitudinal movement — and is your input; approximately 1.0 is typical for a thin-walled anchored line.
Entering L = 0 suppresses the critical-time output and returns wave speed and surge only, which is the right mode when you want the surge magnitude for a valve or pump-trip screen and the line length is not yet fixed. Every run carries a standing warning that ΔP is the instantaneous worst case: it is the rise on top of the operating pressure, and taking credit for a slower closure requires a transient analysis, not a rule of thumb.
| waveSpeed — pressure wave speed a | 4099.44 | ft/s |
| surgePressure — Joukowsky surge ΔP | 276.065 | psi |
| criticalTime — critical closure period | 0.9757 | s |
The result values above are locked as fixture water-hammer.json, case
“water in 12 in steel line, dV=5 ft/s, L=2000 ft”, tolerance 0.05, in the calc-core continuous
verification gate (see https://pipingtoolset.com/trust/validation.html). Allowable-stress and factor data are
user-supplied inputs; citations: N. E. Joukowsky, 'Über den hydraulischen Stoss in Wasserleitungsröhren' (1898) — the momentum-based derivation of ΔP = ρ·a·ΔV. · Standard elastic pipe-wall wave-speed correction, a = a_rigid / √(1 + c₁·(K/E)·(D/t)), with c₁ set by the pipe restraint condition — user-supplied. · ASME B31.4, Pipeline Transportation Systems for Liquids and Slurries — surge pressure provisions; codes commonly permit a bounded overpressure above MAOP for surge, evaluated against the code of record. · Constant: g = 32.174 ft/s²; the factor 144 converts lb/ft² to psi. Physical and unit constants, not code values.