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

3.10.7 arsnsp0 - Normal shock relations given p02/p01
SUBROUTINE AR10AF(G,P0,RESULT,IERR)
  DOUBLE PRECISION G, P0, RESULT(5)
  INTEGER IERR

Compute the normal shock relations given the stagnation pressure ratio p02/p01   .

Performance
Iterative

Arguments

G - REAL

ENTRY: Specific heat constant γ .

P0 - REAL

ENTRY: Stagnation pressure ratio 0 ≤p  /p   ≤1
    02  01  .

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  8.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M1n out of range.

-3

Given p02/p01   out of range.

-4

Iterative solver failed.