*manualsplit_applypatterns

Splits shell elements with specific patterns, and automatically splits attached 1Ds.

Syntax

*manualsplit_applypatterns edge_split_count triplets

Type

HyperMesh Tcl Modify Command

Description

Splits shell elements with specific patterns, and automatically splits attached 1Ds.

Pattern Name Pattern ID Image
Quad0000 10
Quad0000 85
Quad0000 86
Quad0000 89
Quad1000 17
Quad1000 59
Quad1000 87
Quad1010 15
Quad1100 13
Quad1110 66
Quad1111 19
Quad2000 72
Quad2020 77
Quad2200 73
Quad2220 79
Quad2222 78
QuadN000 101
QuadN0N0 103
QuadNN00 102
QuadNNN0 104
QuadNNNN 105
Tria000 68
Tria000 88
Tria100 32
Tria110 33
Tria111 80
Tria111 81
Tria200 82
Tria220 83
Tria222 84
TriaN00 106
TriaNN0 107
TriaNNN 108

Inputs

edge_split_count
The number of split points on element edges. Valid values are >= 0.
This is valid only for tria patterns 106, 107, and 108, and quad patterns 101, 102, 103, 104, and 105.
triplets
Uniquely determines a split pattern to be applied on a given element. This is a space separated and quoted list of triplets, with each triplet consisting of 3 colon separated values Ai:Bi:Ci. These values are:
Ai - The element ID
Bi - The split pattern ID. Valid tria patterns are 32, 33, 68, 80, 81, 82, 83, 84, 88, 106, 107, 108. Valid quad patterns are 10, 13, 15, 17, 19, 59, 66, 72, 73, 77, 78,79, 85, 86, 87, 89, 101, 102, 103, 104, 105.
Ci - The shell element side ID. Valid values are [0, n] where n = element edge/sides count.

Examples

To split element 100 with 4 edge splits, using pattern 106 and side 2:
*manualsplit_applypatterns 4 "100:106:2"
To split multiple elements with 1 edge split, using different patterns and sides:
*manualsplit_applypatterns 1 "4:17:1 14:89:0 47:86:0 61:17: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

2020