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

3.7.8 arfrat0 - Rayleigh relations given T02/T01
SUBROUTINE AR07AG(G,T0,IS_SUB,RESULT,IERR)
  DOUBLE PRECISION G, T0, RESULT(8)
  LOGICAL IS_SUB
  INTEGER IERR

Compute the rayleigh relations given the stagnation temperature ratio, T02/T01   .

Performance
Iterative

Arguments

G - REAL

ENTRY: Specific heat constant γ .

T0 - REAL

ENTRY: Stagnation temperature ratio T  /T  ≥ 0
  02  01  .

IS_SUB - BOOLEAN

Whether M corresponding to the given T  /T
 02 01   is assumed to be sub- or super-sonic.

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  5.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given T02/T01   out of range.

-4

Iterative solver failed.