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

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

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

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

  noncircular_duct < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Geometry type (1=Rectangular, 2=Equil. Triangle, 3=Annulus)
Duct width W [mm]
Duct height H [mm]
Annulus inner diameter Di [mm]
Annulus outer diameter Do [mm]
Mean velocity V [m/s]
Inlet temperature Tin [C]
Wall temperature Tw [C]
Duct length L [m]
Fluid type (1=Air, 2=Water, 3=Oil)
Boundary condition (1=Uniform Wall Temp, 2=Uniform Heat Flux)

Website : https://thermofluidcalc.com
