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

Calculator : Ideal Gas Calculator
Category   : Thermo

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

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

  ideal_gas_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Solve for (1=P, 2=V, 3=T, 4=n)
Gas type (1=Air, 2=N2, 3=O2, 4=CO2, 5=H2, 6=He, 7=CH4, 8=Custom)
Volume [L] (for solve=1,3,4)
Temperature [Â°C] (for solve=1,2,4)
Moles (for solve=1,2,3)

Website : https://thermofluidcalc.com
