=========================================================================
  ThermoFluidCalc — Standalone Fortran Execution Guide
=========================================================================

Calculator : Check Valve Slam & Air Chamber
Category   : Tools

Files Included:
  - check_valve_slam.f90 (Fortran 90/2008 Source Code)
  - input.txt (Pre-configured Sample Input)

-------------------------------------------------------------------------
1. How to Compile
-------------------------------------------------------------------------
Make sure you have GNU Fortran (gfortran) or Intel Fortran (ifort) installed.
Run the following compilation command in your terminal:

  gfortran -O3 check_valve_slam.f90 -o check_valve_slam

-------------------------------------------------------------------------
2. How to Execute
-------------------------------------------------------------------------
Run the compiled binary and pipe the input.txt file into stdin:

  check_valve_slam < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Pipe Diameter [mm]\nPipeline Length [m]\nInitial Flow Velocity [m/s]\nAcoustic Wave Speed [m/s]\nFluid Density [kg/m³]\nStatic Pipeline Pressure [bar]\nFlow Deceleration dv/dt [m/s²]\nValve Type (1=Swing, 2=Dual Plate, 3=Nozzle Non-Slam)\nAllowable Surge ΔP [bar]

Website : https://thermofluidcalc.com
