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

Calculator : Air Cooler / Finned Tube
Category   : Exchangers

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

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

  hx_finned < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Fin Type (1=Plate Fins, 2=Spiral Fins)
Air mass flow rate ma [kg/s]
Air inlet temperature Tin_a [°C]
Air density [kg/m3]
Air specific heat [J/kg-K]
Air viscosity [Pa-s]
Air thermal conductivity [W/m-K]
Tube fluid mass flow rate mt [kg/s]
Tube fluid inlet temperature Tin_t [°C]
Tube fluid density [kg/m3]
Tube fluid specific heat [J/kg-K]
Tube fluid viscosity [Pa-s]
Tube fluid thermal conductivity [W/m-K]
Tube outer diameter do [m]
Tube inner diameter di [m]
Tubes active length L [m]
Number of rows Nrows
Tubes per row Nt_row
Transverse tube pitch Pt [m]
Longitudinal tube pitch Pl [m]
Fin thickness tf [m]
Fin pitch pf [m]
Fin thermal conductivity kf [W/m-K]
Fin height hf [m]
Tube wall conductivity ktube [W/m-K]
Number of tube passes Npasses

Website : https://thermofluidcalc.com
