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

3.6.6 arffav - Fanno relations given V /V *
void arffav(double g, double v, double result[8], int *ierr);

Compute the fanno relations given the velocity ratio, V/V* .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

V - REAL

ENTRY: Velocity ratio 0≤ V /V* ≤√︁(-γ+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 V/V* out of range.