mysimulator.uk
FIELD LAB / WATER SYSTEMS
PRESSURE TRANSIENTS · ENGINEERING

Water hammer in a closing pipe

A valve stops the flow. The water does not stop everywhere at once.

LIVE CHARACTERISTIC MODEL
PIPE CUTAWAY RUNNING
FIXED-HEAD RESERVOIR
CLOSING VALVE
WHAT YOU ARE SEEING

The valve begins to close. A compression wave travels back toward the reservoir at the acoustic wave speed.

PEAK VALVE SURGE kPa
—
Illustrative · computed
ROUND-TRIP TIME s
—
Illustrative · computed
MIN. ABSOLUTE PRESSURE kPa
—
Illustrative · computed
CURRENT VALVE ΔP kPa
—
Illustrative · computed
MODEL INTEGRITY

Independent numerical checks

4 CHECKS · LIVE
01 / JOUKOWSKY PULSEPASS
—
Boundary pressure against the pre-reflection textbook prediction.
— % difference
02 / RESERVOIR HEADPASS
—
The fixed-head boundary remains at zero gauge-pressure change.
— % of Joukowsky rise
03 / CLOSED-VALVE FLOWPASS
—
Computed valve velocity follows the commanded closing law.
— % of initial speed
04 / WAVE ARRIVALPASS
—
Midpoint threshold time against the characteristic travel-time equation.
— % difference

Checks use the same parameter set but separate boundary, amplitude and timing identities. Numerical residuals are normalized to the relevant physical scale; values are illustrative model outputs.

MODEL NOTESThe science+

Governing equations

The lossless, one-dimensional water-hammer equations are written for pressure perturbation p and mean velocity v:

∂p/∂t + ρa² ∂v/∂x = 0
∂v/∂t + (1/ρ) ∂p/∂x = 0

The characteristic wave speed is a. A valve closure launches a compression wave with the Joukowsky scale:

Δp = ρ a Δv

Waves travel at ±a. At the fixed-head reservoir, pressure reflects with sign −1; at the closed valve, pressure reflects with sign +1. The displayed field is the superposition of those delayed characteristic waves.

What is simplified

  • Uniform pipe area and one-dimensional mean flow.
  • Linear acoustic response with constant wave speed and density.
  • Friction, bends, branches, air pockets, pumps and gradual changes in pipe diameter are omitted.
  • The valve velocity falls linearly to zero over the selected closing time.
  • Reservoir pressure is fixed; the initial absolute operating pressure is 0.85 MPa (illustrative).

Validity and labels

All control ranges and the initial operating pressure are illustrative. The default density, 998 kg/m³ at 20 °C, is a textbook approximate water value; the slider range is illustrative. The reference vapour pressure at 20 °C is about 2.34 kPa absolute (textbook). If the linear prediction falls below that limit, the display flags the model as invalid: real column separation and cavity collapse are not simulated.

The exact characteristic solution is sampled on a fixed 0.5 ms illustrative model clock. It has no finite-difference CFL instability. Canvas rendering is independent of the simulation clock.

Made with 🤖 ChatGPT