mach_number_comp.py
- class openconcept.atmospherics.mach_number_comp.MachNumberComp(**kwargs)
Bases:
ExplicitComponent
Computes mach number from true airspeed and speed of sound
- Inputs:
fltcond|a (float) – Speed of sound (vector, m/s)
fltcond|Utrue (float) – True airspeed (vector, m/s)
- Outputs:
fltcond|M (float) – Mach number (vector, dimensionless)
- Options:
num_nodes (int) – Number of analysis points to run (sets vec length) (default 1)