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

Calculator : Hardy-Cross Pipe Network Solver
Category   : Fluid

Files Included:
  - pipe_networks.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_networks.f90 -o pipe_networks_calc

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

  pipe_networks_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 (Fluid Density ($\rho$) [kg/m³]): 1000.0
  Line 2 (Fluid Viscosity ($\mu$) [Pa-s]): 0.001
  Line 3 (Number of loops (N_loops)): 2
  Line 4 (Boundary Flow Rate [L/min]): 10.0
  Line 5 (Elevation Difference $\Delta Z$ [m]): 0.0
  Line 6 (Pipe Index 1): 1
  Line 7 (Pipe 1 Length [m]): 100.0
  Line 8 (Pipe 1 Diameter [mm]): 100.0
  Line 9 (Pipe 1 Roughness [mm]): 0.045
  Line 10 (Pipe Index 2): 2
  Line 11 (Pipe 2 Length [m]): 80.0
  Line 12 (Pipe 2 Diameter [mm]): 80.0
  Line 13 (Pipe 2 Roughness [mm]): 0.15

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