*fixnarrowsurfaces
Fixes narrow surfaces and surfaces having local narrow regions like tails and necks.
Syntax
*fixnarrowsurfaces entity_type mark_id width_threshold mesh_type fix_flag string_options
Type
HyperMesh Tcl Modify Command
Description
This command fixes narrow surfaces and surfaces having local narrow regions like tails and necks.
It is intended to eliminate sliver elements while meshing and sometimes to allow meshing surfaces otherwise non-meshable. Different levels of fixes can be provided for different types of meshing.
Inputs
- entity_type
- The type of entity to consider. Valid values are surfs, solids and comps.
- mark_id
- The ID of the mark containing the input entities. Valid values are 1 and2.
- width_threshold
-
The width threshold for considering surfaces as narrow. It should be a positive value much smaller than the target element size for meshing of the model.
- mesh_type
- The targeted mesh type:
- 0 - Meshing using surface topology. Sliver surfaces, narrow surface tails and necks are identified and corresponding edges are points are self-stitched together. Collapsed surfaces are removed.
- 1 - Meshing the splines (faces) topology. Sliver surfaces, narrow surface tails and necks are identified and corresponding edges are points are self-stitched together. Collapsed surfaces are removed. Gaps between surfaces and vertices exceeding the geometry_fix_tol are eliminated.
- fix_flag
- When set to 1, performs geometry topology matching to morph the geometry to close physical gaps caused by stitching.
- string_options
- An optional input string containing additional input parameters. The data for each
input parameter consists of the predefined parameter keyword and the parameter value
separated by space characters and /or equality
symbol:
parameter_keyword = parameter_value
Example
*createmark surfs 1 displayed
*fixnarrowsurfaces surfs 1 0.4 0 0 ""
*createmark surfs 1 displayed
*fixnarrowsurfaces surfs 1 0.4 1 0 ""
*createmark surfs 1 displayed
*fixnarrowsurfaces surfs 1 0.4 1 0 "geometry_fix_tol = 0.02"
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2017.1
2019 - Argument five was previously reserved but is now implemented as fix_flag.