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

3.11.3 arsolpw - Oblique shock relations given p2/p1   and δ
SUBROUTINE AR11AB(G,P,D,RESULT,IERR)
  DOUBLE PRECISION G, P, D, RESULT(10)
  INTEGER IERR

Compute the oblique shock relations given the pressure ratio p2/p1   and the wave angle δ .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

P - REAL

ENTRY: Pressure ratio p /p  >-(γ -1)/(γ+1)
 2  1  .

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 p2/p1   out of range.

-3

Given δ out of range.