hm_comparesetignoreholes

Specifies whether to ignore holes and/or slots for 3D shell comparisons.

Syntax

hm_comparesetignoreholes mode

Type

HyperMesh Tcl Query Command

Description

Specifies whether to ignore holes and/or slots when performing 3D shell element-to-surface comparisons. This must precede any calls to hm_compareentities* commands and must be used with hm_comparesetanalysismode > 0.

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, while also considering holes and slots. When > 0, holes and/or slots less than the specified diameter/length are ignored.

Inputs

mode
0 - Normal (default)
1 - Ignore holes < diameter
2 - Ignore slots < diameter and < length
3 - Ignore both holes < diameter and slots < diameter and < length
diameter
If mode is > 0, this is the diameter of the holes and/or slots to ignore.
length
If mode is > 1, this is the length of the slots to ignore.

Example

To generate a same side comparison of surfs 1-20 and elems 101-120, using the 2D shell thickness and offset, ignoring fillets and all holes < 8.0 in diameter:

*createmark surfs 1 1-20
*createmark elems 2 101-120
hm_compareinit
hm_comparesetanalysismode 1
hm_comparesetignoreholes 1 8.0 0.0
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