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

Calculator : Pump & System Curve Calculator
Category   : Fluid

Files Included:
  - pump_system.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 pump_system.f90 -o pump_system_calc

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

  pump_system_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Static head [m]
Pipe diameter [mm]
Pipe length [m]
Pipe roughness [mm]
Minor loss sum
Fluid density [kg/m3]
Fluid viscosity [Pa-s]
Curve option (1=3pts, 2=coeffs, 3=preset)
Q1
H1
Q2
H2
Q3
H3
a
b
Preset ID
Suction static head [m]
Suction pipe length [m]
Suction minor loss sum
Vapor pressure [kPa]
NPSH required [m]
Peak efficiency [%]

Website : https://thermofluidcalc.com
