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

3.5.4 arfisd - Isentropic relations given ρ2/ρ1
SUBROUTINE AR05AC(G,D,RESULT,IERR)
  DOUBLE PRECISION G, D, RESULT(5)
  INTEGER IERR

Compute the isentropic relations given the density ratio ρ2/ρ1   .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

R - REAL

ENTRY: Density ratio 0≤ ρ /ρ  ≤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 ρ2/ρ1   out of range.