AngleExpression#

class AngleExpression[source]#

Bases: SingleAttributeModel

AngleExpression class for define the angle expression for Rotation.spec. The result of the expression is assumed to be in radians.

Example

>>> fl.AngleExpression("0.1*sin(t)")

Attributes

value: str#

The expression defining the rotation angle as a function of time.

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