Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-110
3.19.4 arsmnsd - Moving shock relations given ρ2/ρ1
SUBROUTINE AR18AC(G,P,RESULT,IERR)
  DOUBLE PRECISION G, D, RESULT(4)
  INTEGER IERR

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

Performance
Fixed

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

d in

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

result out

Array with result properties as described in  16.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Computed M out of range.

-3

Given ρ2/ρ1   out of range.