*elementqualityoptimizenodenew
Optimizes a node location to improve the attached elements' quality index according to pre-set quality criteria.
Syntax
*elementqualityoptimizenodenew node_id midnodes_flag optimize_flag
Type
HyperMesh Tcl Modify
Description
This command optimizes a node location to improve the attached 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 with *reset_qa_calculator_from_file or with *reset_qa_calculator at least once before using this command. The command may be applied at any time without resetting the current quality criteria.
Inputs
- node_id
- The node ID.
- midnodes_flag
- Neighboring mid-nodes during optimization.
- 0 - Do not consider neighboring.
- 1 - Consider neighboring.
- optimize_flag
- Optimize the node location.
- 1 - Along the surface.
- 2 - Normal to the surface.
- 3 - Along and then normal to the surface.
Example
*createdoublearray 89 1 1 15 13.5 6 3 1.5 1 1 15 18 22.5 30 45 1 1 1 2 4.4 5 10 1 1 0 5 8 10 90 1 1 90 110 125 135 180 1 1 90 70 55 45 0 1 1 60 80 100 120 180 1 1 60 50 30 20 0 1 1 0 10 35 45 90 1 1 1 0.9 0.75 0.7 0 1 0 0 0.3 0.8 1 2 1 1 2 6 8 10 15 0 0 0.8 1 10
*reset_qa_calculator 1 89
*createmark elems 1 displayed
*elementqualitysetup 1
*elementqualityoptimizenodenew 102 1 1
*elementqualityoptimizenodenew 397 0 2
*elementqualityoptimizenodenew 432 1 1
*elementqualityshutdown 1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
12.0.110