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

3.11.6 arsolp0w - Oblique shock relations given p02/p01   and δ
void arsolp0w(double g, double p0, double d, double result[10], int *ierr);

Compute the oblique shock relations given the stagnation pressure p02/p01   and the wave angle δ .

Performance
Iterative

Arguments

G - REAL

ENTRY: Specific heat constant γ .

P0 - REAL

ENTRY: Stagnation pressure ratio p02/p01   .

D - REAL

ENTRY: Wave angle 0< δ<90  .

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 p02/p01   out of range.

-3

Given δ out of range.

-4

Iterative solver failed.