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

Calculator : Isentropic & Polytropic Processes
Category   : Thermo

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

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

  isentropic_polytropic < 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 (Initial pressure P1 [kPa]): 100.0
  Line 2 (Final pressure P2 [kPa]): 800.0
  Line 3 (Initial temperature T1 [K]): 300.0
  Line 4 (Initial volume V1 [m3]): 0.5
  Line 5 (Polytropic index n): 1.4
  Line 6 (Specific gas constant R [J/kg-K]): 287.0
  Line 7 (Specific heat ratio gamma (cp/cv)): 1.4
  Line 8 (Gas mass [kg]): 1.0

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