::hwat::utils::PenetrationCheck

Translates the nodes or elements along a vector until penetration is caused, and then translates in the opposite direction until the penetration is zero (less than 1e-1).

Syntax

PenetrationCheck {Elemlist} {Nodelist} Xcomp Ycomp Zcomp distance systemid iterations

Arguments

Elemlist
A Tcl list of elements of the master assembly.
Nodelist
A Tcl list of nodes of the slave assembly.
Xcomp
The x-component of the vector to translate along.
Ycomp
The y-component of the vector to translate along.
Zcomp
The z-component of the vector to translate along.
distance
The distance by which to translate (only for the forward direction).
systemid
The system ID for the elements or nodes to translate.
Default = 0
iterations
The number of iterations in each direction.
Default = 10

Returns

Success
1
Failure
{}

Example

::hwat::utils::PenetrationCheck [list 1002 1003 … 2002] [list 101 102 .. 509] 1.0 0.0 0.0 –15 2 5.

Comments

If the system ID is 0, the nodes of the slave assembly are translated.