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

Calculator : Fanno Flow Calculator
Category   : Fluid

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

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

  fanno_flow_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Inlet Mach number M1
Friction factor f
Pipe diameter D [mm]
Pipe length L [m]
Specific heat ratio gamma
Inlet stagnation temp T0 [K] (optional)
Inlet stagnation pressure P0 [kPa] (optional)

Website : https://thermofluidcalc.com
