Water Hammer (1D Linear)

This interactive simulator explores Water Hammer (1D) in Classical Mechanics. Linearized P,V waves; valve closes; Joukowsky ΔP ≈ ρaV hint. Use the controls to change the scenario; watch the visualization and any graphs or readouts to connect the model with lectures, labs, and homework.

Who it's for: Best once you already know the basic definitions and want to build intuition. Typical context: Classical Mechanics.

Key terms

  • water
  • hammer
  • water hammer
  • mechanics
  • classical

How it works

**Linear** **water-hammer** pair: **∂P/∂t + ρa² ∂V/∂x = 0** and **∂V/∂t + ρ⁻¹ ∂P/∂x = 0** with **wave speed** **a** (bulk modulus / density in full theory). **Right** end holds **reservoir pressure**; **left** is a **valve** that **snaps shut** after a short delay so you see a **surge** travel down the line. **Explicit** time stepping — **not** full transient **Joukowsky** engineering (losses, pipe elasticity detail). **ΔP ≈ ρ a V** is the classic **sudden-stop** order-of-magnitude.

Key equations

ΔP ≈ ρ a ΔV (instant valve) · linear 1D wave on a lattice