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

3.5.3 arfisp - Isentropic relations given p2/p1
SUBROUTINE AR05AB(G,P,RESULT,IERR)
  DOUBLE PRECISION G, P, RESULT(5)
  INTEGER IERR

Compute the isentropic relations given the pressure ratio p2/p1   .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

P - REAL

ENTRY: Pressure ratio 0≤ p /p  ≤1
    2  1  .

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  3.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given p2/p1   out of range.