Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010
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




Argument Intent

Description




g in

Specific heat constant γ .

d in

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

result out

Array with result properties as described in  4.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given ρ/ρ * out of range.