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

Calculator : Non-Circular Duct & Annulus Convection
Category   : Convection

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

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

  noncircular_duct < 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 (Geometry type (1=Rectangular, 2=Equil. Triangle, 3=Annulus)): 1
  Line 2 (Duct width W [mm]): 100.0
  Line 3 (Duct height H [mm]): 50.0
  Line 4 (Annulus inner diameter Di [mm]): 0.0
  Line 5 (Annulus outer diameter Do [mm]): 0.0
  Line 6 (Mean velocity V [m/s]): 3.0
  Line 7 (Inlet temperature Tin [C]): 25.0
  Line 8 (Wall temperature Tw [C]): 80.0
  Line 9 (Duct length L [m]): 2.0
  Line 10 (Fluid type (1=Air, 2=Water, 3=Oil)): 1
  Line 11 (Boundary condition (1=Uniform Wall Temp, 2=Uniform Heat Flux)): 1

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