Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-010
3.11.4 arsoldw - Oblique shock relations given ρ2/ρ1   and δ
void arsoldw(double g, double ds, double d, double result[10], int *ierr);

Compute the oblique shock relations given the density ratio ρ2/ρ1   and the wave angle δ .

Performance
Fixed

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

p in

Density ratio 0< ρ2/ρ1< (γ +1)/(γ-1)  .

d in

Wave angle 0 <δ <90  .

result out

Array with result properties as described in  9.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given ρ2/ρ1   out of range.

-3

Given δ out of range.