StructuredBoxRefinement#
- class StructuredBoxRefinement[source]#
Bases:
Flow360BaseModelThe mesh inside the
StructuredBoxRefinementis semi-structured.The
StructuredBoxRefinementcannot enclose/intersect with other objects.The spacings along the three box axes can be adjusted independently.
The
StructuredBoxRefinementis only supported with the beta mesher.
Example
>>> fl.StructuredBoxRefinement( ... entities=[ ... fl.Box.from_principal_axes( ... name="boxRefinement", ... center=(0, 1, 1) * fl.u.cm, ... size=(1, 2, 1) * fl.u.cm, ... axes=((2, 2, 0), (-2, 2, 0)), ... ) ... ], ... spacing_axis1=7.5 * fl.u.cm, ... spacing_axis2=10 * fl.u.cm, ... spacing_normal=15 * fl.u.cm, ... )
Attributes
- spacing_axis1: Length.PositiveFloat64#
Spacing along the first principal axis of the box, the direction of its first size component.
- spacing_axis2: Length.PositiveFloat64#
Spacing along the second principal axis of the box, the direction of its second size component.
- spacing_normal: Length.PositiveFloat64#
Spacing along the third axis of the box, the one computed automatically to complete the right-handed coordinate system, and the direction of its third size component.