flownormalshock
Normal shock relations
Syntax
Description
[
produces an array for each normal shock relation
(mach
,T
,P
,rho
,downstream_mach
,P0
,P1
]
= flownormalshock(gamma
,normal_shock_relations
,mtype
)normal_shock_relations
). This function calculates these arrays for
a given set of specific heat ratios, gamma
, and any one of the normal
shock relations, normal_shock_relations
. mtype
selects the normal shock relations that normal_shock_relations
represents. All ratios are downstream value over upstream value. Consider upstream to be
before or ahead of the shock and downstream to be after or behind the shock.
Examples
Input Arguments
Output Arguments
Limitations
This function assumes that:
The medium is a calorically perfect gas.
The flow is frictionless and adiabatic.
The flow variables vary in one dimension only.
The main mechanism for the change of flow variables is the change of cross-sectional area of the flow stream tubes.
If the temperature experiences large fluctuations, the perfect gas assumption might be invalid. If the stagnation temperature is above 1500 K, do not assume constant specific heats. In this case, the medium ceases to be a calorically perfect gas. You must then consider it a thermally perfect gas. For thermally perfect gas correction factors, see [2]. If the temperature is so high that molecules dissociate and ionize (static temperature 5000 K for air), you cannot assume a perfect gas.
More About
References
[1] James, John E. A. Gas Dynamics. 2nd ed. Boston: Allyn and Bacon 1984.
[2] Ames Research Staff. NACA Technical Report 1135. Moffett Field, CA: National Advisory Committee on Aeronautics, 1953. 667–671.
Version History
Introduced in R2010a
See Also
flowfanno
| flowisentropic
| flowprandtlmeyer
| flowrayleigh