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

Calculator : Non-Newtonian Yield-Pseudoplastic Hydraulics (Herschel-Bulkley)
Category   : Fluid-mechanics

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

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

  non_newtonian_herschel_bulkley < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Fluid Type (1=Drilling Mud, 2=Slurry, 3=Tomato Paste, 4=Gel)\nYield Stress tau_y [Pa]\nConsistency Index K [Pa·s^n]\nFlow Behavior Index n\nFluid Density [kg/m³]\nPipe Inner Diameter [mm]\nPipe Length [m]\nFlow Rate [m³/h]

Website : https://thermofluidcalc.com
