Article Overview Water hammer is one of the most critical transient hydraulic phenomena in water transmission and pumping systems. Among controllable parameters, the closure time of the control valve is the most practically impactful design variable. This article presents the complete mathematical framework governing the surge pressure–closure time relationship, introduces the concept of critical time Tc, derives the slow-closure attenuation formula, and extends the discussion to practical modelling using Bentley OpenFlows HAMMER. Interactive calculators are embedded for live design exploration.

1. Introduction

Water hammer — also referred to as hydraulic transient or pressure surge — occurs in pressurised pipeline systems whenever the rate of flow changes rapidly. The kinetic energy of the moving fluid column converts instantaneously into pressure energy, generating a wave that propagates at the acoustic wave speed. Left unmanaged, this surge pressure can exceed the static working pressure by several multiples, leading to pipe rupture, joint failure, pump damage, or structural collapse.

In practice, the hydraulic engineer has relatively few tools to actively mitigate water hammer once pipeline geometry and material are fixed. The control valve, however, offers a proactive design lever: by extending closure time, the designer can dramatically reduce peak surge pressure without additional infrastructure. This article examines that relationship in full mathematical and practical detail, and links the analytical approach directly to industry-standard numerical simulation using Bentley OpenFlows HAMMER.


2. Physics of Water Hammer

When a control valve begins to close, the cross-sectional area available to flow decreases. The fluid immediately upstream decelerates, generating a pressure rise that propagates upstream as a compression wave at the acoustic (pressure wave) speed a. The full cycle of wave travel — from valve to the upstream reservoir and back — defines the critical period. If closure completes within this period, the reflected relief wave arrives too late, and the full instantaneous pressure rise is realised.

H₀ Reservoir V₀ wave speed a L (Pipeline Length) Control Valve ΔP = ρ·a·ΔV
Fig. 1 — Reservoir–pipeline–valve system: compression wave propagates upstream upon valve closure at speed a.

3. The Joukowsky Equation — Instantaneous Closure

For an instantaneous and complete valve closure, the maximum pressure rise is given by the Joukowsky equation:

ΔP = ρ · a · ΔV
ΔP = Pressure rise (Pa)  |  ρ = Water density ≈ 1,000 kg/m³
a = Acoustic wave speed (m/s)  |  ΔV = Velocity change = V₀ for full closure

The acoustic wave speed depends on both fluid compressibility and pipe-wall elasticity (Korteweg formula):

a = √[ K/ρ / (1 + (K/E) · (D/e) · c₁) ]
K = Bulk modulus of water ≈ 2.1 GPa  |  E = Pipe elastic modulus  |  D = Internal diameter  |  e = Wall thickness
Pipe MaterialE (GPa)Typical a (m/s)Typical Application
Rigid (theoretical)1,450Reference case
Steel (Carbon)206900–1,200Transmission mains
Ductile Iron1701,000–1,250Distribution, WTPs
GRP / FRP20–40400–700Gravity mains
HDPE (PE100)0.8–1.0200–400Water supply, effluent
PVC-U2.7–3.5250–450Low-pressure distribution

4. Critical Time Tc — The Design Threshold

Tc = 2L / a
Tc = Critical time (s)  |  L = Pipeline length (m)  |  a = Wave speed (m/s)

Rapid Closure

tv ≤ Tc

Full Joukowsky pressure always develops — regardless of how much faster the valve closes. This is the worst-case design scenario.

Slow (Controlled) Closure

tv > Tc

Peak pressure is attenuated below the Joukowsky value. Longer closure relative to Tc = lower surge. This is the target design condition.

Common Misconception Whether a closure is "rapid" or "slow" depends entirely on the ratio tv / Tc, not on absolute seconds. A 10-second closure on a 200 m steel pipeline (Tc = 0.4 s) is extremely slow. The same 10-second closure on a 10 km pipeline (Tc = 20 s) is a rapid one that yields full Joukowsky pressure.

5. Slow-Closure Attenuation Formula

