Supersonic#

class Supersonic[source]#

Bases: Flow360BaseModel

Supersonic class to specify the supersonic conditions for Inflow.

Example

>>> fl.Supersonic(
...     total_pressure = 7.90e6 * fl.u.Pa,
...     static_pressure = 1.01e6 * fl.u.Pa,
... )

Attributes

total_pressure: Any#

The total pressure.

static_pressure: Any#

The static pressure.

Additional Constructors

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