*element_smooth_nodes
Smooths a selection of elements with optional anchor nodes.
Syntax
*element_smooth_nodes mark_id node_mark_id ?option1=<value1>? ?option2=<value2>? ... ?optionN=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Smooths a selection of elements with optional anchor nodes.
Inputs
- mark_id
- The ID of the mark containing the elements to smooth. Valid values are 1 and 2.
- node_mark_id
- The ID of the mark containing any anchor nodes. Valid values are 1 and 2.
- anchorfreeedgenodes=<value>
- Option to compute and add free anchor nodes from element selection to the smoothening code (default = 1).
- iterations=<value>
- The maximum number of smoothing iterations to perform (default 1).
- smoothmethod=<value>
- The smoothing method. Valid values are:
- timelimit=<value>
- The time limit in minutes for QI and AutoDecideWithQI (default is off).
Example
To smooth elements ID 100-200 with anchor nodes ID 150 and 151 using AutoDecideWithQI_locked method:
*elementqualitysetup_new 2
*createmark elements 1 100-200
*createmark nodes 1 150 151
*element_smooth_nodes 1 1 smoothmethod=AutoDecideWithQI_locked iterations=5 anchorfreeedgenodes=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
2019.1
2020 - Added new Method value AutoDecideWithQI_Params_locked.
2022.3 - Added new option anchornodes.
2023 - Renamed the anchornodes option to anchorfreeedgenodes.