Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-110
3.6.9 arffads - Fanno relations given (s-s*)/cp
SUBROUTINE AR06AH(G,DS,IS_SUB,RESULT,IERR)
  DOUBLE PRECISION G, DS, RESULT(8)
  LOGICAL IS_SUB
  INTEGER IERR

Compute the fanno relations given the fanno line, (s-s*)/cp .

Performance
Iterative

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

ds in

Change in entropy           *
- ∞ < (s-s  )/cp<∞ .

is_sub in

Whether M corresponding to the given (s -s*)/c
       p is assumed to be sub- or super- sonic.

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     *
(s -s )/cp out of range.

-4

Iterative solver failed.