flow360.RotationCylinder#
- class RotationCylinder[source]#
Bases:
RotationVolumeDeprecated since version Use:
RotationVolumeinstead. This class is maintained for backward compatibility but will be removed in a future version.RotationCylinder creates a rotation volume mesh using cylindrical entities.
The mesh on
RotationCylinderis guaranteed to be concentric.The
RotationCylinderis designed to enclose other objects, but it canβt intersect with other objects.Users could create a donut-shape
RotationCylinderand put their stationary centerbody in the middle.This type of volume zone can be used to generate volume zone compatible with
Rotationmodel.
Note
RotationVolumenow supports bothCylinderandAxisymmetricBodyentities. Please migrate to usingRotationVolumedirectly.Example
>>> fl.RotationCylinder( ... name="RotationCylinder", ... spacing_axial=0.5*fl.u.m, ... spacing_circumferential=0.3*fl.u.m, ... spacing_radial=1.5*fl.u.m, ... entities=cylinder ... )
- enclosed_entities: EntityList[Cylinder, Surface, AxisymmetricBody, Box] | None = None#
Entities enclosed by
RotationVolume. Can be Surface and/or other :class:`~flow360.Cylinder`(s)and/or other :class:`~flow360.AxisymmetricBody`(s)and/or other :class:`~flow360.Box`(s)
- spacing_axial: LengthType.Positive [Required]#
Spacing along the axial direction.
- Constraints:
func = <function _dimensioned_type_serializer at 0x79301f934ee0>
return_type = PydanticUndefined
when_used = always
- spacing_radial: LengthType.Positive [Required]#
Spacing along the radial direction.
- Constraints:
func = <function _dimensioned_type_serializer at 0x79301f934ee0>
return_type = PydanticUndefined
when_used = always
- spacing_circumferential: LengthType.Positive [Required]#
Spacing along the circumferential direction.
- Constraints:
func = <function _dimensioned_type_serializer at 0x79301f934ee0>
return_type = PydanticUndefined
when_used = always