*elementqualityoptimizeelementnew

Optimizes 2D element node locations to improve the element and adjacent elements' quality index according to pre-set quality criteria.

Syntax

*elementqualityoptimizeelementnew element_id midnodes_flag

Type

HyperMesh Tcl Modify Command

Description

This command optimizes 2D element node locations to improve the element and adjacent elements' quality index according to pre-set quality criteria.

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

element_id
The element ID.
midnodes_flag
0 - Do not consider neighboring mid-nodes during optimization.
1 - Consider neighboring mid-nodes during optimization.

Example

To optimize the node locations of the elements with IDs 397, 432 and 102 using quality criteria from a file:
*readqualitycriteria c:/criteria/mycriteria.txt
*createmark elems 1 displayed
*elementqualitysetup 1
*elementqualityoptimizeelementnew 397 1 
*elementqualityoptimizeelementnew 432 0
*elementqualityoptimizeelementnew 102 1
*elementqualityshutdown 1

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

12.0.110