The Rise and Fall of
Water in a Surge Tank
Release a displaced water column. Watch inertia carry it past equilibrium—and see how resistance turns that movement into heat.
The main is filling the low surge tank. Flow inertia will carry water past the reservoir's level.
Does the model add up?
Independent trapezoidal flow integral vs tank volume change.
ILLUSTRATIVE NUMERICAL CHECK · % DIFFERENCEPotential + kinetic + integrated frictional heat vs initial energy.
ILLUSTRATIVE CONSERVATION CHECK · % DIFFERENCEIndependent Verlet period measurement vs closed-form small-oscillation period.
TEXTBOOK REFERENCE CHECK · % DIFFERENCEHow high will the first crest climb?
Run a separate numerical release until the first turning point. Compare the measured rise above equilibrium with the textbook lossless upper bound.
OPEN THE MODELThe scienceEquations, assumptions and limits
We model a large fixed-head reservoir feeding an open, uniform surge tank through one rigid, water-filled pipe. The water is incompressible. Its pipe velocity is represented by one bulk value; the tank surface remains horizontal.
dh/dt = Q / AₜdQ/dt = (g Aₚ / L) [Hᵣ − h − K Q|Q| / (2g Aₚ²)]T₀ = 2π √(L Aₜ / (g Aₚ))E = ½ρ(L/Aₚ)Q² + ½ρg Aₜ(h − Hᵣ)²dEₗₒₛₜ/dt = ρK |Q|³ / (2Aₚ²)Textbook constants: gravitational acceleration 9.81 m/s² and liquid-water density 1000 kg/m³. Illustrative inputs: geometry, level offset and the lumped dimensionless loss coefficient. Scaled presentation: live playback advances eight model seconds per wall-clock second; the diagram is not to scale.
The coupled equations are advanced with fixed-step, fourth-order Runge–Kutta integration. The mass check independently sums trapezoidal flows. The energy check integrates irreversible quadratic drag as a separate state. The ideal clock check uses a separate velocity-Verlet calculation. A tank overflow is a stop event: water is not simulated after it reaches the rim.
Limits: no water hammer, pipe elasticity, cavitation, entrained air, downstream demand changes, turbulence resolution, unsteady wall friction or overflow hydraulics. High-speed cases can leave the regime where a rigid, incompressible lumped model is appropriate. The apparatus appearance is illustrative, not an engineering drawing. No company equipment or branding is depicted; not affiliated with any equipment manufacturer.