*equivalence2

Equivalences duplicate nodes on the "exposed" faces of 2D/3D elements in selected components to all other nodes in the model within a tolerance.

Syntax

*equivalence2 mark_id tolerance location numbering

Type

HyperMesh Tcl Modify Command

Description

Equivalences duplicate nodes on the "exposed" faces of 2D/3D elements in selected components to all other nodes in the model within a tolerance.

Inputs

mark_id
The mark ID containing the input components. Valid values are 1 and 2.
Only nodes on the "exposed" faces of the 2D/3D elements in the selected components are considered.
tolerance
The tolerance used to find neighboring nodes, not in the specified components, to equivalence with.
location
Location of equivalenced nodes:
  • 0 - Equivalence at the location of the node in the component.
  • 1 - Equivalence at the location of the node not in the component.
  • 2 - Equivalence at the midpoint of the two nodes.
numbering
The numbering of the retained node:
  • 0 - Retain the number of the node in the component.
  • 1 - Retain the number of the node not in the component.

Example

To equivalence the nodes on the exposed faces of components 1-5, using a tolerance of 0.1 and keeping the location and number of the component nodes:
*createmark comps 1 1-5
*equivalence2 1 0.1 0 0

Errors

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