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

Calculator : Vapor-Compression Refrigeration
Category   : Thermo

Files Included:
  - refrigeration_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 -O3 refrigeration_cycle.f90 -o refrig_calc

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

  refrig_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 (Refrigerant type (1=R134a, 2=R22, 3=Ammonia)
): 1
  Line 2 (Evaporator temperature Tevap [Â°C]
): -10.0
  Line 3 (Condenser temperature Tcond [Â°C]
): 40.0
  Line 4 (Compressor isentropic efficiency
): 0.80
  Line 5 (Mass flow rate mdot [kg/s]): 0.05

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