Engee documentation

Mach Number

Calculating Mach number using velocity and speed of sound.

mach number

Description

The Mach Number block calculates the Mach number. The Mach number is defined as:

,

where

  • - is the speed of sound;

  • - velocity vector.

Ports

Input

V - speed
`vector 3 to 1

The velocity given as a 3 by 1 vector.

Data types: Float64.

a - speed of sound
scalar

The speed of sound given as a scalar.

Data types: Float64.

Output

Mach - Mach number
`scalar

Mach number returned as a scalar.

Data types: Float64.

Additional options

C code generation: Yes