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

Calculator : Flow Across Banks of Tubes
Category   : Convection

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

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

  tube_banks < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Configuration (1=Inline, 2=Staggered)
Number of tube rows Nr
Tube outer diameter D [m]
Transverse pitch St [m]
Longitudinal pitch Sl [m]
Inlet velocity V [m/s]
Inlet fluid temperature Tinf [C]
Tube surface temperature Ts [C]
Fluid type (1=Air, 2=Water, 3=Oil)

Website : https://thermofluidcalc.com
