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

3.19.5 arsmnst - Moving shock relations given T2/T1
void arsmnst(double g, double t, double result[4], int *ierr);

Compute the moving normal shock wave relations given the temperature ratio T2/T1   .

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

T - REAL

ENTRY: Temperature ratio T /T > (γ2+1)/(γ+ 1)2
  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 T2/T1   out of range.