*penetrationcheck

Checks the given components for contact surface penetrations.

Syntax

*penetrationcheck entity_type mark_id check_type

Type

HyperMesh Tcl Modify

Description

Checks the given components for contact surface penetrations. To release the memory after completion, use the command *penetrationcheckend.

A valid template must be loaded for the check to occur.

Inputs

entity_type
The type of entity to check for penetration. Valid values are groups and elems.
mark_id
The ID of the mark containing the entities to check. Valid values are 1 and 2.
check_type
The type of penetration check to perform. Valid values are:
  • 0 - groups
  • 3 - elems only

Example

To check the elements in group E2E for penetration:

*createmark groups 1 E2E
*penetrationcheck groups 1 0
*penetrationcheckend

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}