CustomVolume#

final class CustomVolume[source]#

Bases: _VolumeEntityBase

Volume zone defined by its bounding entities, generated by the volume mesher.

Attributes

bounding_entities: EntityList[Surface, Cylinder, AxisymmetricBody, Sphere]#

The entities that define the boundaries of the custom volume.

axes: Optional[typing.Annotated[tuple[flow360_schema.framework.entity.geometric_types.Axis, flow360_schema.framework.entity.geometric_types.Axis], AfterValidator(func=<function _check_axis_is_orthogonal at 0x7bbe21b69510>)]]#
Default:

None

axis: Axis, optional#
Default:

None

center: Any, optional#
Default:

None

Properties

id: str#

Returns private_attribute_id of the entity.

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