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

Calculator : Heat Generation in Solids
Category   : Conduction

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

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

  heat_gen < 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=Plane Wall, 2=Cylinder, 3=Sphere)
): 1
  Line 2 (Characteristic dimension (L, ro) [m]
): 0.01
  Line 3 (Thermal conductivity k [W/m-K]
): 15.0
  Line 4 (Volumetric heat generation rate q_dot [W/m3]
): 20000000.0
  Line 5 (Convection coefficient h [W/m2-K]
): 4000.0
  Line 6 (Ambient fluid temperature Tinf [Â°C]): 25.0

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