ΔPslow ≈ ΔPJ × (Tc / tv)
Valid when tv > Tc (Streeter & Wylie, 1993)
ΔP = ρ · a · V₀ · min(1, Tc / tv)
Unified expression valid for both rapid and slow closure regimes
  1. Compute acoustic wave speed for pipe material and geometry: a = √[ K/ρ / (1 + (K/E)(D/e)) ]
  2. Calculate the pipeline critical period: Tc = 2L / a
  3. Compute the Joukowsky upper-bound pressure rise: ΔPJ = ρ · a · V₀
  4. Compare closure time against Tc: ΔP = ΔPJ · min(1, Tc / tv)
  5. Check maximum system pressure against pipe PN rating: Pmax = Pstatic + ΔP ≤ 1.5 × PN

6. Interactive Surge Pressure Calculator

Adjust the pipeline parameters below to instantly compute the critical time, Joukowsky pressure, and the effect of different closure times.

Water Hammer Surge Calculator — Adjust sliders, all results update live
Pipeline Length L (m)
2,000 m
Wave Speed a (m/s)
1,000 m/s
Flow Velocity V₀ (m/s)
1.5 m/s
Static Pressure P₀ (bar)
8.0 bar
Valve Closure Time tv (s)
4.0 s
PN Rating of Pipe (bar)
PN 16
⚠ RAPID CLOSURE — Full Joukowsky Pressure Applies
Critical Time Tc
4.0
seconds
Joukowsky ΔPJ
15.0
bar
Actual ΔP
15.0
bar
Pmax System
23.0
bar
PN CHECK —

ΔP vs. Closure Time for current system. Dashed line = Tc. Red dot = current tv.

Pressure Wave Over Time — Idealised Pressure History at Valve Location

Idealised pressure-time trace at the valve. Blue = static pressure. Red = surge envelope. Uses current calculator parameters.

Pipe Material Comparison — Joukowsky ΔP for Same Hydraulic Conditions

Joukowsky pressure (bar) for five pipe materials at the same V₀ and L from the slider above.


7. Numerical Example — Multi-Scenario Comparison

The following example is representative of a steel water transmission main. Base parameters: pipeline length L = 2,000 m, diameter DN 900 mm, wave speed a = 1,000 m/s (steel), flow velocity V₀ = 1.5 m/s, static pressure P₀ = 8.0 bar, pipe rating PN 16.

Joukowsky Maximum
Tc = 2 × 2,000 / 1,000 = 4.0 s   |   ΔPJ = 1,000 × 1,000 × 1.5 = 1,500,000 Pa = 15.0 bar
Closure Time tv/Tc Regime Factor ΔP (bar) Pmax (bar) PN Needed Status
1.0 s0.25Rapid1.0015.023.0PN 25Unacceptable
2.0 s0.50Rapid1.0015.023.0PN 25Unacceptable
4.0 s = Tc1.00Boundary1.0015.023.0PN 25Unacceptable
8.0 s2.00Slow0.507.515.5PN 16Marginal
20.0 s5.00Slow0.203.011.0PN 12.5Acceptable
40.0 s10.0Slow0.101.59.5PN 10Good
80.0 s20.0Slow0.050.758.75PN 10Excellent
120.0 s30.0Slow0.0330.508.50PN 10Excellent
Key Insight Extending closure from 4 s (Tc) to 40 s — a 10× increase — reduces surge pressure from 15.0 bar to 1.5 bar, a 90% reduction. This allows the system to operate within PN 10 rather than PN 25, eliminating the need for surge protection devices and delivering significant material cost savings.

8. Bentley OpenFlows HAMMER — Modelling Valve Closure

While the analytical formulas provide invaluable first-pass design estimates, final design validation for large-scale water infrastructure requires full numerical simulation using the Method of Characteristics (MOC). Bentley OpenFlows HAMMER is the industry-standard software for hydraulic transient analysis, referenced in major project specifications including those of NWC (National Water Company, Saudi Arabia).

What is Bentley HAMMER? OpenFlows HAMMER is a dedicated transient analysis engine built on the MOC — a numerical technique that discretises the pipeline into computational segments and solves the full continuity and momentum equations at each time step. It integrates seamlessly with WaterCAD/WaterGEMS steady-state models, allowing engineers to transition directly from normal operating conditions to transient analysis without rebuilding the network model.

8.1 The Method of Characteristics (MOC)

HAMMER solves the two governing partial differential equations of unsteady pipe flow simultaneously:

