A steady stream is moving through the pipe. Run the test to close the valve and launch a pressure wave upstream.
Test conditions
Independent checks
Run the valve test
Measure the peak at the valve, then compare it with the textbook estimate for this closure time.
The scienceequations · assumptions · limits
Governing equations
The one-dimensional elastic water-hammer equations use pressure p, mean velocity u, water density ρ, effective wave speed a, pipe diameter D, and Darcy friction factor f:
At the upstream reservoir, pressure is held fixed. At the valve, velocity falls linearly from its initial value to zero over the selected closing time. The equations are advanced on a staggered one-dimensional grid with a fixed time step and a Courant number below one.
Reference estimates
The surge check uses the smaller of the rapid-closure and slow-closure estimates as a frictionless textbook envelope. Water density is 998 kg/m³ (textbook reference near 20 °C); gravitational acceleration is 9.80665 m/s² (textbook reference). The selected wave speed and friction factor are illustrative properties of the combined pipe-and-water system.
What is simplified
This is a single straight pipe with one reservoir and one valve. The model treats the water-and-pipe response as one-dimensional and elastic, uses a constant wave speed and friction factor, and does not resolve valve geometry, pipe-wall stress, branches, pumps, air pockets, cavitation, column separation, or viscoelastic damping. The pipe-rating threshold is an illustrative comparison, not an engineering certification. If exceeded, the crack and spray are a warning graphic only; structural rupture and post-break flow are not simulated.
All live system settings and model outputs are illustrative. Reference constants and comparison equations are labelled textbook. The drawing is scaled to fit the display and is not a dimensional engineering drawing.