*elementqualitysplitelem

Splits a quad element into two trias.

Syntax

*elementqualitysplitelem elem_id=<value> swap=<value>

Type

HyperMesh Tcl Modify Command

Description

This command splits a quad element into two trias.

This command only functions between an *elementqualitysetup command and an *elementqualityshutdown command.

Current element quality criteria for optimization must be set before using this command. The command may be applied at any time without resetting the current quality criteria.

Inputs

elem_id=<value>
The ID of the element to split.
swap=<value>
Element swap check.
0 – Normal split (default)
1 – Swap diagonal split

Example

To split an element ID 20 with swap:
*createmark elems 2 all
*elementqualitysetup_new 2
*elementqualitysplitelem elem_id=20 swap=1
*elementqualityshutdown 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

13.0

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