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

Calculator : Rotary Twin-Screw Compressor Sizer (Vi & Oil Cooling)
Category   : Turbomachinery

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

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

  rotary_twin_screw_compressor_sizing < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Gas (1=Air, 2=NH3, 3=R134a, 4=R290, 5=Biogas)
Suction Pressure P1 [bar a]
Suction Temp T1 [°C]
Discharge Pressure P2 [bar a]
Swept Volume [m³/h]
Male Rotor Speed [rpm]
Built-in Vi
Injected Oil Flow [L/min]

Website : https://thermofluidcalc.com
