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

Calculator : Stirling & Ericsson Cycles
Category   : Thermo

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

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

  stirling_ericsson < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Cycle type (1=Stirling, 2=Ericsson)
Hot source temperature TH [K]
Cold sink temperature TL [K]
Minimum gas volume Vmin [m3]
Maximum gas volume Vmax [m3]
Molar mass of gas [g/mol]
Specific heat ratio gamma (cp/cv)
Amount of gas [moles]

Website : https://thermofluidcalc.com
