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

Calculator : Steam Table Calculator (IAPWS-IF97)
Category   : Tools

Files Included:
  - steam.f90 (Fortran Source Code)
  - steam_calc.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 steam.f90 steam_calc.f90 -o steam_calc

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

  steam_calc < 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 (Input parameter type (1=T/P, 2=T/x, 3=P/x, 4=T/h, 5=P/h, 6=P/s, 7=h/s)\nFirst input value (T [C] or P [MPa] or h [kJ/kg])\nSecond input value (P [MPa] or x [0-1] or h [kJ/kg] or s [kJ/kg-K])): 1
  Line 2 (Parameter 2): 100.0
  Line 3 (Parameter 3): 0.1

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