ForcePerArea#

class ForcePerArea[source]#

Bases: Flow360BaseModel

ForcePerArea class for setting up force per area for Actuator Disk.

Example

>>> fl.ForcePerArea(
...     radius=[0, 1] * fl.u.mm,
...     thrust=[4.1, 5.5] * fl.u.Pa,
...     circumferential=[4.1, 5.5] * fl.u.Pa,
... )

Attributes

radius: Any#

Radius of the sampled locations in grid unit.

thrust: Any#

Dimensional force per area in the axial direction, positive means the axial force follows the same direction as the thrust axis.

circumferential: Any#

Dimensional force per area in the circumferential direction, positive means the circumferential force follows the same direction as the thrust axis with the right hand rule.

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