Flow Module
- class pysagas.flow.FlowState[source]
An ideal gas state defined by Mach number, pressure and temperature, with a flow direction.
- __init__(mach, pressure, temperature, direction=None, aoa=0.0, gamma=1.4)[source]
Define a new flow state.
- Parameters:
mach (float) – The flow Mach number.
pressure (float) – The flow pressure (Pa).
temperature (float) – The flow temperature (K).
direction (Vector, optional) – The direction vector of the flow. The default is Vector(1,0,0).
aoa (float, optional) – The angle of attack of the flow. The default is 0.0 (specified in degrees).
gamma (float, optional) – The ratio of specific heats. The default is 1.4.
- Return type:
None
- class pysagas.flow.GasState[source]
An ideal gas state defined by Mach number, pressure and temperature.
- __init__(mach, pressure, temperature, gamma=1.4)[source]
Define a new gas state.
- Parameters:
mach (float) – The flow Mach number.
pressure (float) – The flow pressure (Pa).
temperature (float) – The flow temperature (K).
gamma (float, optional) – The ratio of specific heats. The default is 1.4.
- Return type:
None