snappy.SnapControls#
- class SnapControls#
Bases:
Flow360BaseModelsnappyHexMesh snap controls.
Attributes
- n_smooth_patch: int#
Number of patch smoothing iterations before finding correspondence to surface.
- Default:
3
- tolerance: float#
Ratio of distance for points to be attracted by surface feature point or edge, to local maximum edge length.
- Default:
2
- n_relax_iterations: int#
Number of relaxation iterations during the snapping. If the mesh does not conform the geometry and all the iterations are spend, user may try to increase the number of iterations.
- Default:
5
- n_feature_snap_iterations: int#
Number of relaxation iterations used for snapping onto the features. If not specified, feature snapping will be disabled.
- Default:
15
- multi_region_feature_snap: bool#
When using explicitFeatureSnap and this switch is on, features between multiple surfaces will be captured. This is useful for multi-region meshing where the internal mesh must conform the region geometrical boundaries.
- Default:
True
- strict_region_snap: bool#
Attract points only to the surface they originate from. This can improve snapping of intersecting surfaces.
- Default:
False
Additional Constructors
- classmethod from_file(filename)#
Load a Flow360BaseModel from a .json file.
- Parameters:
filename (str)
- Return type:
Flow360BaseModel
Methods