Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010
3.10.7 arsnsp0 - Normal shock relations given p02/p01
void arsnsp0(double g, double p0, double result[5], int *ierr);

Compute the normal shock relations given the stagnation pressure ratio p02/p01   .

Performance
Iterative

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

p0 in

Stagnation pressure ratio 0≤ p02/p01≤ 1  .

result out

Array with result properties as described in  8.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M1n out of range.

-3

Given p02/p01   out of range.

-4

Iterative solver failed.