hm_comparesetanalysismode

Specifies the analysis mode for element-to-surface comparisons.

Syntax

hm_comparesetanalysismode mode

Type

HyperMesh Tcl Query

Description

Specifies whether to consider 2D shell thickness and offset for element-to-surface comparisons. This must precede any calls to hm_compareentities* commands.

When non-zero, the analysis will compare 2D shell elements to three dimensional surface data using the shell thickness and offset information to infer a 3D shell. This 3D shell is then compared to the surface geometries instead of the normal 2D shell.

Inputs

mode
0 - Normal (default)
1 - Consider 3D shells, ignore fillets
2 - Consider 3D shells, compare fillets

Example

To generate a same side comparison of surfs 1-20 and elems 101-120, using the 2D shell thickness and offset, but ignoring fillets:

*createmark surfs 1 1-20
*createmark elems 2 101-120
hm_compareinit
hm_comparesetanalysismode 1
hm_compareentitiessameside surfs 1 elems 2 0.1 2 0
hm_compareend

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

13.0.110