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

Calculator : Restriction Orifice Sizer
Category   : Tools

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

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

  restriction_orifice < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Fluid Type (1=Liquid, 2=Gas)\nPipe Inside Diameter [mm]\nMass Flow Rate [kg/h]\nUpstream Pressure P1 [bar a]\nPermanent Loss ΔP [bar]\nFluid Density [kg/m³]\nLiquid Vapor Pressure [bar a]\nNumber of Holes

Website : https://thermofluidcalc.com
