*propagatesplithexas

Given a hexa element and two nodes diagonally across a face of that element, splits the hexa according to a set pattern and propagates that split to any hexa adjoining the opposite face of the hexa and so on through the displayed elements of the database.

Syntax

*propagatesplithexas splittype startelement n1 n2

Type

HyperMesh Tcl Modify

Description

Given a hexa element and two nodes diagonally across a face of that element, splits the hexa according to a set pattern and propagates that split to any hexa adjoining the opposite face of the hexa and so on through the displayed elements of the database.

Inputs

splittype
A number between 1 and 6 identifying the splitting pattern to use.
  • 1 - Two pentas (split along the diagonal formed by n1 and n2).
  • 2 - Penta & hexa (with the penta to the left of the diagonal).
  • 3 - Hexa & penta (with the penta to the right of the diagonal).
  • 4 - Two hexas (split from the right of n1 to the left of n2).
  • 5 - Three hexas (split from n1 to both sides adjacent to n2).
  • 6 - Four hexas (split in a plus pattern).
startelement
The starting hexa element.
n1
One of the nodes defining the starting face of the hexa.
n2
The other node defining the starting face of the hexa.

Example

To split a column of hexas into paired pentas starting with element 205, where nodes 1015 and 1017 are diagonally opposite from each other across one face of the hexa:

*propagatesplithexas(1,205,1015,1017)

The hexa elements can be first or second order and need not all be the same order.

Errors

None.