*linear1delements_byprojections

Creates 1D elements.

Syntax

*linear1delements_byprojections mark_id1 mark_id2 config type density node1 node2

Type

HyperMesh Tcl Modify Command

Description

Creates 1D elements between selected elements.

Inputs

mark_id1
The ID of the mark containing the elements defining the first boundary. Valid values are 1 and 2.
mark_id2
The ID of the mark containing the elements defining the second boundary. Valid values are 1 and 2.
config
The configuration of the 1D elements.
type
The type of the 1D elements.
density
The number of 1D elements created between the elements on mark_id1 and mark_id2.
node1
The ID of the first node defining the projection direction as node1-node2. If the value is specified as 0, the element normal is used.
node2
The ID of the second node defining the projection direction as node1-node2. If the value is specified as 0, the element normal is used.

Examples

To create four 1D elements between elements ID 5, 6, 7 and elements ID 10, 23, 34, with configuration 61 and type 2 and using element normal as the projection direction.
*createmark elems 1 5 6 7
*createmark elems 2 10 23 34
*linear1delements_byprojections 1 2 61 2 4 0 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

2023