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

3.20.3 arsmnvw - Dynamic moving shock relations given V
SUBROUTINE AR19AB(G,A0,W,RESULT,IERR)
  DOUBLE PRECISION G, A0, W, RESULT(3)
  INTEGER IERR

Compute the dynamic moving normal shock wave relations given the the velocity V and the speed of sound a0   of the medium.

Performance
Fixed

Arguments

G - REAL

ENTRY: Specific heat constant γ .

A0 - REAL

ENTRY: Speed of sound in the medium a > 0
 0  .

W - REAL

ENTRY: Velocity V >0  .

RESULT - ARRAY OF REAL

EXIT: Array with result properties as described in  17.

IERR - INTEGER

EXIT: (optional) Return status code.

Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given a0   out of range.

-3

Computed p2/p1   out of range.

-4

Given V out of range.