GeometryRefinement#
- class GeometryRefinement[source]#
Bases:
Flow360BaseModelSetting for refining surface elements for given Surface, or within a
Boxregion. Inside a box, the settings specified here override the per-face values of any surface passing through it; settings left unspecified keep their per-face values.Example
>>> fl.GeometryRefinement( ... faces=[geometry["face1"], geometry["face2"]], ... geometry_accuracy=0.001*fl.u.m ... )
>>> fl.GeometryRefinement( ... entities=[fl.Box(name="region", center=(1, 0, 0)*fl.u.m, size=(2, 1, 1)*fl.u.m)], ... geometry_accuracy=0.001*fl.u.m ... )
Attributes
- entities: EntityList[Surface, MirroredSurface, WindTunnelGhostSurface, Box]#
Surfaces to which these settings apply, and/or
Boxregions inside which the settings specified here override the per-face values of any surface passing through them; settings a box leaves unspecified keep their per-face values.
- geometry_accuracy: Length.PositiveFloat64, optional#
The smallest length scale that will be resolved accurately by the surface meshing process.
- Default:
None
- preserve_thin_geometry: bool, optional#
Flag to specify whether thin geometry features with thickness roughly equal to geometry_accuracy should be resolved accurately during the surface meshing process. When applied to a Box region, the flag controls thin-feature resolution only within the box.
- Default:
None
- sealing_size: Length.NonNegativeFloat64, optional#
Threshold size below which all geometry gaps are automatically closed. When nonzero, it must not be smaller than geometry_accuracy.
- Default:
None
- min_passage_size: Length.PositiveFloat64, optional#
Minimum passage size that hidden geometry removal can resolve for this face group. Internal regions connected by thin passages smaller than this size may not be detected. It must not be smaller than geometry_accuracy, nor smaller than sealing_size when sealing_size is nonzero. If not specified, the value is derived from geometry_accuracy and sealing_size.
- Default:
None
- baffle_face_treatment: Literal['remove', 'thicken', 'default'], optional#
Treatment of baffle faces (faces with both sides facing fluid) within this face group.Only applies if remove_hidden_geometry is true. ‘remove’ deletes them, while ‘thicken’ inflates them into a thin closed shell. ‘default’ applies no special treatment. If not specified, inherits meshing.defaults.baffle_face_treatment.
- Default:
None
Methods