::hwat::utils::FindMaximumPenetration

Finds the maximum penetration.

Syntax

::hwat::utils::FindMaximumPenetration {Elemlist} {Nodelist}

Arguments

Elemlist
A Tcl list of elements of the main assembly.
Nodelist
A Tcl list of nodes of the secondary assembly.

Returns

Success
A Tcl list containing the node ID of the node with the maximum penetration and the magnitude of the maximum penetration.
For example: [list 145 2.234]
Failure
0

Example

::hwat::utils::FindMaximumPenetration [list 1002 1003 … 2002] [list 101 102 .. 509]

Comments

Will return 0 if there is no penetration.