∂H/∂t + (a²/g) · (∂V/∂x) = 0     [Continuity]
∂V/∂t + g · (∂H/∂x) + f·V·|V| / (2D) = 0     [Momentum]
H = piezometric head (m)  |  V = velocity (m/s)  |  f = Darcy-Weisbach friction factor  |  D = diameter (m)

These are transformed into characteristic equations along the C+ and C characteristic lines, enabling the propagation of pressure waves through the system to be tracked at each time step Δt = Δx/a. This is fundamentally more accurate than simplified analytical formulas for complex systems with branching, multiple valves, pumps, and surge protection devices.

8.2 Setting Up Valve Closure in HAMMER

1
Import or Build the Steady-State Model
Start from a WaterGEMS/WaterCAD model or build directly in HAMMER. Define pipe materials, diameters, wall thicknesses. The wave speed a is automatically computed from the Korteweg formula using the pipe elastic modulus and D/e ratio.
Pipe Properties → Material (Steel/DI/HDPE) → Wall Thickness → HAMMER auto-computes wave speed
2
Define the Transient Scenario
Create a transient simulation scenario. Set the simulation duration to at least 3–5 × Tc to capture all reflections, and set the time step Δt = Δx/a (HAMMER enforces this automatically via the Courant condition).
Analysis → Transient Simulation → Duration: ≥ 3×Tc | Time Step: auto (Courant)
3
Configure the Control Valve Element
The control valve is represented with a defined Cv (flow coefficient) characteristic curve and an initial operating status. The critical input is the closure profile: either a simple linear closure time or a multi-point relative closure vs. time curve for non-linear actuator behaviour.
Valve Properties → Initial Status: Open → Transient: Closure → Closure Time: [tv s] → Characteristic Curve: Linear / Custom
4
Define the Valve Characteristic Curve
This is the most important and most frequently misconfigured step. HAMMER requires the valve's relative flow vs. relative position curve. A butterfly valve, gate valve, and globe valve all have very different characteristic curves — using a linear position curve for a butterfly valve can underestimate peak surge significantly because most flow restriction occurs in the final 20–30% of stem travel.
Valve → Transient Closure Curve → Import or define: [Position (0→1)] vs [Relative Flow (0→1)]
5
Run the Transient Simulation
Run the simulation and review through the Transient Results Viewer. Key outputs: pressure envelope (max/min) along the pipeline, pressure-time history at the valve and at critical nodes (high points, pipe class transitions), and velocity profiles.
Analysis → Compute → Results Viewer → Pressure Envelope | Node Time History | Animation
6
Validate Against Analytical Results and Iterate
For a simple series pipeline, verify that HAMMER's computed peak ΔP for rapid closure matches the Joukowsky analytical value within 5–10%. If results differ significantly, check: wave speed input, Courant condition compliance, reservoir boundary conditions, and valve characteristic curve accuracy.

8.3 Key HAMMER Parameters

ParameterEffect on ResultNotes
Wave Speed (a)Directly scales both ΔPJ and TcAuto-computed from material/geometry. Verify against Korteweg formula for non-standard materials.
Closure Time (tv)Primary control parameterMust be specified as total travel time. For two-speed actuators, use the custom closure curve instead.
Valve Characteristic CurveDetermines how Cv changes with stem position over timeBuilt-in options: Gate, Globe, Butterfly, Ball, Check. Custom import via CSV. This curve — not just tv — determines the effective flow-reduction profile.
Time Step (Δt)Numerical accuracy of wave propagationMust satisfy Courant condition: Δt = Δx/a. HAMMER enforces this automatically — do not override.
Friction ModelAttenuates pressure waves over timeOptions: Steady, Quasi-steady, or Unsteady (Vardy-Brown). For preliminary design, steady friction is acceptable.
Max / Min Pressure LimitsDesign validation outputMinimum pressure below vapour pressure (≈ −10 m) indicates column separation — activate DVCM (Discrete Vapour Cavity Model) in HAMMER.

8.4 When Do Analytical and HAMMER Results Diverge?

