Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010
3.8.5 arfitp0 - Isothermal relations given p01/p02
void arfitp0(double g, double p0, bool is_sub, double result[6], int *ierr);

Compute the isothermal relations given the stagnation pressure ratio, p01/p02   .

Performance
Iterative

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

p0 in

Stagnation pressure ratio 1≤ p02/p01   .

is_sub in

Whether M corresponding to the given p02/p01   is assumed to be sub- or super- sonic.

result out

Array with result properties as described in  6.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given p01/p02   out of range.

-4

Iterative solver failed.