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

Calculator : Carnot Cycle & Heat Pump Limit
Category   : Thermo

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

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

  carnot_heatpump < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Hot reservoir temperature TH [K]
Cold reservoir temperature TL [K]
Desired heat or power Q [kW]
Cycle type (1=Power Cycle, 2=Refrigeration, 3=Heat Pump)
Real cycle factor (fraction of Carnot)

Website : https://thermofluidcalc.com
