Change the conditions
What the pipe feels
The valve is beginning to close. The moving water is being slowed, and a compression wave is forming at the downstream end.
MODEL NOTESThe science+
Governing equations TEXTBOOK MODEL
The one-dimensional water-hammer equations couple pressure head H and mean velocity V:
For rapid closure, the Joukowsky estimate is Δp = ρ a ΔV. For a slow, approximately linear closure, the idealised estimate used here is Δp ≈ 2ρ L V₀ / Tᶜ.
The rapid-closure check also includes recovery of the initial Darcy head loss, because the live pressure rise is measured from the local pre-closure valve pressure.
The initial steady friction profile follows hᶠ = f L V₀² / (2gD).
How the solver works SCALED GRID
The method of characteristics advances the two travelling wave families on a fixed spatial grid. The time step is tied to the wave travel time across one cell, so the characteristic Courant number is one. Friction is applied along each characteristic.
Water properties are held constant: density ρ = 998 kg/m³ and gravitational acceleration g = 9.80665 m/s² are textbook reference values for this model. The solver uses a scaled grid of one hundred and twenty intervals.
What is simplified ILLUSTRATIVE
The pipe is straight, uniform, and represented by one-dimensional mean flow. The reservoir is a fixed-head boundary; the valve closes linearly; the pipe-wall response is folded into the chosen wave speed. Temperature changes, cavitation, air pockets, branches, elastic supports, and detailed valve mechanics are omitted.
The pipe's 2.40 MPa burst threshold is illustrative, not a material rating or design recommendation. A burst is shown as a visual threshold event only; the model does not calculate crack growth or post-rupture discharge. The cutaway drawing is scaled for legibility, not to engineering dimensions.