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

Calculator : Pipe Thermal Expansion & Loop Sizing
Category   : Tools

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

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

  pipe_expansion < 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 (Material (1=Carbon Steel, 2=Stainless Steel, 3=Copper, 4=HDPE, 5=PVC, 6=Custom)): 1
  Line 2 (Length of pipe run L [m]): 20.0
  Line 3 (Installation temperature [C]): 20.0
  Line 4 (Operating temperature [C]): 180.0
  Line 5 (Outside diameter OD [mm]): 114.3
  Line 6 (Wall thickness wt [mm]): 6.02
  Line 7 (Custom expansion coeff alpha [1e-6/C]): 0.0
  Line 8 (Support configuration (1=Both ends fixed, 2=One end free)): 1

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