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

Calculator : Darby 2K & 3K Pipe Fittings Minor Head Loss
Category   : Fluid-mechanics

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

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

  darby_2k_3k_fittings_head_loss < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Fitting Type (1=90 Std Elbow, 2=90 LR Flanged, 3=45 Elbow, 4=Tee Branch, 5=Globe Valve, 6=Gate Valve, 7=Swing Check, 8=Butterfly)\nFitting Count N\nPipe Inner Diameter [mm]\nFlow Rate [m³/h]\nFluid Density [kg/m³]\nDynamic Viscosity [Pa·s]

Website : https://thermofluidcalc.com
