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

Calculator : Natural Convection
Category   : Convection

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

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

  natural_convection < 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 (1=Vertical Plate, 2=Horizontal Plate, 3=Vertical Cylinder, 4=Horizontal Cylinder)
): 1
  Line 2 (Characteristic dimension (Length/Height) [m]
): 1.0
  Line 3 (Secondary dimension (Width/Diameter) [m]
): 0.5
  Line 4 (Surface Temperature Ts [Â°C]
): 80.0
  Line 5 (Ambient Temperature Tinf [Â°C]
): 20.0
  Line 6 (Fluid Density [kg/m3]
): 1.161
  Line 7 (Dynamic Viscosity [Pa-s]
): 1.9e-5
  Line 8 (Thermal Conductivity k [W/m-K]
): 0.0263
  Line 9 (Prandtl Number Pr
): 0.71
  Line 10 (Specific Heat Cp [J/kg-K]
): 1007.0
  Line 11 (Thermal Expansion Coefficient beta [1/K]): 0.003

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