=========================================================================
  ThermoFluidCalc — Offline Fortran Execution Guide
=========================================================================

Calculator : Pump & System Curve Calculator
Category   : Fluid

Files Included:
  - pump_system.f90 (Fortran Source Code)
  - input.txt (Pre-configured Sample Input)

-------------------------------------------------------------------------
1. How to Compile
-------------------------------------------------------------------------
Make sure you have a Fortran compiler installed (like gfortran).
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 redirect the input.txt file into stdin:

  pump_system_calc < input.txt

-------------------------------------------------------------------------
3. Input File Details
-------------------------------------------------------------------------
The input file 'input.txt' contains sequential parameters separated by
newlines. Here is the structure of the included 'input.txt':

  Line 1 (Static head [m]
): 10.0
  Line 2 (Pipe diameter [mm]
): 100.0
  Line 3 (Pipe length [m]
): 50.0
  Line 4 (Pipe roughness [mm]
): 0.05
  Line 5 (Minor loss sum
): 2.0
  Line 6 (Fluid density [kg/m3]
): 1000.0
  Line 7 (Fluid viscosity [Pa-s]
): 0.001
  Line 8 (Curve option (1=3pts, 2=coeffs, 3=preset)
): 3
  Line 9 (Q1
): 0.0 0.0
  Line 10 (H1
): 0.0 0.0
  Line 11 (Q2
): 0.0 0.0
  Line 12 (H2
): 0.0 0.0
  Line 13 (Q3
): 2
  Line 14 (H3
): 2.0
  Line 15 (a
): 3.0
  Line 16 (b
): 1.5
  Line 17 (Preset ID
): 2.34
  Line 18 (Suction static head [m]
): 3.0
  Line 19 (Suction pipe length [m]
): 75.0

=========================================================================
ThermoFluidCalc — https://thermofluidcalc.com
