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

3.6.4 arffad - Fanno relations given ρ/ρ*
void arffad(double g, double d, double result[8], int *ierr);

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

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

D - REAL

ENTRY: Density ratio √︁(γ--1)/(γ+-1)≤ ρ/ρ* .

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  4.

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.