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

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

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

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

  air_cooled_hx < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Heat duty Qd [W]
Inlet process temp Tpi [Â°C]
Outlet process temp Tpo [Â°C]
Inlet air temp Tai [Â°C]
Fin type (1=Plain, 2=Serrated, 3=Studded)
Number of tube rows
Tube OD D_t [mm]
Fin pitch fp [fins/m]
Fin height fh [mm]
Transverse pitch pt [mm]
Longitudinal pitch pl [mm]
Number of tubes per row
Tube length Lt [m]
Process heat transfer coeff h_proc [W/m2K]

Website : https://thermofluidcalc.com
