*beamsectioncreatefromentities
Creates a beamsection entity from in-plane entities.
Syntax
*beamsectioncreatefromentities entitytype=<value> mark=<mark_id> ?option1=<value1>? ?option2=<value2>? … ?optionN=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Create a beamsection entity from in-plane entities.
Inputs
- entitytype=<value>
- The type of input entity. Valid values are elements, lines and surfaces. If config=3 (shell section), surfaces are not allowed.
- mark=<mark_id>
- The ID of the mark of input entities. Valid values are 1 and 2.
- allowshellparts=<value>
- If config=4 (elastic section), create shell parts from open segments.
- allowsolidparts=<value>
- If config=4 (elastic section), create solid parts from closed segment loops.
- center=<value>
- The reduction point to compute beamsection properties.
- centerposition={x y z}
- If center=0, the global plane center to consider as reduction point to compute beamsection properties.
- config=<value>
- The beamsection config.
- contactdistance=<value>
- If config=4 (elastic section), the maximum contact distance between two separated domains.
- createsketch=<value>
- Creates a sketch from beamsection topology after properties computation. It will map the domain description to the sketch topology.
- defaultmaterial=<value>
- If config=4 (elastic section), the default material rule to compute beamsection properties. If the value is not set to geometric, the average moment of inertia will be evaluated considering Young’s modulus and Poisson’s ratio from entity intersected by a plane. It results in the evaluation of stiffness terms as EA, EIyy, EIzz, GJ of the full section. The material impacts the centroid and shear center location as well as warping properties. If a region is fully defined (no mix of entities with and without material assigned), the max, mean, nearest and user values are ignored. If a region is missing material property, then this parameter defines how to consider material for undefined regions.
- mergetol=<value>
- The merge tolerance to close gaps. If config=3 (shell section), all segments extremities in tolerance will be merged. If config=0 (solid section) or config=4 (elastic section), and entitytype=LINES or entitytype=ELEMS for 1D elements, segments in tolerance will be merged to create closed loops.
- normal={x y z}
- The plane normal to use while creating beamsection. If not provided, the normal will be inferred from source entities.
- order=<value>
- If config=0 (solid section) or config=4 (elastic section), the order to use for closed section meshing. The element order will change the interpolation functions, so properties may vary.
- usermaterial=<value>
- If defaultmaterial=5, the ID of the material to be used to compute beamsection properties.
- vertexangle=<value>
- The angle used to smooth curves while defining the beamsection topology. Valid values are 0 to 90 (default 60).
- yaxis={x y z}
- Beamsection y axis in global system. If not provided, the y axis will be inferred from source entities using the principal axis.
- welddistance=<value>
- If config=3 (shell section), the maximum distance for autoweld on two separated domain loops.
Examples
To create a solid section from surfaces using the centroid as
center:
*createmark surfs 1 10
*beamsectioncreatefromentities entitytype=SURFS mark=1 config=0 center=1
To create a shell section from lines, weld the parts and create a
sketch:
*createmark lines 1 all
*beamsectioncreatefromentities entitytype=LINES mark=1 config=3 welddistance=-1.0 createsketch=1
To create an elastic section from lines with only solid parts and create a
sketch:
*createmark lines 1 all
*beamsectioncreatefromentities entitytype=LINES mark=1 config=4 mergetol=1e-3 allowshellparts=0 createsketch=1 normal={1.0 2.0 3.0} yaxis={4.0 5.0 6.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
2022.2
2022.3 - Added new option vertexangle.