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

Calculator : Regenerative Heat Exchanger Analysis
Category   : Exchangers

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

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

  regenerator < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Regenerator type (1=Rotary, 2=Fixed matrix)
Hot fluid heat capacity rate Ch [W/K]
Cold fluid heat capacity rate Cc [W/K]
Inlet hot temperature Thi [Â°C]
Inlet cold temperature Tci [Â°C]
Number of Transfer Units NTU
Matrix-to-minimum fluid capacity ratio Cr*
Rotation speed [rpm] (Rotary only)
Matrix mass m_mat [kg]
Matrix specific heat cp_mat [J/kg-K]

Website : https://thermofluidcalc.com
