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

3.5.6 arfisa - Isentropic relations given A/A *
void arfisa(double g, double a, bool is_sub, double result[5], int *ierr);

Compute the isentropic relations given the critical area ratio A/A * .

Performance
Iterative

Arguments

G - REAL

ENTRY: Specific heat constant γ .

A - REAL

ENTRY: Critical area ratio A/A* ≥1  .

IS_SUB - BOOLEAN

ENTRY: Whether the mach number correspdonding to A/A * is assumed to be sub- or super- sonic.

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

-4

Iterative solver failed