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

Calculator : Prandtl-Meyer Expansion Fan
Category   : Fluid

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

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

  prandtl_meyer_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 mode (1=Solve M2, 2=Solve theta, 3=Solve M1)
): 1
  Line 2 (Upstream Mach M1
): 2.0
  Line 3 (Deflection angle theta [deg]
): 15.0
  Line 4 (Downstream Mach M2
): 0.0
  Line 5 (Specific heat ratio gamma
): 1.4
  Line 6 (Upstream Temp T1 [K]
): 288.15
  Line 7 (Upstream Pressure P1 [kPa]): 101.325

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