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

Calculator : Brayton Cycle (Gas Turbine)
Category   : Thermo

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

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

  brayton_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Ambient air temperature T1 [K]
Ambient air pressure P1 [kPa]
Compressor pressure ratio rp
Turbine inlet temperature T3 [K]
Compressor isentropic efficiency
Turbine isentropic efficiency
Air mass flow rate mdot [kg/s]
Use regenerator (0=No, 1=Yes)
Regenerator effectiveness
Use intercooling (0=No, 1=Yes)
Use reheat (0=No, 1=Yes)

Website : https://thermofluidcalc.com
