Expand description
§Compressible Flow
comp-flow
is a collection of functions for basic compressible flow relations.
The included functions have no input checking or error handling whatsoever. Invalid (non-physical) inputs such as mach < 1 for a shock relation or gamma < 1 may produce non-sensical outputs.
Modules§
- Collection of functions for isentropic compressible flow.
- Collection of functions for isentropic compressible flow.
- Normal Shock relations
- Weak oblique shock functions
Functions§
- Mach number for a given critical area ratio.
- Mach number for a given mach angle in radians.
- Mach number for a given total pressure ratio.
- Mach number for a given Prandtl-Meyer angle in radians.
- Mach number for a given stagnation density ratio.
- Mach number for a given total temperature ratio.
- Critical area ratio for given mach number and specific heat ratio
- Mach angle in radians for a given mach number.
- Total pressure ratio for given mach number and specific heat ratio
- Prandtl-Meyer angle in radians for a given mach number and specific heat ratio.
- Stagnation density ratio for given mach number and specific heat ratio
- Total temperature ratio for given mach number and specific heat ratio
- Speed of sound ratio across normal shock
- Mach number after normal shock
- Total pressure ratio across normal shock
- Static pressure ratio across normal shock
- Static density ratio across normal shock
- Static temperature ratio across normal shock
- Speed of sound ratio across weak oblique shock
- Wave angle for weak oblique shock
- Maximum oblique shock angle
- Mach number after weak oblique shock
- Stagnation pressure ratio across weak oblique shock
- Static pressure ratio across weak oblique shock
- Static density ratio across weak oblique shock
- Static temperature ratio across weak oblique shock