*splitelementbyelemselect

Splits shell element patches using patterns based on the patch shared edges.

Syntax

*splitelementbyelemselect elem_mark=<mark_id> ?option1=<value1>? ?option2=<value2>? ... ?optionN=<valueN>?

Type

HyperMesh Tcl Modify Command

Description

Splits shell element patches using patterns based on the patch shared edges.

Inputs

elem_mark=<mark_id>
The ID of the mark containing elements to split. Valid values are 1 and 2.
consider1ds=<value>
Check for 1D elements during the split operation.
0 – Splitting 1D elements disabled.
1 – Splitting 1D elements enabled. (default)
dividequadsoptions =<value>
The orientation of the diagonals of the selected elements after split.
ShortestDiagonals – Chooses the shortest diagonal in each element. (default)
AlignedDiagonals – Aligns all the diagonals in the same direction.
UnionjackDiagonals – Creates a union-jack pattern out of the diagonals.
LargestAngleDiagonals – Chooses the diagonal that splits the largest angle in the element.
midpointoptions =<value>
The element split pattern at the midpoint.
ToQuads – Splits quads and trias into quads only.
ToTrias – Splits quads and trias into trias only.
reverseorientation =<value>
Check for switching to the other diagonal within each selected element.
0 – The diagonals are not reversed. (default)
1 – The diagonals are reversed.
splitallsidesoptions =<value>
The mode in which trias are split if “SplitAllSides” is the split mode. This option is effective only if splitoptions is set to SplitAllSides and splitnumberedges is set to 1.
Quads – Splits a tria into three quads. (default)
Mixed – Splits a tria into two trias and one quad.
splitnumberedges =<value>
The number of splits in each edge of the selected elements. Default value is 1.
splitoptions =<value>
The split mode.
SplitAllSides – Splits each edge of the selected elements. (default)
DivideQuads – Divides selected quads along the diagonals.
Midpoint – Splits selected elements at their midpoint.
useinferredgeometry =<value>
Checks for using inferred geometry from the nodes when the underlying geometry is not specified.
0 – Do not use inferred geometry.
1 – Use inferred geometry.
useadjacentlayer =<value>
Checks for using a layer of adjacent elements as transition elements for split operations.
0 – Do not use adjacent layer. (default)
1 – Use an adjacent layer.

Examples

To split elements ID 10 and 11:

*createmark elements 1 10 11
*splitelementbyelemselect elem_mark=1 splitoptions=SplitAllSides splitallsidesoptions=Quads consider1ds=1 splitnumberedges=5 useinferredgeometry=1 useadjacentlayer=0

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

2021

2022.3 - Updated the syntax to support name-value argument pairs and added new option consider1ds.

2023 - Added new options dividequadsoptions, midpointoptions, reverseorientation, splitallsidesoptions, splitnumberedges, splitoptions, useinferredgeometry and useadjacentlayer.