*penetrationchecktwo

Checks penetration for entities selection type groups, elems2elems, nodes2elems, and elemsonly.

Syntax

*penetrationchecktwo entity_type1 mark1 entity_type2 mark2 segment_orientation partscale_contthick_toggle part_scale cont_thick

Type

HyperMesh Tcl Modify Command

Description

Checks penetration for entities selection type groups, elems2elems, nodes2elems, and elemsonly. To release the memory after completion, use the command *penetrationcheckend.

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

Inputs

entity_type1
Type of the first entity.
  • groups for selection type groups'
  • elements for selection type elems2elems
  • elements for selection type nodes2elems
  • elements for selection type elemsonly
mark1
Mark of the first entity.
  • undefined for selection type groups
  • elements for selection type elems2elems
  • nodes for selection type nodes2elems
  • undefined for selection type elemsonly
entity_type2
Type of the second entity.
mark2
Mark of the second entity.
segment_orientation
Flag for taking element normal into consideration for checking penetration.
  • 0 - Elements normal will not be considered
  • 1 - Elements normal will be considered
partscl_contthk_toggle
  • 1 - If part thickness scale is selected
  • 2 - If contact thickness is selected
part_scale
Value of part scale factor.
cont_thick
Value of contact thickness.

Example

For checking penetration between elems2elems with segment orientation option and part thickness scale:

*penetrationchecktwo(elements,1,elements,2,1,1,1,0) 

For checking penetration between nodes2elems without segment orientation option and with contact thickness:

*penetrationchecktwo(elements,1,nodes,1,0,2,1,1)

*createmark() for entity type 1 and createmark() for entity type 2 are required.

Errors

None.