Below, I will explain a function that sorts nodes and elements in a specific order according to certain rules.
We can explain how to sort irregular nodes using the example shown in Figure 1.
 |
| ▲Figure 1: The state before sorting |
First, select all nodes within the node coordinate table. Then, sort them according to the sorting key (Figure 2).
 |
| ▲Figure 2 shows operations within the node coordinate table |
As shown in Figure 3, the following screen will appear.
 |
| ▲Figure 3: The screen for setting up the sorting options |
In the configuration screen described above, we can input the following commands.
- Select "New Coordinate System."
- In the new coordinate system options, select "Cylindrical Coordinate System."
- Unify the origin of the cylindrical coordinate system with the origin of the overall model coordinate system into a single point.
- Unify the X-axis of the cylindrical coordinate system with the X-axis of the overall coordinate system into a single axis. In other words, consider the X-axis as (1, 0.0).
- Unify the Y-axis of the cylindrical coordinate system and the X-axis of the overall coordinate system into a single axis. In other words, consider the Y-axis as (0, 1.0).
At this point, the Z-axis of the cylindrical coordinate system will become aligned with the Z-axis of the overall coordinate system.
- Set the axis of the cylinder to be the "Y-axis"
- The sorting order is specified as follows
- Key 1 = h-increment sort
- Key 2 = r-ascending order
- Key 3 = θ-ascending order
Then, for..
- First, start from a high vantage point
- Secondly, starting from areas with smaller radii
- Finally, arrange the nodes in order starting from the direction with the smallest rotation angle.
- Finally, press the appropriate key to complete the operation (Figure 4).
 |
| ▲Figure 4: Sorted state |
This example shows a state where "rename after sorting" is already enabled; when the order is changed, the node names are automatically updated accordingly.
The elements include: structural elements, spring elements, rigid body elements, M-φ elements, fiber elements, mesh elements, original functions within mesh elements, and cable elements, as well as damping elements. |