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

Calculator : Critical Radius of Insulation
Category   : Conduction

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

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

  critical_radius < 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=Cylinder, 2=Sphere)
): 1
  Line 2 (Cylinder length L [m] (for geometry=1)
): 1.0
  Line 3 (Inner radius ri [m]
): 0.05
  Line 4 (Insulation thermal conductivity k [W/m-K]
): 0.04
  Line 5 (Convection coefficient h [W/m2-K]
): 10.0
  Line 6 (Inner surface temperature Ti [Â°C]
): 100.0
  Line 7 (Ambient temperature Tinf [Â°C]): 20.0

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