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

Calculator : Conduction with Internal Heat Generation
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 -ffree-line-length-none 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 Code (1=Plane wall, 2=Cylinder, 3=Sphere)): 1
  Line 2 (Half-Thickness or Outer Radius ($L$) [m]): 0.02
  Line 3 (Thermal Conductivity ($k$) [W/m-K]): 1.5
  Line 4 (Volumetric Heat Generation Rate (q_dot) [W/m³]): 200000.0
  Line 5 (Convection Coefficient ($h$) [W/m²-K]): 500.0
  Line 6 (Ambient Temperature ($T_\infty$) [°C]): 25.0

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