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

Calculator : PSV Sizing (API 520 / 526)
Category   : Tools

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

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

  psv_sizing_api < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Fluid Type (1=Gas, 2=Steam, 3=Liquid)\nSet Pressure [bar g]\nBackpressure [bar g]\nOverpressure [%]\nRelief Temp [°C]\nRequired Mass Flow [kg/h]\nMolecular Weight [g/mol]\nSpecific Heat Ratio k\nCompressibility Z\nLiquid Density [kg/m³]\nLiquid Viscosity [cP]

Website : https://thermofluidcalc.com
