*beamsectioncreatesoliddirect

Creates a solid beam section for HyperBeam.

Syntax

*beamsectioncreatesoliddirect entity_type mark_id merge_tol use_normal_vector normal_vector_id use_orient_vector orient_vector center_option x_loc y_loc z_loc elem_order create_centroid_node create_shear_node

Type

HyperMesh Tcl Modify

Description

A solid type beam section will be created using the given parameters. The solid type beam section may be centered at the centroid of the section, the shear center, or at an arbitrary point defined by you. Optionally, nodes can be created at the centroid and shear center of the beam section.

The entities selected will be projected to a plane aligned normal to the normal vector, rotated such that the orient vector points vertically, and then filled in to form a solid type section. The normal vector forms the beam section’s local x-axis (length) and the orient vector forms the beam section’s local y-axis (height).

The interior of the solid section will be automatically meshed and results for the beam section will be automatically calculated after creation.

Inputs

entity_type
The type of entity that defines the cross-section. Valid values are lines, surfs and elems. For elements, only 2D shell elements can be used.
mark_id
The ID of the mark containing the input entities. Valid values are 1 and 2.
merge_tol
The tolerance used to merge input lines or surfaces.
use_normal_vector
0 - The normal vector will be automatically calculated for the given entities.
1 - The normal vector defined by normal_vector_id will be used.
normal_vector_id
The ID of a vector created using the *createvector command. The vector defines the local x-axis for the section. This is only used when use_normal_vector is set to 1.
use_orient_vector
0 - The orientation vector will be automatically calculated for the given entities.
1 - The orientation vector defined by orient_vector_id will be used.
orient_vector_id
The ID of a vector created using the *createvector command. The vector defines the local y-axis for the section. This is only used when use_orient_vector is set to 1.
center_option
0 - The beam section will be centered at a point defined by x_loc, y_loc, and z_loc.
1 - The beam section will be centered at the beam section centroid.
2 - The beam section will be centered at the beam section shear center.
x_loc
Defines the x coordinate of the center of the beam for a center_option value of 0. For other center_option values, this is ignored.
y_loc
Defines the y coordinate of the center of the beam for a center_option value of 0. For other center_option values, this is ignored.
z_loc
Defines the z coordinate of the center of the beam for a center_option value of 0. For other center_option values, this is ignored.
elem_order
Elements generated for the beam cross-section interior are:
1 - First order.
2 - Second order.
create_centroid_node
0 - No node will be created at the centroid.
1 - A node will be created at the centroid of the section relative to the entities.
create_shear_node
0 - No node will be created at the shear center.
1 - A node will be created at the shear center of the section relative to the entities.

Examples

To create a solid type beam section from a line, using automatic calculation of the normal and orientation vectors and positioning it at the shear center:
*createmark lines 1  19
*createvector 1 0.0000 0.0000 1.0000
*createvector 2 0.0000 1.0000 0.0000
*beamsectioncreatesoliddirect lines 1 0.01 0 1 0 2 2 0 0 0 0 0 0
To create a solid type beam section from elements, using user defined normal and orientation vectors, positioning it at a user-defined point, and creating nodes at the centroid and shear center:
*createmark elems 1 1-22
*createvector 1 -0.2322 0.0104 0.4257
*createvector 2 0.0000 0.0000 1.0000
*beamsectioncreatesoliddirect elems 1 0.01 1 1 1 2 0 1.4 0.5 6.0 0 1 1

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

11.0.120