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

Calculator : Compressible Fanno Flow with Friction
Category   : Cfd

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

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

  compressible_fanno_flow_duct < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Inlet Mach Number\nDuct Diameter [mm]\nDuct Length [m]\nFanning Friction Factor f\nInlet Total Pressure [bar]\nInlet Total Temp [K]\nSpecific Heat Ratio gamma

Website : https://thermofluidcalc.com
