Experiment controls
SI UNITSMeasure the first crest
Run the simulation, then measure the peak height against the undamped theoretical prediction.
Independent checks
LIVE VALIDATIONChecks compare numerical integration with an exact damped-oscillator solution, the textbook natural period, and a separately accumulated energy budget. Percent differences are relative to the indicated reference. The model excludes pressure waves and valve closure time.
The science +
Conservation of volume gives Q = Aₜ dx/dt. A long, rigid pipe column of length L has inertia ρLAₚ. Its gravitational restoring force yields
x″ + 2ζω₀x′ + ω₀²x = 0
ω₀ = √(gAₚ / LAₜ), A = πD²/4
Here g = 9.81 m/s² (textbook), ζ is an illustrative damping ratio, x is the rise above the equilibrium waterline, and x′(0) = Q₀/Aₜ. The initial displacement is zero. RK4 integrates the state at a fixed 0.02 s step. For ζ < 1 the exact reference is x(t) = (v₀/ωd) exp(−ζω₀t) sin(ωdt), where ωd = ω₀√(1−ζ²).
Energy per unit equivalent mass is E = ½(v² + ω₀²x²). The dissipated energy is the integral of 2ζω₀v² dt. The first crest is compared with the undamped amplitude v₀/ω₀, not a prediction of the damped crest.
Scope: An illustrative, linear, lumped-mass surge tank model. Pipe friction is represented by linear damping; water is incompressible, the reservoir level is fixed, and air entrainment, cavitation, nonlinear friction, pressure-wave propagation, and structural failure are not simulated. An overflow warning means the modelled water surface exceeds the chosen freeboard; it does not predict damage. No affiliation with any equipment manufacturer.