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

Calculator : Critical Radius of Insulation Sizer
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 -ffree-line-length-none 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 (Inner pipe radius ($r_i$) [m]): 0.01
  Line 2 (Cylinder Length ($L$) [m]): 2.0
  Line 3 (Insulation Conductivity ($k$) [W/m-K]): 0.05
  Line 4 (Convection Coefficient ($h$) [W/m²-K]): 10.0
  Line 5 (Inner surface temperature ($T_s$) [°C]): 80.0
  Line 6 (Ambient Temperature ($T_\infty$) [°C]): 20.0

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