classFlowState:"""Frozen dataclass representing a complete flow state."""# static conditionspres:float# Static pressure [Pa]temp:float# Static temperature [K]dens:float# Density [kg/m^3]a:float# Speed of sound [m/s]# flow kinematicsmach:float# Mach number [-]uvel:float# Velocity [m/s]# transportmu:float# Dynamic viscosity [Pa-s]nu:float# Kinematic viscosity [m^2/s]re1:float# Unit Reynolds number [1/m]# gas propertiesgamma:float# Ratio of specific heats [-]r_gas:float# Specific gas constant [J/(kg-K)]# stagnation conditionspres_stag:float# Stagnation pressure [Pa]temp_stag:float# Stagnation temperature [K]dens_stag:float# Stagnation density [kg/m^3]# metadataaltitude:float|None=Noneatmosphere_model:str|None=None
Properties
Static Conditions
Property
Type
Description
pres
float
Static pressure [Pa]
temp
float
Static temperature [K]
dens
float
Density [kg/m^3]
a
float
Speed of sound [m/s]
Flow Kinematics
Property
Type
Description
mach
float
Mach number
uvel
float
Velocity [m/s]
Transport Properties
Property
Type
Description
mu
float
Dynamic viscosity [Pa-s]
nu
float
Kinematic viscosity [m^2/s]
re1
float
Unit Reynolds number [1/m]
Stagnation Conditions
Property
Type
Description
pres_stag
float
Stagnation pressure [Pa]
temp_stag
float
Stagnation temperature [K]
dens_stag
float
Stagnation density [kg/m^3]
Gas Properties
Property
Type
Description
gamma
float
Ratio of specific heats
r_gas
float
Specific gas constant [J/(kg-K)]
Metadata
Property
Type
Description
altitude
float \| None
Altitude [m], if computed from atmosphere
atmosphere_model
str \| None
Name of atmosphere model used
Methods
__str__
Returns a formatted summary table of all flow properties.