*createweldsbetweenelemsusingnodes

Creates weld element(s) between pre-existing elements at the given node(s).

Syntax

*createweldsbetweenelemsusingnodes elem1_mark elem2_mark single_col node_mark tol syst configval property remesh

Type

HyperMesh Tcl Modify Command

Description

Creates weld element(s) between pre-existing elements at the given node(s).

Inputs

elem1_mark
The element mark for the first element collector.
elem2_mark
The element mark for the second element collector, if given
single_col
Flag for the number of element collectors used:
  • 1 - One element collector.
  • 0 - Two element collectors.
node_mark
The node mark for the node collector.
tol
The maximum distance allowed between the node (from the node mark) and the element (from the element mark) to weld this element.
syst
Systems flag:
  • 1 - Build systems.
  • 0 - Do NOT build systems.
configval
Type of weld element created:
  • 2 = plot
  • 3 = weld
  • 5 = rigid
  • 21 = spring
  • 60 = bar
  • 61 = rod
  • 70 = gap
property
Name of the property collector. Used to retrieve the property ID.
remesh
Remesh flag (always 0).

Examples

Each of the three nodes on the mark (16, 17, and 18) try to project normally onto as many elements as they can that are within a tolerance of 1.0. All of the non-adjacent elements found for each node's projections are then welded together at their projection points.
*createmark(elems, 2) "all"
*createmark(nodes, 2) 16 17 18
*createweldsbetweenelemsusingnodes(2, 2, 1, 2, 1.0, 1, 3, "myprop")

If the single_col flag equals 1, then elem2_mark flag is ignored.