=========================================================================
  ThermoFluidCalc — Offline Fortran Execution Guide
=========================================================================

Calculator : Joule-Thomson Throttling
Category   : Thermo

Files Included:
  - throttling_jt.f90 (Fortran Source Code)
  - input.txt (Pre-configured Sample Input)

-------------------------------------------------------------------------
1. How to Compile
-------------------------------------------------------------------------
Make sure you have a Fortran compiler installed (like gfortran).
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 redirect the input.txt file into stdin:

  throttling_jt < input.txt

-------------------------------------------------------------------------
3. Input File Details
-------------------------------------------------------------------------
The input file 'input.txt' contains sequential parameters separated by
newlines. Here is the structure of the included 'input.txt':

  Line 1 (Gas type (1=Nitrogen, 2=Oxygen, 3=CO2, 4=Methane, 5=Hydrogen, 6=Helium, 7=Custom)): 1
  Line 2 (Inlet temperature Tin [K]): 300.0
  Line 3 (Inlet pressure Pin [MPa]): 20.0
  Line 4 (Outlet pressure Pout [MPa]): 0.1
  Line 5 (Critical temperature Tc [K] for custom gas): 200.0
  Line 6 (Critical pressure Pc [MPa] for custom gas): 5.0
  Line 7 (Acentric factor omega for custom gas): 0.04
  Line 8 (Molar heat capacity cp [J/(mol-K)] for custom gas): 30.0
  Line 9 (Molar mass M [g/mol] for custom gas): 28.0

=========================================================================
ThermoFluidCalc — https://thermofluidcalc.com
