*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:
aspect_ratio_2d
aspect_ratio_3d
cell_squish_3d
chord_dev_2d
equiangular_skew_3d
jacobian_2d
jacobian_3d
max_angle_quad_2d
max_angle_quad_3d
max_angle_tria_2d
max_angle_tria_3d
max_size_2d
max_size_3d
min_size_3d
min_angle_quad_2d
min_angle_quad_3d
min_angle_tria_2d
min_angle_tria_3d
min_size_2d
orthogonality_3d
percent_tria_2d
size_ratio_3d
skew_2d
skew_3d
taper_2d
tetra_collapse_3d
time_step_2d
time_step_3d
volume_aspect_ratio_3d
volume_skew_3d
warpage_2d
warpage_3d
The list of valid options are:
color=<value>
The color of the criterion. Valid values are 1-64.
fail=<value>
The fail threshold value for the criterion. Must be a valid value.
good=<value>
The good threshold value for the criterion. Can be set to "auto" to auto-calculate based on the fail value. Not valid for time_step_2d.
ideal=<value>
The ideal threshold value for the criterion. This is only valid for max_size_2d, max_size_3d, min_size_2d, and min_size_3d. If specified, max_fail and min_fail must also be provided (for example, *criteria_update target_element_size_2d = {ideal = 7, min_fail = 2, max_fail = 15}).
max_fail=<value>
The max fail threshold value used when ideal is specified. Can also be used independently with element_size_3d.
method=<value>
The calculation method to apply to the criterion. Available methods vary for each criterion. Individual methods for quality parameters can be set only if global_solver=individual_methods (except for min_size_2d, min_size_3d, jacobian_2d and jacobian_3d).
Valid values for min_element_size_2d and min_element_size_3d:
minimum_height
minimum_normalized_height
ls_dyna_isdo=0
ls_dyna_isdo=1
ls_dyna_isdo=2
pam-crash_large
pam-crash_small
radios_default_formation
shortest_edge
Valid values for jacobian_2d and jacobian_3d:
corner_mid_points
corner_points
high_order_integration_points
integration_points
Valid values for other quality checks:
abaqus
ansys
hypermesh
hypermesh-alt
ideas
medina
moldflow
nastran
optistruct
patran
min_fail=<value>
The min fail threshold value used when ideal is specified. Can also be used independently with element_size_3d.
state=<value>
The state of the criterion:
0 - Disabled
1 - Enabled
warn=<value>
The warn threshold value for the criterion. Can be set to "auto" to auto-calculate based on the fail value. Not valid for time_step_2d.
worst=<value>
The worst threshold value for the criterion. Can be set to "auto" to auto-calculate based on the fail value. Not valid for time_step_2d.
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:
abaqus
ansys
hypermesh
hypermesh-alt
ideas
individual_methods
medina
moldflow
nastran
optistruct
patran
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.