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

Calculator : Composite Cylinder/Sphere Conduction
Category   : Conduction

Files Included:
  - heat_conduction_cylinders_spheres.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_conduction_cylinders_spheres.f90 -o heat_conduction_cyl_sph

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

  heat_conduction_cyl_sph < 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=Cylinder, 2=Sphere)): 1
  Line 2 (Length ($L$) [m] (ignored for Sphere)): 1.5
  Line 3 (Inner Radius ($r_i$) [m]): 0.05
  Line 4 (Outer Radius ($r_o$) [m]): 0.10
  Line 5 (Inner Surface Temp ($T_1$) [°C]): 120.0
  Line 6 (Outer Surface Temp ($T_2$) [°C]): 40.0
  Line 7 (Number of layers (N)): 1
  Line 8 (Layer 1 Outer Radius ($r_1$) [m]): 0.10
  Line 9 (Layer 1 Conductivity ($k_1$) [W/m-K]): 45.0

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