Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-110
3.14.3 arsefp - Expansion fan properties given p2/p1   and either M1   or M2
SUBROUTINE AR14AB(G,P,M,IS_M2,RESULT,IERR)
  DOUBLE PRECISION G, P, M, RESULT(5)
  LOGICAL IS_M2
  INTEGER IERR

Compute the expansion fan properties given p2/p1   and either M1   or M2   .

Performance
Fixed

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

p in

Pressure ratio p2/p1   .

m in

Either M1 ≥ 1  or M2 >0  depending on whether is_m2 is false or true, respectivly.

is_m2 in

Whether the given m refers to M1   or M2   .

result out

Array with result properties as described in  12.

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Given M
  1   or M
  2   out of range.

-3

Given pressure ratio p /p
 2  1   out of range.