Method and system for quickly establishing hole rigid element in NVH finite element simulation analysis
By selecting elements on the hole in NVH finite element simulation analysis and using a programming language to obtain feature node groups, the problem of low efficiency in establishing rigid hole elements is solved, achieving fast and accurate generation of rigid hole elements and improving the accuracy of simulation analysis.
Patent Information
- Application Number
- CN202310917854.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-07-25
AI Technical Summary
In automotive NVH finite element simulation analysis, the establishment of rigid hole elements is inefficient and prone to errors, affecting the accuracy of simulation analysis results. In particular, node selection is difficult and time-consuming in multi-hole scenarios.
By selecting the element on the hole as the viewpoint, the feature node group is obtained using a simulation analysis secondary development programming language, and all the associated nodes are gradually collected using the feature nodes as a bridge to generate the hole rigid element.
This improves the efficiency of establishing rigid hole elements, reduces the probability of incorrect node selection, and enhances the accuracy of simulation analysis results.
Smart Images

Figure CN116956679B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of simulation analysis technology, specifically to a method and system for rapidly establishing rigid hole elements in NVH finite element simulation analysis. Background Technology
[0002] With the development of technology, NVH finite element simulation analysis plays an increasingly important role in automotive NVH performance design, and it is indispensable for ensuring the achievement of target values for vehicle stiffness, modal characteristics, and transmission characteristics. Figure 1 middle, Figure 1 'a' is a pentagonal bolt hole. Figure 1 b is a hexagonal bolt hole. Figure 1 c represents an octagonal bolt hole. In automotive NVH finite element simulation analysis, creating rigid elements at the hole is a common practice. This requires selecting all nodes on both the inner and outer rings of the hole, such as... Figure 1 As shown, in general, common hole shapes in NVH simulation analysis include pentagons, hexagons, and octagons. For a pentagonal hole, to create its rigid element, 10 (2*5) nodes are needed in the inner and outer rings… For an octagonal hole, 16 (2*8) nodes are needed, such as… Figure 1 As shown. Furthermore, these nodes cannot be selected in batches; that is, all nodes cannot be selected at once. Multiple mouse clicks are required to select all nodes.
[0003] In automotive NVH finite element models, there are numerous holes. Due to the small viewpoint of the hole nodes, the finite element model needs to be continuously enlarged and its position and viewpoint adjusted to facilitate node selection. Therefore, creating rigid elements for these holes is a time-consuming and laborious task with low efficiency. Furthermore, because the node viewpoint is small, it is easy to select the wrong node, leading to incorrect rigid element creation and affecting the accuracy of NVH simulation analysis results. Summary of the Invention
[0004] The purpose of this application is to overcome the shortcomings of the above-mentioned background technology and provide a method and system for rapidly establishing rigid hole elements in NVH finite element simulation analysis.
[0005] Firstly, a method for rapidly establishing rigid hole elements in NVH finite element simulation analysis is provided, including the following steps:
[0006] Select at least one unit on the hole;
[0007] Based on the order and geometric features of the nodes of at least one element on the selected hole, the feature node group of the selected element is obtained through simulation analysis and secondary development programming language.
[0008] By combining the geometric features of the hole and searching adjacent units, using feature node groups as bridges, and through simulation analysis and secondary development programming language, all nodes belonging to the hole are gradually collected to obtain a list of node numbers.
[0009] Generate hole rigid elements based on the node number list.
[0010] According to the first aspect, in a first implementation of the first aspect, the at least one unit step on the selection hole specifically includes the following steps:
[0011] Select a unit on the hole; or,
[0012] Multiple units on the spacing selection hole.
[0013] According to the first aspect, in the second implementation of the first aspect, the step of obtaining the feature node group of the selected hole unit through simulation analysis and secondary development programming language based on the sorting and geometric features of the nodes of at least one unit on the selected hole specifically includes the following steps:
[0014] Based on the order and geometric features of the nodes of a selected element on the hole, obtain the side node group of the selected element of the hole; or,
[0015] Based on the order and geometric features of the nodes of the plurality of units on the selected hole, the end node group of the plurality of units of the hole is obtained.
[0016] According to the second implementation of the first aspect, in the third implementation of the first aspect, the step of obtaining the side node group of the selected unit of the hole based on the sorting and geometric features of the nodes of the selected unit specifically includes the following steps:
[0017] Use TCL programming to obtain all node numbers of a given unit;
[0018] Based on the geometric characteristics of the selected unit, use TCL programming to calculate the length of each side of the unit formed by all nodes;
[0019] Based on the length of each side, obtain the two nodes corresponding to the longest side, and use them as the nodes to which the outer edge belongs;
[0020] Based on all nodes and the nodes belonging to the outer edge, obtain the side node group of the selected element of the hole.
[0021] According to the third implementation of the first aspect, in the fourth implementation of the first aspect, the step of combining the geometric features of the hole, searching adjacent units, using feature node groups as bridges, and gradually collecting all the nodes to which the hole belongs through simulation analysis and secondary development programming language to obtain a list of node numbers specifically includes the following steps:
[0022] Using TCL programming, search for units adjacent to a given unit, and obtain a set of adjacent units;
[0023] Get the set of selected cells;
[0024] Subtract the selected set of units from the set of adjacent units to obtain the set of search units;
[0025] For each corresponding unit in the search unit set, store the unit number containing the node number in the first side node into the result unit set, and store the other nodes of the unit into the node number list. Clear the first side node and store the other nodes of the unit into the first side node. For each corresponding unit in the search unit set, store the unit number containing the node number in the second side node into the result unit set, and store the other nodes of the unit into the node number list. Clear the second side node and store the other nodes of the unit into the second side node.
[0026] According to the second implementation of the first aspect, in the fifth implementation of the first aspect, the step of obtaining the end node group of the plurality of units of the hole based on the order and geometric features of the nodes of the plurality of units on the selected hole specifically includes the following steps:
[0027] Based on the multiple units on the selected hole, TCL programming is used to obtain the side node group of each unit as a temporary side node group;
[0028] Use TCL programming to search for cells adjacent to multiple selected cells and obtain a set of adjacent cells;
[0029] Traverse each unit in the adjacent unit set, obtain two units, and store them in the first temporary result unit and the second temporary result unit respectively. The nodes of the two units include a node group of temporary side nodes, but the nodes of the two units are not included in the node number list.
[0030] Store the node group associated with the corresponding unit in the first temporary result unit that exists in the temporary side node into the first side node;
[0031] Store the node group associated with the corresponding unit in the second temporary result unit that exists in the temporary side node into the second side node;
[0032] Based on the first side node and the second side node, obtain the end node group of the plurality of units of the hole.
[0033] According to the first aspect, in the sixth implementation of the first aspect, after the step of combining the geometric features of the hole, searching adjacent units, using feature node groups as bridges, and gradually collecting all the nodes to which the hole belongs through simulation analysis and secondary development programming language to obtain a list of node numbers, the following steps are also included:
[0034] The completion status of the collection of all nodes belonging to the hole is obtained.
[0035] Secondly, this application provides a rapid system for establishing rigid elements for holes in NVH finite element simulation analysis, including an element selection module, a feature node group acquisition module, an element all-belonging node acquisition module, and a rigid element generation module. The element selection module is used to select at least one element on the hole; the feature node group acquisition module is communicatively connected to the element selection module and is used to acquire the feature node group of the selected hole element based on the order and geometric features of each node of the selected at least one hole element using a simulation analysis secondary development programming language; the element all-belonging node acquisition module is communicatively connected to the element selection module and the feature node group acquisition module, and is used to, in conjunction with the geometric features of the hole, gradually collect all the nodes belonging to the hole by searching adjacent elements, using the feature node group as a bridge, and obtaining a node number list; the rigid element generation module is communicatively connected to the element all-belonging node acquisition module and is used to generate the hole rigid element based on the node number list.
[0036] According to the second aspect, in the first implementation of the second aspect, the unit selection module is a single unit selection submodule or multiple unit selection submodules. The single unit selection submodule is used to select one unit on the hole; the multiple unit selection submodules are used to select multiple units on the hole at intervals.
[0037] According to the second aspect, in the second implementation of the second aspect, the feature node group acquisition module is a side node group acquisition submodule or an end node group acquisition submodule. The side node group acquisition submodule is communicatively connected to the unit selection module and is used to acquire the side node group of the selected unit of the hole according to the sorting and geometric features of the nodes of the selected unit. The end node group acquisition submodule is communicatively connected to the unit selection module and is used to acquire the end node group of the multiple units of the hole according to the sorting and geometric features of the nodes of the multiple units of the selected hole.
[0038] Compared with the prior art, the advantages of this application are as follows:
[0039] The method for rapidly establishing rigid hole elements in NVH finite element simulation analysis provided in this application uses the element as the viewpoint, obtains the feature nodes of the selected element through a simulation analysis secondary development programming language, and uses the feature nodes as a bridge to search for all the nodes belonging to the hole, thereby quickly completing the establishment of the rigid hole element and effectively improving the establishment efficiency of the rigid hole element. Attached Figure Description
[0040] Figure 1 A schematic diagram of the finite element model of the bolt hole;
[0041] Figure 2 A flowchart illustrating the rapid establishment method for rigid hole elements in NVH finite element simulation analysis provided in this application embodiment;
[0042] Figure 3 This is a schematic diagram of the arrangement of quadrilateral unit nodes provided in an embodiment of this application;
[0043] Figure 4 A schematic diagram of adjacent units provided in this application embodiment is provided for this application embodiment;
[0044] Figure 5 This is the case where the number of bolt hole side lengths provided in the embodiments of this application is an even number of result unit sets.
[0045] Figure 6 This is the case where the number of bolt hole side lengths provided in the embodiments of this application is an odd number of result unit sets;
[0046] Figure 7 A schematic diagram of the element spacing selection for Embodiment 2 provided in this application;
[0047] Figure 8 A schematic diagram illustrating the unit selection in Embodiment 2 provided for the present application;
[0048] Figure 9 A schematic diagram of an elongated hole provided in an embodiment of this application;
[0049] Figure 10 This is a schematic diagram of a polygonal hole containing triangular units, provided as an embodiment of this application. Detailed Implementation
[0050] Specific embodiments of this application will now be described in detail, with examples of the application illustrated in the accompanying drawings. Although this application will be described in conjunction with specific embodiments, it will be understood that it is not intended to limit this application to the described embodiments. Rather, it is intended to cover variations, modifications, and equivalents included within the spirit and scope of this application as defined by the appended claims. It should be noted that the method steps described herein can be implemented by any functional block or functional arrangement, and any functional block or functional arrangement can be implemented as a physical entity or a logical entity, or a combination of both.
[0051] To enable those skilled in the art to better understand this application, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0052] Note: The examples described below are merely specific examples and are not intended to limit the embodiments of this application to the specific steps, values, conditions, data, order, etc. Those skilled in the art can utilize the concepts of this application to construct more embodiments not mentioned herein by reading this specification.
[0053] In existing technologies, due to the small viewpoint of the hole nodes, it is necessary to continuously enlarge the finite element model and adjust the position and viewpoint of the finite element model in order to select the nodes. Moreover, the hole nodes are easy to be selected incorrectly, which leads to the incorrect establishment of the hole rigid elements and affects the accuracy of the NVH simulation analysis results.
[0054] like Figure 2 As shown in the embodiment of this application, a method for rapidly establishing rigid hole elements in NVH finite element simulation analysis is provided, including the following steps:
[0055] Step S1: Select at least one unit on the hole;
[0056] Step S2: Based on the order and geometric features of the nodes of at least one element on the selected hole, obtain the feature node group of the selected element through simulation analysis and secondary development programming language.
[0057] Step S3: Combining the geometric features of the hole, by searching adjacent units and using the feature node group as a bridge, the system gradually collects all the nodes to which the hole belongs through simulation analysis and secondary development programming language, and obtains a list of node numbers.
[0058] Step S4: Generate hole rigid elements according to the node number list.
[0059] The method for rapidly establishing rigid hole elements in NVH finite element simulation analysis provided in this application uses elements much larger than the node viewpoint as the viewpoint, which greatly reduces the probability of incorrect node selection and improves the accuracy of rigid element establishment. The method obtains the feature nodes of the selected elements through simulation analysis, and uses the feature nodes as bridges to search for all nodes belonging to the hole, thereby quickly completing the establishment of the rigid hole element and effectively improving the efficiency of establishing the rigid hole element.
[0060] In this application, the hole is a regular polygonal hole, an irregular polygonal hole, or an oblong hole, etc.
[0061] In this application, the hole unit is a quadrilateral unit or a triangular unit, and the quadrilateral is a trapezoid or a non-regular quadrilateral.
[0062] In one embodiment, step S1, selecting at least one unit on the hole, can be implemented as follows:
[0063] Step S11: Select a unit on the hole; or
[0064] Step S12: Select multiple units on the selected holes at intervals to improve node selection efficiency.
[0065] In one embodiment, step S2, which involves obtaining the feature node group of the selected hole's selected unit through simulation analysis using a secondary development programming language based on the sorting and geometric features of the nodes of at least one unit on the selected hole, specifically includes the following steps:
[0066] Step S21: Based on the order and geometric features of the nodes of the selected unit on the hole, obtain the side node group of the selected unit of the hole as the feature node group; or,
[0067] Step S22: Based on the order and geometric features of the nodes of the multiple units on the selected hole, obtain the end node group of the multiple units of the hole as the feature node group.
[0068] In one embodiment, step S21, obtaining the side node group of the selected unit of the hole based on the order and geometric features of the nodes of the selected unit, specifically includes the following steps:
[0069] Step S211: Use TCL programming to obtain all node numbers of a given unit;
[0070] Step S212: Based on the geometric characteristics of the selected unit, use TCL programming to calculate the length of each side of the unit formed by all nodes;
[0071] Step S213: Based on the length of each side, obtain the two nodes corresponding to the longest side, and use them as the nodes to which the outer edge belongs;
[0072] Step S214: Based on all nodes and the nodes belonging to the outer ring edge, obtain the side node group of the selected unit of the hole.
[0073] In one embodiment, step S3, which involves combining the geometric features of the hole, and using the feature node group as a bridge, by searching adjacent units and gradually collecting all the nodes belonging to the hole through simulation analysis and secondary development programming language to obtain a list of node numbers, specifically includes the following steps:
[0074] Step S31: Use TCL programming to search for units adjacent to one or more of the units, and obtain a set of adjacent units;
[0075] Step S32: Obtain the set of selected units;
[0076] Step S33: Subtract the selected unit set from the adjacent unit set to obtain the search unit set;
[0077] Step S34: Traverse each corresponding unit in the search unit set, store the unit number containing the node number in the first side node into the result unit set, and store the other nodes of the unit into the node number list. Clear the first side node and store the other nodes of the unit into the first side node. Traverse each corresponding unit in the search unit set, store the unit number containing the node number in the second side node into the result unit set, and store the other nodes of the unit into the node number list. Clear the second side node and store the other nodes of the unit into the second side node.
[0078] In one embodiment, the step of obtaining the end node group of the plurality of units of the selected hole based on the order and geometric features of the nodes of each unit on the selected hole specifically includes the following steps:
[0079] Based on the multiple units on the selected hole, TCL programming is used to obtain the side node group of each unit as a temporary side node group;
[0080] Use TCL programming to search for cells adjacent to multiple selected cells and obtain a set of adjacent cells;
[0081] Traverse each unit in the adjacent unit set, obtain two units, and store them in the first temporary result unit and the second temporary result unit respectively. The nodes of the two units include a node group of temporary side nodes, but the nodes of the two units are not included in the node number list.
[0082] Store the node group associated with the corresponding unit in the first temporary result unit that exists in the temporary side node into the first side node;
[0083] Store the node group associated with the corresponding unit in the second temporary result unit, which exists in the temporary side node, into the second side node;
[0084] Based on the first side node and the second side node, obtain the end node group of the plurality of units of the hole.
[0085] In one embodiment, after the step of combining the geometric features of the hole, searching adjacent units, using feature node groups as bridges, and gradually collecting all the nodes to which the hole belongs through simulation analysis and secondary development programming language to obtain a list of node numbers, the following steps are also included:
[0086] Step SA: Obtain the completion status of the collection of all nodes belonging to the hole.
[0087] In one embodiment, step SA, the completion status of collecting all nodes belonging to the hole, is specifically implemented through the following steps:
[0088] Step SA1: Obtain the number of elements in the result cell set;
[0089] Step SA2: Based on the number of elements in the result unit set, obtain the completion status of the collection work for all nodes to which the hole belongs.
[0090] In a more specific embodiment, step SA2, which involves obtaining the completion status of the collection of all nodes belonging to a hole based on the number of elements in the result unit set, specifically includes the following steps:
[0091] If there is only one element in the result cell set, it means that the collection of all nodes belonging to the hole has been completed.
[0092] If the result set contains two elements, determine the existence of the common node between the two elements.
[0093] If the result set contains two elements and there is a common node between the two elements, then the collection of all nodes belonging to the hole is considered complete.
[0094] If the result set contains 2 elements and there is no common node between the 2 elements, it is determined that the collection of all nodes belonging to the hole is incomplete, and step S3 is executed again until all nodes belonging to the hole are collected.
[0095] In a more specific embodiment, taking a hexagonal bolt hole with a quadrilateral hole element as an example, the method for rapidly establishing rigid hole elements in NVH finite element simulation analysis provided in this application is specifically illustrated.
[0096] Example 1
[0097] Step 1: Select a unit on the bolt hole.
[0098] Generally, the elements on bolt holes are quadrilateral elements. A pentagonal bolt hole has 5 quadrilateral elements, and so on, with an octagonal bolt hole having 8 quadrilateral elements. Figure 1 As shown.
[0099] This application selects elements instead of nodes when creating rigid elements for holes. In this embodiment, a single element includes 4 nodes; selecting one element is equivalent to selecting all 4 nodes, which improves node selection efficiency. Furthermore, since the viewpoint of an element is much larger than that of a node, node selection is more convenient (in this application, selecting an element is to select the node to which the element belongs), significantly reducing the probability of selecting the wrong node and improving the accuracy of rigid element creation. A variable called the node number list, denoted as `nodelist`, is established here to store all node numbers for bolt holes. The 4 node numbers of the selected element are stored in the node number list `nodelist`.
[0100] In the next step, the other node numbers for the bolt holes will be appended to the node list to complete all bolt holes.
[0101] Step 2: Determine the side node group of the selected unit.
[0102] Define a variable called the current element, denoted as `current_element`. Store the element number selected in step one into `current_element`. Selecting one element in step one selects four nodes. Using TCL programming, the sequence of these four node numbers can be retrieved. The relative positions of these four nodes are fixed, arranged clockwise or counterclockwise, but the specific vertex of each node within the quadrilateral element cannot be determined using TCL programming. Figure 3 The diagram illustrates several possible arrangements of the four nodes. (N1, N2, N3, N4) represents the sequence of node numbers for the four nodes retrieved using TCL programming.
[0103] For the quadrilateral element on the bolt hole, it can be determined that the outer edge has the longest side length, such as... Figure 3 As shown, this information can be used to determine the two nodes to which the outer edge belongs.
[0104] Suppose the node numbering sequence of a quadrilateral element is (N1, N2, N3, N4), where N1, N2, N3, and N4 are the node numbers. As mentioned earlier, the order of the nodes in this sequence is fixed, but the location of each of the four nodes at a vertex of the quadrilateral element is unknown. Using TCL programming, two nodes form a node group. We calculate the lengths of the sides of the quadrilateral element formed by these four node groups: N1N2, N2N3, N3N4, and N4N1. The two nodes corresponding to the longest side are the node groups belonging to the outer edge. However, the location of these two nodes at the endpoints of the outer edge is still unknown, as the node sequence can be arranged clockwise or counterclockwise along the quadrilateral element. From the index of the longest side in the side length sequence N1N2, N2N3, N3N4, and N4N1, we can determine the node groups belonging to side 1 and side 2. Figure 3 As shown.
[0105] The specific process for this step is as follows.
[0106] a: Let the side lengths of the four sides of the quadrilateral unit formed by N1N2, N2N3, N3N4, and N4N1 be L1, L2, L3, and L4, respectively. Using TCL programming, calculate the value of the sequence {L1, L2, L3, L4}.
[0107] b: Using TCL programming, find the index corresponding to the maximum value in the sequence {L1,L2,L3,L4}, denoted as max_length_seq.
[0108] c: Using TCL programming, determine the node groups of the two sides of the quadrilateral element based on the value of max_length_seq. Specifically, if the value of max_length_seq is 1, the node group sequence of the two sides is (N4, N1) and (N2, N3); if the value of max_length_seq is 2, the node group sequence of the two sides is (N1, N2) and (N3, N4); if the value of max_length_seq is 3, the node group sequence of the two sides is (N2, N3) and (N4, N1); if the value of max_length_seq is 4, the node group sequence of the two sides is (N3, N4) and (N1, N2). It should be noted that due to the incomplete determinism of the relative orientation of the nodes in the quadrilateral element (they can be arranged clockwise or counterclockwise), it is still uncertain which side node group (composed of two nodes) each side (side 1 and side 2) corresponds to in the side node group sequence. The node groups to which the two sides belong are stored in the variables `side_nodes1` (first side node) and `side_nodes2` (second side node), respectively. The first and second side nodes are used to store the node group numbers to which the two sides belong.
[0109] The side node group can be called the feature node group, and this application uses it as a bridge to collect other nodes of the bolt hole.
[0110] Step 3: Determine the nodes adjacent to the current unit of the bolt hole.
[0111] Using TCL programming, search for cells adjacent to the current cell. An adjacent cell is one that shares a common node with the current cell, such as... Figure 4 As shown. Define a variable called the adjacent element set, denoted as adjacent_elements. In the adjacent elements, exclude other element types, such as triangular elements, and only keep quadrilateral elements; store the numbers of these remaining elements in the adjacent_elements set.
[0112] Define a variable called the selected element set, denoted as `selected_elements`. Add the current element's index to the `selected_elements` set (the same as adding sets, i.e., union of sets); simultaneously, update the value of `current_element`.
[0113] Define a variable called the search element set, denoted as `search_elements`. Subtract the set `selected_elements` from the set of adjacent elements `adjacent_elements` (note that this subtraction operation is set subtraction), and store the result in `search_elements`. Simultaneously, clear the value of the adjacent element set `adjacent_elements`.
[0114] Define a variable called the result element set, denoted as result_elements.
[0115] Iterate through each corresponding element in `search_elements` and check if its four node numbers contain the two node numbers from the variable `side_nodes1`. If they do, store the element number in `result_elements` (addition operation for the corresponding set); append the two other distinct nodes to which the element belongs to the variable `nodelist` (addition operation for the corresponding set). These two distinct nodes are different from the corresponding nodes in `side_nodes1`. Figure 4 The diamond-shaped node in the middle; clear side_nodes1, and set the other two different nodes to which the element belongs, such as Figure 4 The diamond-shaped nodes are stored in side_nodes1. If they are not included, no action is taken.
[0116] Iterate through each corresponding element in `search_elements` and check if its four node numbers contain the two node numbers from the variable `side_nodes2`. If they do, store the element number in `result_elements` (using the addition operation of the corresponding set); then store the element's other two distinct nodes (different from the corresponding nodes in `side_nodes2`, such as...) Figure 4 The diamond-shaped nodes in the list are appended to the variable node number list nodelist (corresponding to the set addition operation); clear side_nodes2, and add the other two different nodes to which the unit belongs (such as...). Figure 4 The rhombus-shaped nodes in the data are stored in side_nodes2. If they are not included, no action is taken.
[0117] Clear the value of search_elements.
[0118] Step 4: Determine whether the collection of all nodes belonging to the bolt holes has been completed.
[0119] Determine the number of elements in the collection `result_elements`. As we know from the steps above, the number of elements in `result_elements` can only be one or two.
[0120] If the set `result_elements` contains only one element, it indicates that the number of side lengths of the bolt holes is even, such as hexagonal bolt holes; and all nodes belonging to the bolt holes have been collected. Figure 5 As shown. At this point, based on the node number list in the variable nodelist, TCL programming is used to automatically generate rigid elements for bolt holes. Simultaneously, the value of result_elements is cleared.
[0121] If the set result_elements contains two elements, two cases must be considered.
[0122] If the set result_elements contains 2 elements, and the corresponding two elements have (two) common nodes (e.g. Figure 6 If a node is a rhombus (e.g., a bolt hole with an odd number of sides), it indicates that the bolt hole has an odd number of sides, such as a pentagonal bolt hole; and all nodes belonging to the bolt hole have been collected, such as... Figure 6 As shown. At this point, based on the node number list in the variable nodelist, TCL programming is used to automatically generate rigid elements for bolt holes. Simultaneously, the value of result_elements is cleared.
[0123] If the set `result_elements` contains two elements, and the corresponding two elements have no common nodes, it indicates that the collection of all nodes belonging to the bolt holes is incomplete. Assign the value of `result_elements` to the current element `current_element`, then clear the value of `result_elements` and proceed to step three. (It should be noted that the variables involved in step three only need to be defined once; they do not need to be redefined every time step three is entered. The same understanding applies to the variables in step four.)
[0124] Steps one through four constitute an embodiment of this application. In this embodiment, a unit on the bolt hole is selected, and through TCL programming, all nodes belonging to the bolt hole can be automatically collected and the bolt hole rigid unit can be automatically generated.
[0125] Suppose the bolt hole is an n-sided polygon with 2*n nodes. Using the current method for creating rigid elements for bolt holes, 2*n nodes must be selected. However, in this embodiment, only one element needs to be selected, thus increasing node selection efficiency to 2*n times. Furthermore, since the viewpoint of an element is much larger than that of a node, selecting elements is more efficient than selecting nodes, significantly reducing the probability of selecting the wrong node and improving the accuracy of rigid element creation.
[0126] In this embodiment, the time spent generating rigid elements, excluding the time spent selecting elements on bolt holes, is primarily the time spent by the TCL program collecting bolt hole nodes; this is called node collection time. The more nodes to be collected, the longer the node collection time. It should be noted that, under the same conditions (such as the NVH simulation analysis software used), node collection time is closely related to the computer's hardware configuration.
[0127] In order to find a more efficient method for generating rigid elements for bolt holes, this application provides Embodiment 2. In this embodiment, the number of elements initially selected is not limited to 1, but can be 2, 3, etc.
[0128] Example 2
[0129] Step 1: Select several units on the bolt holes.
[0130] Figure 7 middle, Figure 7 a is a schematic diagram of the interval selection unit. Figure 7 b is a schematic diagram of a non-interval selection unit. Figure 7 c represents another schematic diagram for non-interval selection.
[0131] In Example 2, when selecting multiple units, they should not be selected adjacently, but rather spaced out, such as... Figure 7 As shown in a. (As illustrated in a) Figure 7 In option b, the two selected units are adjacent, therefore they are not selected at intervals; since there are two common nodes between the adjacent units, selecting these two units is equivalent to selecting only 6 (2*4-2) nodes, which is naturally less efficient than selecting adjacent units. Figure 7 The interval selection method in 'a'.
[0132] It should be noted that when selecting the interval, only one unit needs to be spaced, such as... Figure 7 The selection method in c is separated by two units, so it is not an interval selection; this unit selection method is not conducive to the collection of bolt hole nodes.
[0133] As described above, bolt hole units are selected using an interval selection method. Using the method described in step one of Embodiment 1, the node numbers to which these units belong are stored in a node number list, such as... Figure 8 As shown.
[0134] Step 2: Determine the end node group of the selected unit.
[0135] Define a variable called the temporary side node group sequence, denoted as temp_side_nodes. Using the method described in step two of Example 1, determine the two side node groups for each selected unit and store them in the temporary side node temp_side_nodes (corresponding to set addition). It should be noted that in the temporary side node temp_side_nodes, each selected unit corresponds to two node groups, and each node group consists of two nodes, such as... Figure 8 As shown.
[0136] Define a variable called the temporary adjacent element set, denoted as temp_adjacent_elements. Using the method described in step three of Example 1, search for elements adjacent to one or more selected elements. Among the found adjacent elements, exclude other element types, such as triangular elements, and retain only quadrilateral elements; store the indices of these retained elements in the temporary adjacent element set temp_adjacent_elements.
[0137] Define two variables, called the first temporary result element and the second temporary result element, denoted as temp_result_element1 and temp_result_element2 respectively. Iterate through each element in the set temp_adjacent_elements, finding two elements—each element whose four nodes contain two nodes that are part of a node group in the temporary side node set temp_side_nodes, but whose four nodes are not included in the node list nodelist. Store the numbers of these two elements into the variables temp_result_element1 and temp_result_element2 respectively.
[0138] Figure 8 middle, Figure 8 a is a schematic diagram of the node collection for hexagonal bolt holes. Figure 8 b is a schematic diagram of the node collection for the pentagonal bolt holes. Figure 8 c is a schematic diagram of another node collection for the pentagonal bolt hole. If the first temporary result unit temp_result_element1 and the second temporary result unit temp_result_element2 are empty, that is, such a unit cannot be found - among the 4 nodes to which the unit belongs, two nodes are contained in a node group of the temporary side node temp_side_nodes, but the 4 nodes to which it belongs are not contained in the node number list nodelist. Figure 8'a' is an example of this situation. Figure 8 In example 'a', the bolt hole is hexagonal with 12 (2*6) nodes. Three interval elements were selected, meaning 12 (3*4) nodes were selected. Thus, all nodes of the bolt hole have been selected, and there's no need to collect other nodes. Generally, for an n-sided bolt hole, when n is even, selecting n / 2 interval elements will select all nodes of the bolt hole, and there's no need to collect other nodes. Figure 8 As shown in diagram a. When n is odd, select (n+1) / 2 units, where (n-1) / 2 units are selected at intervals. Then all bolt hole nodes have been selected, and there is no need to collect other bolt hole nodes. Figure 8 As shown in b. It should be noted that when n is odd, (n+1) / 2 units are selected, where (n-1) / 2 units are selected at intervals; three consecutive adjacent units cannot occur, as shown in example. Figure 8 As shown in c, not all bolt hole nodes could be selected at this point, and it is necessary to do so as follows: Figure 8 As in example b. In this case, temp_result_element1 and temp_result_element2 are empty. Based on the node number list in the variable nodelist, TCL programming is used to automatically generate the bolt hole rigid element, and the process of Example 2 ends.
[0139] If the first temporary result unit temp_result_element1 and the second temporary result unit temp_result_element2 are not empty, find the node group in the temporary side node temp_side_nodes that is associated with the unit corresponding to the first temporary result unit temp_result_element1, and store it in side_nodes1; store the number of the unit in the selected unit corresponding to that node group in the variable current_element (corresponding to the addition operation in the set). Find the node group in the temporary side node temp_side_nodes that is associated with the unit corresponding to the second temporary result unit temp_result_element2, and store it in side_nodes2; store the number of the unit in the selected unit corresponding to that node group in the variable current_element (corresponding to the addition operation in the set), and then proceed to step three.
[0140] It should be noted that the values of the first temporary result unit temp_result_element1 and the second temporary result unit temp_result_element2 can only be in two states: either both are empty, or both are not empty. There will never be a situation where one is not empty and the other is empty.
[0141] Here, side_nodes1 and side_nodes2 are the end node groups of Embodiment 2, corresponding to the side node groups in Embodiment 1 (with the same function). The end node group is the characteristic node group of Embodiment 2, which is used as a bridge to collect other nodes of the bolt holes in Embodiment 2.
[0142] Step 3: Determine the nodes adjacent to the current unit of the bolt hole.
[0143] Step three is the same as step three in Example 1, and will not be repeated here.
[0144] Step 4: Determine whether the collection of all nodes belonging to the bolt holes has been completed.
[0145] The content of step four in Example 2 is the same as that of step four in Example 1, and will not be repeated here.
[0146] Comparing Embodiment 1 and Embodiment 2, under the same conditions, Embodiment 2 takes more time for node selection than Embodiment 1, but less time for node collection. Under the same conditions, the overall time difference between Embodiment 1 and Embodiment 2 depends primarily on the computer's hardware configuration and the speed at which the software operator selects units.
[0147] The content of this application can also be applied to the creation of rigid elements for holes with complex shapes, such as... Figure 9 The oblong hole shown is an example. It should be noted that in this case, the initially selected element must meet the condition that, among the four sides of the quadrilateral element, the outermost side is the longest; that is, elements like the one shown cannot be selected. Figure 9 A regular rectangular unit.
[0148] The content of this application can also be applied to the creation of rigid hole elements where the hole elements are not all quadrilateral elements, such as... Figure 10 The polygonal holes shown have some triangular elements. In this case, the following must be removed from Embodiments 1 and 2: exclude other element types, such as triangular elements, from adjacent elements. For triangular elements, how to determine their side node groups? This can be determined by utilizing the characteristic that the number of elements associated with each vertex is different; this will not be elaborated here.
[0149] Based on the same inventive concept, this application provides a rapid system for establishing rigid elements in NVH finite element simulation analysis, including an element selection module, a feature node group acquisition module, an element all-belonging node acquisition module, and a rigid element generation module. The element selection module is used to select at least one element on the hole; the feature node group acquisition module is communicatively connected to the element selection module and is used to acquire the feature node group of the selected element based on the order and geometric features of each node of the selected element on the hole, using a simulation analysis secondary development programming language; the element all-belonging node acquisition module is communicatively connected to the element selection module and the feature node group acquisition module, and is used to, in conjunction with the geometric features of the hole, gradually collect all the nodes belonging to the hole by searching adjacent elements, using the feature node group as a bridge, and obtaining a node number list; the rigid element generation module is communicatively connected to the element all-belonging node acquisition module and is used to generate the rigid element of the hole based on the node number list.
[0150] In one embodiment, the unit selection module is a single unit selection submodule or multiple unit selection submodules. The single unit selection submodule is used to select one unit on the hole; the multiple unit selection submodules are used to select multiple units on the hole at intervals.
[0151] In one embodiment, the feature node group acquisition module is either a side node group acquisition submodule or an end node group acquisition submodule. The side node group acquisition submodule is communicatively connected to the unit selection module and is used to acquire the side node group of the selected unit of the hole based on the order and geometric features of the nodes of the selected unit. The end node group acquisition submodule is communicatively connected to the unit selection module and is used to acquire the end node group of the multiple units of the hole based on the order and geometric features of the nodes of the multiple units of the selected hole.
[0152] Based on the same inventive concept, embodiments of this application also provide a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements all or part of the method steps of the above method.
[0153] This application implements all or part of the processes in the above methods, which can also be accomplished by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0154] Based on the same inventive concept, embodiments of this application also provide an electronic device, including a memory and a processor. The memory stores a computer program that runs on the processor. When the processor executes the computer program, it implements all or part of the method steps described above.
[0155] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the computer device, connecting all parts of the computer device through various interfaces and lines.
[0156] Memory can be used to store computer programs and / or modules. The processor performs various functions of the computer device by running or executing the computer programs and / or modules stored in the memory, and by accessing data stored in the memory. Memory can primarily include a program storage area and a data storage area. The program storage area can store the operating system and at least one application program required for a function (e.g., sound playback, image playback, etc.); the data storage area can store data created based on the use of the mobile phone (e.g., audio data, video data, etc.). Furthermore, memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disks, RAM, plug-in hard disks, SmartMedia Cards (SMC), Secure Digital (SD) cards, Flash Cards, at least one disk storage device, flash memory device, or other volatile solid-state storage devices.
[0157] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, servers, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.
[0158] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), servers, and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0159] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0160] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0161] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for rapidly establishing rigid hole elements in NVH finite element simulation analysis, characterized in that, Includes the following steps: Select at least one unit on the hole; Based on the order and geometric features of the nodes of at least one unit on the selected hole, the feature node group of the selected unit is obtained through simulation analysis and secondary development programming language. Specifically, this includes obtaining the side node group of the selected unit of the hole based on the order and geometric features of the nodes of one unit on the selected hole, or obtaining the end node group of multiple units on the hole based on the order and geometric features of the nodes of multiple units on the selected hole. Obtaining the side node group of the selected unit of the hole includes, based on the geometric features of the selected unit, using TCL programming to calculate the length of each side of the unit formed by all nodes; based on the length of each side, obtaining the two nodes corresponding to the longest side as the nodes belonging to the outer edge; and based on all nodes and the nodes belonging to the outer edge, obtaining the side nodes of the selected unit of the hole. The point group, the acquisition of the end node group of the multiple units of the hole includes, using TCL programming to search for units adjacent to the selected multiple units, obtaining a set of adjacent units, traversing each unit in the set of adjacent units, obtaining two units, and storing them in a first temporary result unit and a second temporary result unit respectively. The nodes of the two units include a node group of temporary side nodes, but the nodes of the two units are not included in the node number list. The node group associated with the corresponding unit in the first temporary result unit and existing in the temporary side node is stored in the first side node. The node group associated with the corresponding unit in the second temporary result unit and existing in the temporary side node is stored in the second side node. The end node group of the multiple units of the hole is obtained according to the first side node and the second side node. By combining the geometric features of the hole and searching adjacent units, using feature node groups as bridges, and through simulation analysis and secondary development programming language, all nodes belonging to the hole are gradually collected to obtain a list of node numbers. Generate hole rigid elements based on the node number list.
2. The method for rapidly establishing rigid hole elements in NVH finite element simulation analysis as described in claim 1, characterized in that, At least one unit step on the selection hole specifically includes the following steps: Select a unit on the hole; or, Multiple units on the spacing selection hole.
3. The method for rapidly establishing rigid hole elements in NVH finite element simulation analysis as described in claim 1, characterized in that, The step of obtaining the side node group of the selected element of the hole based on the sorting and geometric features of the nodes of the selected element on the hole specifically includes the following steps: Use TCL programming to obtain all node numbers of a given unit.
4. The method for rapidly establishing rigid hole elements in NVH finite element simulation analysis as described in claim 3, characterized in that, The process of combining the geometric features of the hole, by searching adjacent units and using feature node groups as bridges, and by gradually collecting all the nodes belonging to the hole through simulation analysis and secondary development programming language to obtain a list of node numbers, specifically includes the following steps: Using TCL programming, search for units adjacent to a given unit, and obtain a set of adjacent units; Get the set of selected cells; Subtract the selected set of units from the set of adjacent units to obtain the set of search units; For each corresponding unit in the search unit set, store the unit number containing the node number in the first side node into the result unit set, and store the other nodes of the unit into the node number list. Clear the first side node and store the other nodes of the unit into the first side node. For each corresponding unit in the search unit set, store the unit number containing the node number in the second side node into the result unit set, and store the other nodes of the unit into the node number list. Clear the second side node and store the other nodes of the unit into the second side node.
5. The method for rapidly establishing rigid elements of holes in NVH finite element simulation analysis as described in claim 1, wherein the node number of at least one element on the selected hole is stored in a node number list, characterized in that, The step of obtaining the end node group of the multiple units of the selected hole based on the order and geometric features of the nodes of each unit on the selected hole specifically includes the following steps: Based on the multiple units on the selected hole, TCL programming is used to obtain the side node group of each unit as a temporary side node group.
6. The method for rapidly establishing rigid hole elements in NVH finite element simulation analysis as described in claim 1, characterized in that, The geometric features of the combined hole, after the step of searching adjacent units and using feature node groups as bridges, and gradually collecting all the nodes to which the hole belongs through simulation analysis and secondary development programming language to obtain a list of node numbers, also include the following steps: The completion status of the collection of all nodes belonging to the hole is obtained.
7. A system for rapidly establishing rigid hole elements in NVH finite element simulation analysis, characterized in that, include: A unit selection module for selecting at least one unit on a hole; The feature node group acquisition module, communicatively connected to the unit selection module, is used to acquire the feature node group of the selected unit of the hole based on the sorting and geometric features of the nodes of at least one unit on the selected hole, through simulation analysis and secondary development programming language. Specifically, it includes acquiring the side node group of the selected unit of the hole based on the sorting and geometric features of the nodes of one unit on the selected hole, or acquiring the end node group of multiple units on the hole based on the sorting and geometric features of the nodes of multiple units on the selected hole. Acquiring the side node group of the selected unit of the hole includes, based on the geometric features of the selected unit, using TCL programming to calculate the length of each side of the unit formed by all nodes; based on the length of each side, acquiring the two nodes corresponding to the longest side as the nodes belonging to the outer edge; and based on all nodes and the nodes belonging to the outer edge... The process involves obtaining the side node group of the selected unit of the hole, and obtaining the end node group of the multiple units of the hole. This includes using TCL programming to search for units adjacent to the selected multiple units, obtaining a set of adjacent units, traversing each unit in the set of adjacent units, obtaining two units, and storing them in a first temporary result unit and a second temporary result unit, respectively. The nodes of the two units include a node group of temporary side nodes, but the nodes of the two units are not included in the node number list. The node group associated with the corresponding unit in the first temporary result unit and existing in the temporary side node is stored in the first side node. The node group associated with the corresponding unit in the second temporary result unit and existing in the temporary side node is stored in the second side node. Based on the first side node and the second side node, the end node group of the multiple units of the hole is obtained. The module for acquiring all nodes belonging to a unit is communicatively connected to the unit selection module and the feature node group acquisition module. It is used to combine the geometric features of the hole, search adjacent units, use the feature node group as a bridge, and gradually collect all nodes belonging to the hole through simulation analysis and secondary development programming language to obtain a list of node numbers. The rigid element generation module is communicatively connected to the node acquisition module of all the nodes to which the element belongs, and is used to generate hole rigid elements according to the node number list.
8. The rapid establishment system for rigid hole elements in NVH finite element simulation analysis as described in claim 7, characterized in that, The unit selection module includes: The single-unit selection submodule is used to select a single unit on a hole; or, Multiple unit selection submodules are used to select multiple units on the spaced-out selection holes.
9. The rapid establishment system for rigid hole elements in NVH finite element simulation analysis as described in claim 7, characterized in that, The feature node group acquisition module is either a side node group acquisition submodule or an end node group acquisition submodule. The side node group acquisition submodule is communicatively connected to the unit selection module and is used to acquire the side node group of the selected unit of the hole according to the sorting and geometric features of the nodes of the selected unit on the hole. The end node group acquisition submodule is communicatively connected to the unit selection module and is used to acquire the end node group of the multiple units of the selected hole according to the sorting and geometric features of the nodes of the multiple units.
