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

Calculator : Pipeline Linepack Inventory
Category   : Tools

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

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

  pipeline_linepack < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Pipeline Length [km]\nInside Diameter [mm]\nInlet Pressure P1 [bar a]\nOutlet Pressure P2 [bar a]\nGas Temperature [°C]\nMinimum Delivery Pressure [bar a]\nMolecular Weight [g/mol]\nCompressibility Z\nConsumer Demand Rate [Sm³/h]

Website : https://thermofluidcalc.com