ConditionAnalytical FormulaHAMMER (MOC)
Simple series pipe, rapid closureAccurate (within 5%)Accurate — use as verification check
Simple series pipe, slow closureApproximate (valid up to ~5 × Tc)Accurate for any closure time
Non-linear valve characteristicNot applicable — assumes linear flow reductionAccurately models any Cv curve
Pipeline with high pointsCannot predict column separationModels column separation with DVCM
Multi-branch networksNot applicableHandles all network topologies
Multiple transient eventsCannot superimposeSimulates all events simultaneously
Surge protection devicesCannot model device interactionFull modelling of all device types
Recommended Engineering Practice Use the analytical formulas for preliminary design and valve specification — fast, transparent, and clear on governing parameters. Proceed to HAMMER (MOC) simulation for final design validation, particularly for any pipeline longer than 1 km, with high points, or where surge protection devices are being evaluated.

8.5 Reading the HAMMER Pressure Envelope


9. Practical Design Recommendations

ParameterRecommendationBasis
Minimum closure timeTarget tv ≥ 5 × Tc as starting pointAt 5 × Tc, ΔP = 20% of Joukowsky — manageable within standard PN margin
Closure time from PN ratingtv = ΔPJ · Tc / (PNallowable − P₀)Directly solves for minimum closure time without over-engineering
Two-speed actuatorsFast initial (0→80% travel) then slow final (20% over ≥ 5 × Tc)Most flow restriction occurs near full closure — only the last 20% of stroke is hydraulically critical
Valve characteristic curveAlways use manufacturer Cv curve in HAMMER — not assumed linearButterfly valves are highly non-linear: ~70% of flow passes through the last 30% of travel
Power failure scenarioEvaluate spring-return closure time separately from motorised closure timeFail-safe spring actuators typically close 3–5× faster than motorised operation
MOC simulation triggerRequire HAMMER for L > 1,000 m or any system with high points, branches, or surge devicesAnalytical formulas lose accuracy; only MOC resolves reflections, column separation, and device interaction
Maximum pressure limitPmax ≤ 1.5 × PN (transient allowance per EN 805 / AWWA M11)Temporary surge pressure permitted up to 1.5× PN for infrequent events
Minimum pressure limitPmin > −10 m at all pipeline high pointsColumn separation below vapour pressure causes rejoining impact waves exceeding the positive surge in severity

10. Summary and Conclusions

Practical Summary for the Design Engineer Always calculate Tc = 2L/a and ΔPJ = ρ·a·V₀ before specifying any valve actuator. Work backwards from the allowable system pressure to determine the minimum required closure time. Use the interactive calculator above for rapid parameter exploration, then validate with Bentley HAMMER before finalising the actuator specification and pipe pressure class selection.

References

  1. Joukowsky, N. (1898). Über den hydraulischen Stoss in Wasserleitungsröhren. Mémoires de l'Académie Impériale des Sciences de St.-Pétersbourg, 9(5). [ASME Translation, 1904]
  2. Streeter, V. L., & Wylie, E. B. (1993). Fluid Mechanics (9th ed.). McGraw-Hill.
  3. Chaudhry, M. H. (2014). Applied Hydraulic Transients (3rd ed.). Springer. ISBN 978-1-4614-8538-4.
  4. American Water Works Association (2004). AWWA Manual M11 — Steel Pipe: A Guide for Design and Installation (4th ed.). AWWA, Denver.
  5. European Committee for Standardisation (2000). EN 805:2000 — Water Supply: Requirements for Systems Outside Buildings. BSI, London.
  6. Thorley, A. R. D. (2004). Fluid Transients in Pipeline Systems (2nd ed.). Professional Engineering Publishing, London.
  7. Fisher Controls International / Emerson Process Management (2005). Control Valve Handbook (4th ed.). Emerson.
  8. Bentley Systems, Incorporated (2023). OpenFlows HAMMER User Guide — Transient Analysis Reference. Bentley Documentation Portal.
  9. Plastic Pipe Institute (2012). Handbook of PE Pipe (2nd ed.). PPI, Irving TX.
  10. National Water Company — Saudi Arabia / NWC (2020 ed.). Technical Specifications for Water Transmission Networks. NWC, Riyadh.
#WaterHammer #HydraulicTransients #ControlValves #BentleyHAMMER #JoukowskyEquation #MethodOfCharacteristics #SurgeAnalysis #PipelineDesign #WaterEngineering #SaudiArabia