Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-110
3.7.3 arfrap - Rayleigh relations given p/p*
SUBROUTINE AR07AB(G,P,RESULT,IERR)
  DOUBLE PRECISION G, P, RESULT(8)
  INTEGER IERR

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

Performance
Fixed

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

p in

Pressure ratio      *
0<p/p  <γ+ 1  .

result out

Array with result properties as described in  5.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given p/p* out of range.