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

Calculator : Air-Cooled Heat Exchanger (Fin-Fan)
Category   : Exchangers

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

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

  air_cooled_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 (Heat duty Qd [W]
): 500000
  Line 2 (Inlet process temp Tpi [Â°C]
): 120
  Line 3 (Outlet process temp Tpo [Â°C]
): 60
  Line 4 (Inlet air temp Tai [Â°C]
): 35
  Line 5 (Fin type (1=Plain, 2=Serrated, 3=Studded)
): 1
  Line 6 (Number of tube rows
): 4
  Line 7 (Tube OD D_t [mm]
): 25
  Line 8 (Fin pitch fp [fins/m]
): 394
  Line 9 (Fin height fh [mm]
): 12.7
  Line 10 (Transverse pitch pt [mm]
): 60
  Line 11 (Longitudinal pitch pl [mm]
): 52
  Line 12 (Number of tubes per row
): 20
  Line 13 (Tube length Lt [m]
): 6
  Line 14 (Process heat transfer coeff h_proc [W/m2K]): 500

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