Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010
3.5.3 arfisp - Isentropic relations given p2/p1
void arfisp(double g, double p, double result[5], int *ierr);

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

Performance
Fixed

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

p in

Pressure ratio 0≤p2/p1≤ 1  .

result out

Array with result properties as described in  3.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given p2/p1   out of range.