Functions for compressible flow.
-
IsenFlow.m or IsenFlow.py will calculate isentropic flow parameters for a given mach number and specific heat ratio.
-
PressureRatio.m or PressureRatio.py will output a Mach number for a given pressure/total pressure ratio.
Reference is Fundamentals of Gas Dynamics by R. Zucker and O.Biblarz 2e