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

Calculator : Turbocharger Engine Match & Surge Margin Sizer
Category   : Turbomachinery

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

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

  turbocharger_match_engine_surge_margin < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Engine Application (1=Gasoline, 2=Diesel, 3=Marine, 4=Motorsport)
Displacement [Liters]
Engine RPM [rpm]
Boost Pressure [bar gauge]
Manifold Temp [°C]
Volumetric Efficiency
Exhaust Temp [°C]
Compressor Efficiency
Turbine Efficiency

Website : https://thermofluidcalc.com
