*beamsectionsetdatasolid

Updates the data for a solid type beam section.

Syntax

*beamsectionsetdatasolid point_array number_of_points elem_order is_hollow beam_sect_id

Type

HyperMesh Tcl Modify Command

Description

Updating a solid beam section requires two commands of which this is the second. This command will update all data for a solid type beam section. The command *beamsectionsetdataroot should precede use of this command.

Beam section data cannot be updated piecemeal with this command; all data must be known for the beam and sent in as arguments.

The solid beam section interior will be remeshed and results will be calculated for the beam section automatically after updating.

Inputs

point_array
The ID of the double array that contains the points defining the solid section perimeter. The double array is created using the *createdoublearray command. This should always be set to 1.
The contents of this array are stored in groups of pairs with each group representing a series of local y and z locations of one of the perimeters defining the section. Each group must begin and end with the same point so that perimeter groups can be differentiated. This is true even if there is only one perimeter defined for the section. The first two values are the y and z locations, respectively, of the first point of the first perimeter. The next two values are the y and z locations, respectively, of the second point of the first perimeter, and so on. This repeats for all points and all perimeters.
Thus, to define a rectangular section running through points (5,5), (5,0), (0,0), (0,5) and back to (5,5) with a rectangular hole running through points (4,4), (4,1), (1,1), (1,4) and back to (4,4) cut into it, the following array would be needed:
*createdoublearray 20 5 5 5 0 0 0 0 5 5 5 4 4 4 1 1 1 1 4 4 4
number_of_points
Integer indicating the size (number of points) of the double array created using *createdoublearray.
elem_order
The order (1 or 2) of the elements to use.
is_hollow
0 - The solid section does not have an internal void.
1 - The solid section has an internal void.
beam_sect_id
The ID of the beam section to update.

Examples

To update the parameter data for a solid type section with ID 3, consisting of a single perimeter and no internal voids. Note that this command should be used in tandem with *beamsectionsetdataroot as follows:
*beamsectionsetdataroot 3 1 0 0 7 1 0 0 0 0 0 0 0
*createdoublearray 10 3 -3 3 3 -3 3 -1 -2 3 -3
*beamsectionsetdatasolid 1 10 1 0 3

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