*createelementsbetweennodes

Creates a spotweld element between two surfaces at the selected nodes with an element type, coordinate system, and property ID.

Syntax

*createelementsbetweennodes surf1_markmask surf2_markmask markmask tol createplot configval syst code *property

Type

HyperMesh Tcl Modify Command

Description

Creates a spotweld element between two surfaces at the selected nodes with an element type, coordinate system, and property ID.

Inputs

surf1_markmask
First or multiple surfaces in the mark.
surf2_markmask
Second surface in the mark, if given.
markmask
Marked nodes.
tol
Search tolerance to identify surfaces.
createplot
Creates a plot.
configval
Element type configuration value.
syst
Local coordinate system switch.
  • 0 - Without coordinate system.
  • 1 - With coordinate system.
code
Code for one or all surface options.
  • 0 - All surfaces.
  • 1 - One surface.
*property
Name of property collector. Retrieves property ID.

Examples

To create spotweld (spring elements) between surfaces 1 and 2, using the option individual surface and within a tolerance of 0.01 at the nodes. Elements are created with the coordinate system and property collector name_prop.
*createelementsbetweennodes(1,2,2,0.01,1,21,1,1,"name_prop")