=========================================================================
  ThermoFluidCalc — Standalone Fortran Execution Guide
=========================================================================

Calculator : Pipe Network Analysis
Category   : Fluid

Files Included:
  - pipe_networks.f90 (Fortran 90/2008 Source Code)
  - input.txt (Pre-configured Sample Input)

-------------------------------------------------------------------------
1. How to Compile
-------------------------------------------------------------------------
Make sure you have GNU Fortran (gfortran) or Intel Fortran (ifort) installed.
Run the following compilation command in your terminal:

  gfortran -O3 pipe_networks.f90 -o pipe_networks_calc

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

  pipe_networks_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Network type (1=Loop, 2=Branch)
Number of pipes
Fluid density [kg/m3]
Fluid dynamic viscosity [Pa-s]
Total inlet flow rate [m3/s]
Elevation change [m]
Pipe definitions (Loop_Node1 Loop_Node2 Diam_m Len_m Rough_m K_minor)

Website : https://thermofluidcalc.com
