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

Calculator : Natural Convection Buoyancy Solver
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 -ffree-line-length-none 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 Code (1=Vertical Plate, 2=Horiz Upper, 3=Horiz Lower, 4=Horiz Cylinder, 5=Sphere)): 1
  Line 2 (Characteristic Dimension ($L$ or $D$) [m]): 0.3
  Line 3 (Surface Temp ($T_s$) [°C]): 60.0
  Line 4 (Ambient Temp ($T_\infty$) [°C]): 20.0
  Line 5 (Fluid Density ($\rho$) [kg/m³]): 1.164
  Line 6 (Fluid Viscosity ($\mu$) [Pa-s]): 1.9e-5
  Line 7 (Fluid Conductivity ($k$) [W/m-K]): 0.026
  Line 8 (Prandtl Number ($Pr$)): 0.707
  Line 9 (Specific Heat ($C_p$) [J/kg-K]): 1007.0
  Line 10 (Volumetric Expansion Coefficient ($\beta$) [1/K]): 0.0031

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