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

Calculator : Joule-Thomson Throttling (Tools)
Category   : Tools

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

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

  throttling_jt < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Gas type (1=Nitrogen, 2=Oxygen, 3=CO2, 4=Methane, 5=Hydrogen, 6=Helium, 7=Custom)
Inlet temperature Tin [K]
Inlet pressure Pin [MPa]
Outlet pressure Pout [MPa]
Critical temperature Tc [K] for custom gas
Critical pressure Pc [MPa] for custom gas
Acentric factor omega for custom gas
Molar heat capacity cp [J/(mol-K)] for custom gas
Molar mass M [g/mol] for custom gas

Website : https://thermofluidcalc.com
