*createnodesandspotweldelems

Creates nodes and spotweld elements between two surfaces on the selected lines at a specified spacing or density with an element type, coordinate system, and property ID.

Syntax

*createnodesandspotweldelems surf1_markmask surf2_markmask tol createplot configval syst code num_nodes entities markmask biasstyle biasingintensity spacing offset_type endoffset *property

Type

HyperMesh Tcl Modify

Description

Creates nodes and spotweld elements between two surfaces on the selected lines at a specified spacing or density 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.
tol
Search tolerance to identify the surfaces.
createplot
Creates a plot.
configval
Element type configuration value.
syst
Local coordinate system switch.
  • 0 - Do not build systems.
  • 1 - Build systems.
code
Code for one or all surface options.
  • 0 - All surfaces.
  • 1 - One surface.
num_nodes
Number of nodes on the line (for Density option only).
entities
Line entity.
markmask
Marked lines.
biasstyle
1 - Linear.
biasingintensity
0.0 - Equal spacing.
spacing
Spacing between weld elements.
= 0.00 for Density option.
offset_type
0 - End offset.
1 - Half spacing.
endoffset
End offset from the edge (= value).
*property
Name of property collector. Used to retrieve property.

Examples

To create five spotwelds (bar2 elements) between surfaces, using the all surfaces option, within a tolerance of 0.01 along four marked lines at equal spacing. Elements are created without a coordinate system and property collector name_prop.
*createnodesandspotweldelems(2,2,0.01,1,60,0,0,5,lines,1,
  1,0.0,0.00,0,0.0,"name_prop")
To create the same with an end offset value of 2.0,
*createnodesandspotweldelems(2,2,0.01,1,60,0,0,5,lines,1,1,0.0,
  0.00,0,2.0,"name_prop")