*beamsectioncreateatplane
Creates a shell or solid beam section by cutting a plane through the selected entities.
Syntax
*beamsectioncreateatplane entity_type mark_id double_array number_of_doubles merge_tol plane_id vector_id center_option create_method create_centroid_node create_shear_node beam_type keep_lines
Type
HyperMesh Tcl Modify Command
Description
A shell or solid type beam section will be created by cutting through the selected entities at the plane location and using the resulting section lines. The 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 cut at the selected plane and the section lines created by doing so will be rotated such that the orient vector points vertically (beam y-axis). If a shell beam section is to be created the shell beam section parts will placed along the section lines. If a solid beam section is to be created, the interior of the section lines will be filled in with beam section elements, but only if the section lines form one or more loops. The section plane normal forms the beam section’s local x-axis (length) and the orient vector forms the beam section’s local y-axis (height).
Additionally, a boundary may be assigned such that the section lines will be cropped where they cross the boundary. For shell beam sections the portions of the section lines which lie outside the boundary are discarded. For solid beam sections the boundary will be used in place of the portions of the section lines which lie outside the boundary when filling in the section.
The results for the beam section will be automatically calculated after creation.
Inputs
- entity_type
- The type of input entity to cut. Valid values are surfs, elems (2D or 3D only) and comps (surfs take priority over elems).
- mark_id
- The ID of the mark containing the input entities. Valid values are 1 and 2.
- double_array
- The ID of the double array that contains the vertices defining the boundary. The double array is created using the *createdoublearray command. This should always be set to 1.
- number_of_doubles
- merge_tol
- The tolerance used to merge input lines.
- plane_id
- The ID of a plane created using the *createplane command. The plane defines the plane to cut the input entities.
- vector_id
- The ID of a vector created using the *createvector command. The vector defines the orientation vector.
- center_option
- Defines how the beam section is centered:
- create_method
- For shell sections, this is the part generation mode:
- create_centroid_node
- Defines whether to create a node at the centroid:
- create_shear_node
- Defines whether to create a node at the shear center:
- beam_type
- The type of beam to create:
- keep_lines
- Defines whether to keep the section cut lines:
Examples
*createmark surfs 1 19 20
*createplane 1 0.0000 0.0000 1.0000 22.53 30.00 1.2343
*createvector 1 0.0000 0.0000 0.0000
*beamsectioncreateatplane surfs 1 1 0 0.1 1 1 2 1 0 0 0 0
*createmark elems 1 1-22
*createplane 1 0.0000 0.0000 1.0000 22.53 30.00 1.2343
*createvector 1 0.0000 1.0000 0.0000
*createdoublearray 2 6 3
*beamsectioncreateatplane elems 1 1 2 0.1 1 1 0 1 1 1 1 0
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
13.0