*createelements1d

Creates 1D beams, bars and rods, and optionally assigns properties to created elements.

Syntax

*createelements1d entity_type <option1>=<value1> <option2>=<value2> ... <optionN>=<valueN>

Type

HyperMesh Tcl Modify

Description

Creates 1D beams, bars and rods, and optionally assigns properties to created elements.

Inputs

entity_type
The type of entity to use as input. Valid values are nodes and lines.
mark=<mark_id> or list=<list_id>
The ID of the mark (for nodes) or list (for nodes). Valid values are 1 and 2.
beamsection=<beamsectionname>
If provided, an auto 1D property is created to which this beam section is assigned. The property card image depends on the elemtype provided. This property is assigned to the newly created 1D elements. In case both property and beamsection are provided, property takes precedence. This option is supported for OptiStruct, Abaqus and Nastran only.
biasdensity=<biasdensity>
The biasing value of the element length to use.
biasstyle=<biasstyle>
The style of biasing to use. Valid values are:
0 - Linear
1 - Exponential
2 - Bell curve
breakangle=<breakangle>
If the angle between the lines’ tangents at a joint is greater than this value, the line is split to force a node at that location. If set to 0.0, no split will occur. useshell is not considered if this is > 0.
elemdensity=<elemdensity>
The element density to use.
elemsize=<elemsize>
The size of the 1D elements to be created. This input will not be considered if useshell is 1.
elemtype=<elemtype>
The type of 1D element to be created. Valid values are: BEAM, BAR and ROD.
linecomp=<linecomp>
The component in which the 1D elements are to be created. This option works only if entity_type is lines. Valid values are:
0 - Line component
1 - Current component
property=<propertyname>
If provided, the property is assigned to newly created 1D elements. Also, it will ensure that the created 1D elements are of a type compatible with the property card image , thereby overriding the elemtype value. This option is supported for OptiStruct, Abaqus and Nastran only.
useelemdensity=<useelemdensity>
0 - Do not use elemdensity
1 - Use elemdensity
useshell=<useshell>
If set to 1 or 2, considers neighboring shells of selected lines/nodes of a meshed surface. After creation of 1D elements, the normal and thickness of these shells are used to orient & offset the 1D elements appropriately. Valid values are:
0 - Do not use shells
1 - Use only displayed shells
2 - Use all shells

Examples

Create 1D elements using lines and assign properties to these newly created elements. Also, update the orientation and offset of these elements using neighbouring shells:

*createmark lines 1 1-4
*createelements1d lines mark=1 property=PBEAM elemsize=2.788 elemtype=BEAM linecomp=1 useshell=1 breakangle=0 elemdensity=1 useelemdensity=0 biasdensity=0 biasstyle=0

Create 1D elements using nodes and assign beam-section to these newly created elements:

*createlist nodes 2 1 2 3 4
*createelements1d nodes list=2 beamsection=L_section elemsize=2.788 elemtype=BAR linecomp=0 useshell=0 breakangle=30 elemdensity=1 useelemdensity=0 biasdensity=0 biasstyle=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

2019