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

Calculator : Pipe Flow & Friction Head Loss
Category   : Fluid

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

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

  pipe_flow_calc < 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 (Pipe Inner Diameter ($D$) [mm]): 100.0
  Line 2 (Pipe Length ($L$) [m]): 100.0
  Line 3 (Surface Roughness ($\varepsilon$) [mm]): 0.15
  Line 4 (Fluid Density ($\rho$) [kg/m³]): 1000.0
  Line 5 (Fluid Viscosity ($\mu$) [Pa-s]): 0.001
  Line 6 (Volumetric Flow Rate ($Q$) [m³/s]): 0.02

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