Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010
3.7.5 arfrat - Rayleigh relations given T/T *
void arfrat(double g, double t, bool tmax, double result[8], int *ierr);

Compute the rayleigh relations given the temperature ratio, T/T* .

Performance
Fixed

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

t in

Temperature ratio       *
0< T/T .

tmax in

Whether the static temperature ratio supplied is for a low speed false or a high speed true.

result out

Array with result properties as described in  5.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given    *
T/T out of range.