surface_mesh#
- Mesh.surface_mesh(min_size=None, max_size=None, generate_quads=False, scope=<ansys.meshing.prime.lucid.scope.SurfaceScope object>)#
Generate Surface mesh on the given scope.
This method generates surface mesh on the given scope. The method is used to generate constant or variable size surface mesh. The method supports generating quad dominant or triangular elements.
If min size and max size are provided, variable size mesh is generated between min size and max size by applying sizes based on curvature.
If either of min size or max size is provided, constant size mesh will be generated with the provided size.
If neither of min size or max size is provided, global max setting is used to generate a constant size mesh.
- Parameters:
- min_size
float
Minimum edge length of the mesh.
- max_size
float
Maximum edge length of the mesh.
- generate_quadsbool
Generate quad dominant mesh or all triangular mesh.
- scope
SurfaceScope
Scope for generating surface mesh.
- min_size