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

Calculator : Ideal Gas Calculator
Category   : Thermo

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

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

  ideal_gas_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 (Solve for (1=P, 2=V, 3=T, 4=n)
): 1
  Line 2 (Gas type (1=Air, 2=N2, 3=O2, 4=CO2, 5=H2, 6=He, 7=CH4, 8=Custom)
): 1
  Line 3 (Volume [L] (for solve=1,3,4)
): 1.0
  Line 4 (Temperature [Â°C] (for solve=1,2,4)
): 300.0
  Line 5 (Moles (for solve=1,2,3)): 40.0

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