Overpressure (+ΔP) Underpressure (−ΔP) Valve pressure trace

Water Hammer: Pressure Transients in Pipes (2D)

This 2D companion runs the exact analytic method-of-characteristics solution behind the Joukowsky surge equation: closing the valve launches a rectangular pressure pulse that bounces between the valve and the open reservoir with period 4L/a, and a slow-closure (Michaud) correction scales the peak down whenever the closure time exceeds the critical round-trip time 2L/a — so you can directly compare a "water hammer" instant closure against a gentle one on the same pipe.