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

Calculator : Compact Heat Exchanger Sizing
Category   : Exchangers

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

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

  compact_hx < 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 (Surface type (1=Plain fin, 2=Louvered, 3=Offset strip, 4=Wavy)
): 1
  Line 2 (Reynolds number Re_Dh
): 800
  Line 3 (Hydraulic diameter Dh [m]
): 0.003
  Line 4 (Frontal area ratio sigma (Ac/Afr)
): 0.534
  Line 5 (Surface density alpha [m2/m3]
): 886
  Line 6 (Total surface area A_tot [m2]
): 10
  Line 7 (Flow length Lf [m]
): 0.05
  Line 8 (Inlet hot temperature Thi [Â°C]
): 90
  Line 9 (Inlet cold temperature Tci [Â°C]
): 25
  Line 10 (Hot fluid capacity rate Ch [W/K]
): 2000
  Line 11 (Cold fluid capacity rate Cc [W/K]
): 1500
  Line 12 (Hot fluid Prandtl number Pr_h
): 0.71
  Line 13 (Cold fluid Prandtl number Pr_c): 0.71

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