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

Calculator : Isentropic & Polytropic Processes
Category   : Thermo

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

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

  isentropic_polytropic < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Initial pressure P1 [kPa]
Final pressure P2 [kPa]
Initial temperature T1 [K]
Initial volume V1 [m3]
Polytropic index n
Specific gas constant R [J/kg-K]
Specific heat ratio gamma (cp/cv)
Gas mass [kg]

Website : https://thermofluidcalc.com
