MachAcrossShock:

Path: ACPro/ACEngine

% Compute the Mach number across a shock.
 It automatically limits theta to angles for which m1*sin(theta) >= 1.
 At the minimum angle there is no drop in Mach across the shock.
 The maximum value for theta is pi/2, a normal shock.

 Type MachAcrossShock for a demo showing oblique shock angles for a
 range of shock angles. 

--------------------------------------------------------------------------
   Form:
   [m2, theta] = MachAcrossShock( m1, gamma, theta )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   m1    (1,1)  Mach number before shock
   gamma	(1,1)  Fluid ratio of specific heats
   theta	(1,:)  Oblique shock angle (rad)

   -------
   Outputs
   -------
   m2    (1,1)  Mach number after shock
   theta	(1,:)  Limited oblique shock angle (rad)

--------------------------------------------------------------------------
   Reference: Ames Research Staff, "Equations, Tables and Charts for
              Compressible Flow," Report 1135, equation 131.
--------------------------------------------------------------------------

Children:

ACPro: ACEngine/StreamlineShockAngle
Common: Graphics/Plot2D

Back to the ACPro Module page