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

Calculator : Brayton Cycle (Gas Turbine Sizer)
Category   : Thermo

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

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

  brayton_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 (Compressor Inlet Temp ($T_1$) [°C]): 15.0
  Line 2 (Compressor Inlet Pressure ($P_1$) [kPa]): 100.0
  Line 3 (Pressure Ratio ($r_p$)): 10.0
  Line 4 (Turbine Inlet Temp ($T_3$) [°C]): 1000.0
  Line 5 (Compressor Isentropic Efficiency ($\eta_c$) [0-1]): 0.85
  Line 6 (Turbine Isentropic Efficiency ($\eta_t$) [0-1]): 0.88
  Line 7 (Mass Flow Rate (m) [kg/s]): 1.0
  Line 8 (Regenerator Effectiveness ($\epsilon_{regen}$) [0-1]): 0.8
  Line 9 (Intercooling Active (0=No, 1=Yes)): 1
  Line 10 (Reheat Active (0=No, 1=Yes)): 1

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