Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010E

3.11.8 arsolms - Oblique shock relations given M1   and θ
void arsolms(double g, double m, double t, bool strong, double result[10], int *ierr);

Compute the oblique shock relations given the mach number M1   and the deflection surface angle θ .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

M - REAL

ENTRY: Mach number M1 ≥1  .

T - REAL

ENTRY: Deflection surface angle 0< θ< 90  .

STRONG - BOOLEAN

ENTRY: Whether this is a strong shock.

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  9.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given M1   out of range.

-3

Given θ out of range.

-4

Calculation failed.