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

Calculator : Francis & Kaplan Turbine Cavitation Sizer (Thoma σ)
Category   : Turbomachinery

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

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

  francis_kaplan_turbine_cavitation_thoma < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Turbine Type (1=Francis, 2=Kaplan)
Net Head Hnet [m]
Water Flow Q [m³/s]
Rotational Speed N [rpm]
Altitude [m]
Water Temp [°C]

Website : https://thermofluidcalc.com
