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

Calculator : Steam Tables Advanced (IAPWS-IF97)
Category   : Thermo

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

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

  iapws_if97_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Input Type (1=PT, 2=Px, 3=Tx, 4=Ph, 5=Ps)
Val1 (P [bar] or T [C])
Val2 (T [C], x, h [kJ/kg], or s [kJ/kg-K])

Website : https://thermofluidcalc.com
