*criteria_update
Updates the global mesh quality values.
Syntax
*criteria_update <criterion1>={<option1>=<value1> ?<option2>=<value2>? ... ?<optionN>=<valueN>?} ... ?<criterionN>={<option1>=<value1> ?<option2>=<value2>? ... ?<optionN>=<valueN>?}? ... ?<optionN>=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Updates the global mesh quality values.
Inputs
Criteria Options
- <criterion>={<option1>=<value1> ?<option2>=<value2>? ... ?<optionN>=<valueN>?}
- Supported criteria are:
Global Options
- global_solver=<value>
- Specifies the global calculation method to be used for all quality parameters. Individual quality methods for each quality check with be modified accordingly. Valid values are:
- legend_colors={qiview_color=<value>, ideal_color=<value>, good_color=<value>, warn_color=<value>, fail_color=<value>, worst_color=<value>}
- Sets the color values for the 6 legend thresholds. Valid colors are 1-64.
Examples
Update the thresholds of min size for 2D by providing all the thresholds
values:
*criteria_update min_size_2d = {state=1, color=59, method=shortest_edge, good=9, warn=4, fail=2, worst=1}
Auto update the thresholds for 3D Jacobian by providing just the fail
value:
*criteria_update jacobian_3d = {state=1, color=43, good=auto, warn=auto, fail=0.5, worst=auto}
Change the global methods to Abaqus:
*criteria_update global_solver = abaqus
Change the global methods to individual
methods:
*criteria_update global_solver = individual_methods
Update the target element size for 3D quality
checks:
*criteria_update target_element_size_3d = {ideal=6, min_fail=1, max_fail=10}
Update the ideal size and other thresholds for min size and max size 2D
quality:
*criteria_update min_size_2d = {ideal=10.1, good=9, warn=4, fail=2, worst=1} max_size_2d = {ideal=10.2, good=12, warn=15, fail=20, worst=30}
Update the legend
colors:
*criteria_update legend_colors = {qiview_color=5, ideal_color=59, good_color=33, warn_color=7, fail_color=60, worst_color=4}
Update the 2D time step
criteria:
*criteria_update time_step_2d = {state = 1, fail = 0.1, color = 43}
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
2021
2022.2 - Added new criterion value time_step_3d.