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
Text Only | |
---|---|
The polynomial constraint is defined to be
where \(x\) is the coordinate of the target DoF of the target node.
For example, if one wants to select all nodes on the line \(y=200\), then the following command can be defined.
Text Only | |
---|---|
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.
Text Only | |
---|---|
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 \((3,~4)\) and \((8,~7)\), then
Text Only | |
---|---|
form four: generate a node group based on plane
Text Only | |
---|---|
A plane is defined by
where \(x_i\) are coordinates and \(a_i\) are the corresponding constants, \(b\) is constant.
For example, a plane can be defined as
Then
Text Only | |
---|---|
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 \(x+2y-3=0\) in the 2D plane.
Text Only | |
---|---|
If this is used to find nodes to define a group in a 3D problem, then the \(z\) coordinates of all nodes will be automatically skipped so that nodes such as \((2,1,0)\) and \((2,1,10)\) will be added to the group.