generate
The generate
command is used to generate node/element groups according to predefined rules.
For custom rules, please refer to CustomNodeGroup
.
form one: generate based on a fixed interval
It shall be noted that the starting tag does not have to be smaller than the ending tag.
form two: generate a node group based on polynomial
The polynomial constraint is defined to be
where is the coordinate of the target DoF of the target node.
For example, if one wants to select all nodes on the line , then the following command can be defined.
form three: generate a node group based on the line segment
It is sometimes useful to select all nodes lie in a straight line segment. The following command can be used.
There is no restriction on the size of each point defined, but the sizes of two points must match. If one wants to select all points lie on the line segment between points and , then
form four: generate a node group based on plane
A plane is defined by
where are coordinates and are the corresponding constants, is constant.
For example, a plane can be defined as
Then
finds all nodes that fall in this plane and groups them.
There is no restriction on the number of coordinates used. So it is possible to define a hyper-plane, or a line. However, the last parameter will always be the constant. For example, the following command defines the line in the 2D plane.
If this is used to find nodes to define a group in a 3D problem, then the coordinates of all nodes will be automatically skipped so that nodes such as and will be added to the group.
Last updated