โšก Transient Water Hammer & Valve Closure Surge Pressure

Calculate pipeline water hammer surge pressure (Joukowsky & Allievi): acoustic wave speed in elastic pipes (a), pipeline wave period (2L/a), maximum pressure surge (bar), and pipe wall hoop stress.

โšก Fortran 90 Engine Double Precision (IEEE 754) โœ“ ISO / ASME Validated
Transient Water Hammer & Valve Closure Surge Pressure Fluid Mechanics
๐Ÿ“Š Solver Telemetry โ— ACTIVE
๐Ÿ‘๏ธ Views 44
โšก Solves 36
๐Ÿ’พ Downloads 376 ๐Ÿ“ฆ Fortran Code 4.5 KB
๐Ÿ“… Released Jun 2026
โฑ๏ธ Latency < 1 ms
โšก TOOLS & REPORTS:
๐Ÿ’พ Download Fortran 90
๐Ÿ’ก Hardware & Sizing Partner: Need to size a control valve or check ASME flange bolt torque for this line?
FLOWKS IEC 60534 Sizer โ†— • API 6D Valve Catalog →

โšก Hydraulic Transient Acoustic Shockwave Propagation

Real-time visual simulation: Fast valve closure, high-pressure Joukowsky surge wave, and reservoir reflection

๐Ÿ“ Configuration & Presets

๐Ÿ’ง Steel Water Main (2000m) โšก Hydro Penstock Trip (1.2s) ๐ŸŒฟ HDPE Irrigation Line ๐Ÿ›ข๏ธ Crude Oil Trunkline (5000m)
๐Ÿงฑ Pipeline Material & Fluid Medium
๐Ÿ“ Pipeline Dimensions & Operating Pressure
โฑ๏ธ Flow Rate & Valve Closure Time
Joukowsky & Allievi Surge Formulation:
โ€ข Acoustic Wave Speed: a = โˆš[ (K/ฯ) / (1 + (K/E)(D/e)(1โˆ’ฮฝยฒ)) ] [m/s]
โ€ข Pipe Critical Period: Tp = 2 L / a [seconds]
โ€ข Joukowsky Maximum Surge: ฮ”Pmax = ฯ ยท a ยท Vโ‚€ [bar]
โ€ข Slow Closure Surge (Tc > Tp): ฮ”P = ฮ”Pmax ยท (Tp / Tc)
โ€ข Peak Pipe Hoop Stress: ฯƒh = Ppeak ยท D / (2 e) [MPa].

๐Ÿ“Š Surge Pressure Results

๐Ÿ“Š Output Summary
๐Ÿ’พ Fortran Source

Peak Total Pipeline Surge Pressure (Pmax)
45.16 bar (4.52 MPa)
Surge ฮ”P: +30.16 bar (+308.0 m) | Wave Speed: 1215 m/s
RAPID CLOSURE (Tc โ‰ค 2L/a)
Acoustic Wave Speed (a) 1215 m/s Pipe + Fluid elasticity
Pipeline Wave Period (2L/a) 1.32 s Closure Tc = 1.20 s
Pipe Wall Hoop Stress 112.9 MPa SAFE (BELOW STEEL ALLOWABLE)
Initial Flow Velocity (Vโ‚€) 2.49 m/s Q = 4500 mยณ/h

๐Ÿ“ˆ Surge Pressure ฮ”P (bar) vs Valve Closure Time Tc (s)

๐Ÿ“‰ Peak Pressure Pmax (bar) vs Flow Velocity V0 (m/s)

=================================================================
 THERMOFLUIDCALC โ€” WATER HAMMER & SURGE PRESSURE REPORT
=================================================================
Case Title                 : Hydroelectric Penstock Emergency Turbine Trip
Pipeline Material & Fluid  : Carbon Steel (E = 205 GPa, ฮฝ = 0.30) / Water (ฯ = 998 kg/mยณ, K = 2.19 GPa)
Pipeline Dimensions        : L = 800.0 m, ID = 800.0 mm, Wall Thick e = 16.0 mm, Static Press = 15.00 bar
Flow & Closure             : Q = 4500.00 m3/h, Initial Velocity V0 = 2.49 m/s, Valve Closure Time Tc = 1.20 s
-----------------------------------------------------------------
ACOUSTIC WAVE SPEED (a)    : 1215.2 m/s
PIPELINE PERIOD (Tp = 2L/a): 1.317 seconds
CLOSURE REGIME             : RAPID CLOSURE (Tc โ‰ค 2L/a)
MAX JOUKOWSKY SURGE (ฮ”Pmax): 30.16 bar (308.04 meters head)
ACTUAL SURGE PRESSURE (ฮ”P) : +30.16 bar
PEAK PIPELINE PRESSURE     : 45.16 bar (4.52 MPa)
Pipe Wall Hoop Stress      : 112.90 MPa
SAFETY STATUS              : SAFE (BELOW STEEL ALLOWABLE)
=================================================================

๐Ÿ“˜ Calculation Methodology & Water Hammer Standards

Joukowsky Equation & Elastic Wave Speed

Calculates peak potential surge $\Delta P_{max} = \rho a \Delta V$ when valve closure occurs faster than one acoustic round-trip ($T_c \le 2L/a$).

Allievi Slow Closure Mitigation

Extending valve closure duration ($T_c > 2L/a$) allows reflected relief waves from the upstream reservoir to attenuate peak transient pressure proportionally.

Key Engineering Assumptions

  • Elastic pipe wall deformation (Korteweg / Halliwell wave speed formulation).
  • Linear or standard valve effective closure characteristic.
  • Applicable to municipal water mains, hydro penstocks, fire mains, and oil trunklines.