Governing relations
a = √[ K / ρ(1 + KD / Ee) ]
∂²h / ∂t² = a² ∂²h / ∂x²
ΔP = ρ a ΔV
Here a is pressure-wave speed, K is water bulk modulus, ρ is water density, D is pipe bore, E is pipe Young's modulus, e is wall thickness, and h is pressure-head change. The valve boundary imposes a linear decrease in flow velocity; the reservoir is held at constant head.
Numerical method
A one-dimensional centred finite-difference wave solver uses a fixed time step with a Courant number of 0.42. The spatial grid is uniform. The valve boundary is represented by a prescribed velocity derivative, and the reservoir boundary has zero pressure-head perturbation.
Simplifications and labels
Water properties use textbook reference values near 20 °C. The model omits distributed friction, nonlinear convective terms, pipe supports, branches, trapped air, cavitation, and detailed valve geometry. The baseline reservoir head and pressure rating are illustrative. The cutaway, tracer dots, and dimensions on screen are scaled to fit; tracer motion is a visual aid. The exceedance scenario only compares model pressure with an illustrative threshold.
An educational physical model, not a pipe-design or safety assessment.