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

3.5.5 arfist - Isentropic relations given T2/T1
void arfist(double g, double t, double result[5], int *ierr);

Compute the isentropic relations given the temperature ratio T2/T1   .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

T - REAL

ENTRY: Temperature ratio 0 ≤T /T ≤ 1
     2 1  .

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  3.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given T2/T1   out of range.