GenericReferenceCondition#

class GenericReferenceCondition[source]#

Bases: MultiConstructorBaseModel

Operating condition defines the physical (non-geometrical) reference values for the problem.

Example


Attributes

thermal_state: ThermalState#

Reference and freestream thermal state. Defaults to US standard atmosphere at sea level.

Default:

ThermalState()

Properties

mach: float#

Computes Mach number.

Additional Constructors

classmethod from_mach(mach, thermal_state=None)[source]#

Constructs a reference condition from Mach number and thermal state.

Parameters:
classmethod from_file(filename)#

Load a Flow360BaseModel from a .json file.

Parameters:

filename (str)

Return type:

Flow360BaseModel

Methods

help(methods=False)#

Print fields and methods of a Flow360BaseModel using rich.

Parameters:

methods (bool)

Return type:

None

to_file(filename, **kwargs)#

Export Flow360BaseModel instance to a .json file.

Parameters:
Return type:

None