LiquidOperatingCondition#

class LiquidOperatingCondition[source]#

Bases: Flow360BaseModel

Operating condition for simulation of water as the only material.

Example

>>> fl.LiquidOperatingCondition(
...     velocity_magnitude=10 * fl.u.m / fl.u.s,
...     alpha=-90 * fl.u.deg,
...     beta=0 * fl.u.deg,
...     material=fl.Water(name="Water"),
...     reference_velocity_magnitude=5 * fl.u.m / fl.u.s,
... )

Attributes

alpha: Any#

The angle of attack.

Default:

0 * fl.u.degree

beta: Any#

The side slip angle.

Default:

0 * fl.u.degree

material: Water#

Type of liquid material used.

Default:

Water()

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