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

3.19.4 arsmnsd - Moving shock relations given ρ2/ρ1
void arsmnsd(double g, double d, double result[4], int *ierr);

Compute the moving normal shock wave relations given the density ratio ρ2/ρ1   .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

D - REAL

ENTRY: Density ratio ρ /ρ  >-(γ2-1)/(γ2 +1)
 2  1  .

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  16.

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.