Compressible Flow Subroutine Library
Programming Reference Manual
Version 1.0 DD-00008-110
3.4.4 armcrla - Critical mach number given Cp0   using Laitone pressure approximation
DOUBLE PRECISION FUNCTION AR04AD(G,CP0,IERR)
  DOUBLE PRECISION G, CP0
  INTEGER IERR

Compute critical mach number given Cp0   Laitone pressure approximation.

Performance
Iterative

Arguments




Argument Intent

Description




g in

Specific heat constant γ .

cp0 in

Critical pressure coefficent Cp0   .

ierr out

(optional) Return status code




Status codes

-1

Specific heat ratio γ≤ 1  .

-2

Iterative solver failed.

Return Value
Critical mach number Mcrit   or NAN on error.