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

Calculator : Flow Across Banks of Tubes
Category   : Convection

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

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

  tube_banks < 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 (Configuration (1=Inline, 2=Staggered)): 1
  Line 2 (Number of tube rows Nr): 10
  Line 3 (Tube outer diameter D [m]): 0.025
  Line 4 (Transverse pitch St [m]): 0.05
  Line 5 (Longitudinal pitch Sl [m]): 0.05
  Line 6 (Inlet velocity V [m/s]): 5.0
  Line 7 (Inlet fluid temperature Tinf [C]): 25.0
  Line 8 (Tube surface temperature Ts [C]): 100.0
  Line 9 (Fluid type (1=Air, 2=Water, 3=Oil)): 1

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