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

3.7.4 arfrad - Rayleigh relations given ρ/ρ*
void arfrad(double g, double d, double result[8], int *ierr);

Compute the rayleigh relations given the density ratio, ρ/ρ* .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

D - REAL

ENTRY: Density ratio γ(γ+1)< ρ/ρ * .

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 ρ/ρ * out of range.