*meshtopologyadjust

Adjusts the mesh on selected surfaces to its boundary by moving nodes to the boundary, splitting elements or suppressing geometry edges or vertices.

Syntax

*meshtopologyadjust mark_id flags

Type

HyperMesh Tcl Modify Command

Description

This command is intended to work with 2D meshes created by QI meshing, batchmeshing, element remeshing and manual editing tools. Very often such meshes have multiple elements intersected by the surfaces selection boundary edges. This command attempts to adjust the mesh on selected surfaces to its boundary by moving nodes to the boundary, splitting elements or suppressing geometry edges or vertices.

Inputs

mark_id
The ID of the mark containing the input surfaces. Valid values are 1 and 2.
flags
A flag that controls the level of mesh adjustment to topology. Valid values are:
0 - Adjustment ensures that all elements within the selection are not intersected by the selection boundary edges. It’s not guaranteed that there are no geometry vertices in the middle of boundary element edges. There are no topology changes for this value.
1 - Adjustment ensures that all elements within the selection are not intersected by the selection boundary edges. All boundary element edges shared with any adjacent mesh do not have any geometry vertices in the middle. Some topology changes may occur for this case such as the suppression of geometry edges and vertices.
3 - Adjustment provides that all elements within the selection are not intersected by the selection boundary edges. All boundary element edges (both those shared and not shared with any adjacent mesh) do not have any geometry vertices in the middle. Some topology changes may occur for this case such as the suppression of geometry edges and vertices.

Example

To adjust the elements for surface 143 with full adjustment to topology edges of elements edges shared with adjacent mesh:

*createmark surfaces 1 143
*meshtopologyadjust 1 3

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

11.0