*create_bead_elements

Creates a bead on 2D elements.

Syntax

*create_bead_elements mark_id radius height make_sharp feature_angle

Type

HyperMesh Tcl Modify

Description

This command is used to generate beads on 2D elements.

Inputs

mark_id
The mark ID containing two nodes defining the centers of two circular bead ends. Valid values are 1 and 2.
radius
The radius of the circular bead ends.
height
The height of the beads.
make_sharp
This flag indicates the bead shape when the element density on bead cross profiles is less than or equal to 3.
  • 1 - A sharp bead (profile element density is 2).
  • 0 - A flat bead (profile element density is 3).
feature_angle
Defines the feature lines of the mesh on which the beads lie. Range is between 0 and 180.

Examples

To generate a flat bead with the end centers at nodes 81 and 119, radius 10, height 10, and feature angle 30:
*createmark nodes 1 81 119 
*create_bead_elements 1 10.0 10.0 0 30.0

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

10.0