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

3.6.3 arffap - Fanno relations given p/p*
SUBROUTINE AR06AB(G,P,RESULT,IERR)
  DOUBLE PRECISION G, P, RESULT(8)
  INTEGER IERR

Compute the fanno relations given the pressure ratio, p/p* .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

P - REAL

ENTRY: Pressure ratio 0≤ p/p* .

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