Finite element simulation solution method, system, equipment and medium based on mesh division

Compatible meshes are generated through virtual geometric topology cutting relationships and imprinting operations, which solves the problem of difficulty in generating node meshes in the existing technology, and achieves high-quality continuous transmission of physical fields and optimization of computing resources.

CN115828662BActive Publication Date: 2024-10-01ZWCAD SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211374316.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-04
Publication Date
2024-10-01
Estimated Expiration
2042-11-04

AI Technical Summary

Technical Problem

The existing technology is difficult to generate high-quality common-node meshes during the simulation process, resulting in physical field continuity problems, large computing resource usage, poor processing of complex models, and easy loss of geometric feature information.

Method used

Compatible meshes are generated through the virtual geometric topology cutting relationship, and the contact geometric surface is imprinted. After obtaining the clipping surface data, meshing is performed to ensure that the contact surface mesh nodes of adjacent geometries are consistent, and automatic generation of high-quality common nodes is achieved. Grid.

Benefits of technology

It improves the continuous transfer of physical fields of the simulation model, improves the accuracy of calculation results, reduces computing resource requirements, and ensures the continuity of physical fields in multi-physics coupling scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115828662B_ABST
    Figure CN115828662B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of mesh generation, and in particular to a finite element simulation solution method, system, device and medium based on mesh generation. A finite element simulation solution method based on mesh generation, comprising: obtaining geometric surface data of multiple geometric bodies of a target model; the geometric surface data includes all geometric surfaces of the geometric bodies; performing a mesh generation operation on each geometric surface to obtain physical field calculation mesh data of the target model; wherein, an imprinting operation is performed on a pair of contacting geometric surfaces, and a mesh generation operation is performed after obtaining the clipping surface data of each geometric surface. In this way, the geometric surfaces between contact surfaces of adjacent geometric bodies are processed as clipping surfaces / edges and then meshed, so as to realize automatic generation of high-quality common node meshes, ensure mesh continuity between different geometric models, ensure continuous transmission of physical fields during simulation solution, improve the accuracy of calculation results, and reduce computing resource requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of grid generation, and in particular to a finite element simulation solution method, system, equipment and medium based on grid generation. Background Art

[0002] A compatible mesh is a mesh with common nodes at the connection of geometric models. In order to meet the requirement of continuous transmission of physical fields during simulation, it is usually necessary to divide a compatible mesh at the specified geometric model during pre-processing mesh generation.

[0003] In structural or thermal simulation, due to the assumption of continuous medium mechanics, it is necessary to ensure the continuity of displacement or temperature at the interface. Although there are improvements in algorithms such as grid coupling and contact that can achieve the above continuity requirements, these algorithms are computationally intensive and require special unit implementation technology to avoid the self-locking effect that often occurs in structural simulation due to over-constraints. The compatible grid technology directly guarantees common nodes and field continuity in the calculation, and can obtain results that conform to real physical phenomena.

[0004] In electromagnetic simulation, since the electromagnetic field is continuous in the entire space, if compatible meshes are not used, the continuity between electromagnetic fields cannot be guaranteed. When calculating the physical field, even if a numerical solution that meets the numerical requirements can be obtained, it is a pseudo-solution that does not meet the physical requirements. On the other hand, in the time domain solution process, discontinuous meshes will introduce numerical impedance discontinuities, resulting in unreliable physical field calculation results of the simulation model. Therefore, the tangential continuity of the field needs to be guaranteed at the interface of different materials, and compatible meshes guarantee the tangential continuity of the field at the mesh level. In addition, for electromagnetic finite element algorithms, compatible meshes can greatly improve the computational efficiency of finite element algorithms. In simulation scenarios with multiple physical field coupling, the transmission of sound, heat, force, etc. requires mesh compatibility at the connection points, so that the common node meshes guarantee the continuous transmission of different physical fields.

[0005] However, currently, two methods are generally used to deal with the continuous transmission of physical fields in the simulation process. One is to do no special processing, but when calculating the physical field of the model, it will increase the difficulty of calculation and occupy more computing resources; the other is to generate a common-node grid and force the grid to be continuous, but whether it is manual or automatic adjustment of the grid nodes, the same process is very time-consuming and labor-intensive, and the processing effect on complex models is not good, which can easily lead to loss of geometric feature information and poor mesh quality. Therefore, the current method of generating common-node grids is insufficient and urgently needs to be improved and innovated. Summary of the invention

[0006] In view of the above-mentioned deficiencies in the prior art, the purpose of the present invention is to provide a finite element simulation solution method, system, device and medium based on mesh partitioning, which can generate a universal compatible mesh suitable for a variety of physical simulation scenarios through virtual geometric topological clipping relationships, and has strong engineering practical value.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions:

[0008] In one aspect, the present invention provides a finite element simulation solution method based on meshing, comprising:

[0009] Acquire geometric surface data of multiple geometric bodies of the target model; the geometric surface data includes all geometric surfaces of the geometric bodies;

[0010] Performing a meshing operation on each geometric surface to obtain physical field calculation mesh data of the target model; wherein, performing an imprinting operation on the contacting geometric surfaces, and performing a meshing operation after obtaining the clipping surface data of each geometric surface;

[0011] Based on the physical field calculation mesh data, boundary conditions are applied to the mesh on the geometric body in the target model, and simulation is performed.

[0012] Furthermore, the meshing-based finite element simulation solution method includes the following meshing operations for the contacting geometric faces:

[0013] Acquire clipping surface data of each geometric surface; the clipping surface data includes multiple clipping surfaces / edges of the geometric surface;

[0014] Meshing is performed on the plurality of clipping surfaces / edges respectively; wherein, if the same surface / edge corresponding to the clipping surface / edge has been meshed, the mesh data of the same surface / edge is used as the mesh data after the clipping surface / edge is meshed.

[0015] Furthermore, in the finite element simulation solution method based on meshing, the criteria for determining the contact geometric faces are:

[0016] The shortest distance between the two geometric faces is less than a predetermined threshold; and

[0017] The normal angle between the two geometric surfaces at the closest point is less than a predetermined angle; and

[0018] The normal of one of the two geometric faces at the point closest to the other geometric face passes through the other geometric face.

[0019] Furthermore, in the finite element simulation solution method based on meshing, the specific steps of the stamping operation are:

[0020] Get two geometric faces that overlap each other;

[0021] Based on a predetermined algorithm, two geometric surfaces are respectively trimmed along the edges of the overlapping parts, and multiple trimming surfaces / edges of each geometric surface are obtained and combined into the corresponding trimming surface data; wherein, the trimming surface / edge corresponding to the overlapping part in one geometric surface is the same surface / edge as the trimming surface / edge corresponding to the overlapping part in another geometric surface.

[0022] Furthermore, the finite element simulation solution method based on mesh division constructs a trimming information table; the trimming information table records the entity number of each geometric surface before trimming, the trimming surface / edge number after trimming, and the same surface / edge association information of each trimming surface / edge.

[0023] Furthermore, the finite element simulation solution method based on meshing also performs the following when meshing the clipping surface / edge:

[0024] Determine all identical faces / edges of each clipping face / edge according to identical face / edge association information of the clipping face / edge;

[0025] If any of all the same faces / edges has been meshed, the mesh data of the same face / edge is used as the mesh data after the trimming face / edge is meshed.

[0026] Furthermore, the meshing-based finite element simulation solution system includes the following meshing operations for the contacting geometric faces:

[0027] Acquire clipping surface data of each geometric surface; the clipping surface data includes multiple clipping surfaces / edges of the geometric surface;

[0028] Meshing is performed on the plurality of clipping surfaces / edges respectively; wherein, if the same surface / edge corresponding to the clipping surface / edge has been meshed, the mesh data of the same surface / edge is used as the mesh data after the clipping surface / edge is meshed.

[0029] On the other hand, the present invention provides a finite element simulation solution system based on meshing using any of the above-mentioned finite element simulation solution methods based on meshing, comprising:

[0030] An acquisition module is used to acquire geometric surface data of multiple geometric bodies of a target model; the geometric surface data includes all geometric surfaces of the geometric bodies;

[0031] The processing module is used to perform a meshing operation on each geometric surface to obtain physical field calculation mesh data of the target model; wherein, an imprinting operation is performed on the contacting geometric surfaces to obtain the clipping surface data of each geometric surface and then perform a meshing operation; based on the physical field calculation mesh data, boundary conditions are applied to the mesh on the geometric body in the target model, and a simulation solution is performed.

[0032] In another aspect, the present invention provides an electronic device, comprising:

[0033] a memory storing a computer program;

[0034] The processor, when executing the computer program, implements any of the aforementioned finite element simulation solution methods based on meshing.

[0035] On the other hand, the present invention provides a computer-readable medium storing a computer program, which, when executed by a processor, implements any of the aforementioned finite element simulation solution methods based on meshing.

[0036] Compared with the prior art, the finite element simulation solution method, system, device and medium based on meshing provided by the present invention have the following beneficial effects:

[0037] Using the virtual geometric meshing method provided by the present invention, firstly, all geometric faces of each geometric body of the target model are read, and then meshing is performed on each geometric face, wherein, if there are contacting geometric faces between geometric bodies, an imprinting operation is performed on the contacting geometric faces to obtain clipping faces, and then meshing is performed, so that the geometric faces between contact faces of adjacent geometric bodies are processed as clipping faces / edges and then meshed, so that the same faces / edges have the same mesh data, and the mesh nodes of the contact faces are guaranteed to be the same, so that the simulation model can ensure the continuous transmission of physical fields such as sound, heat, and force in the scenario of multi-physical field coupling, ensure the continuous transmission of physical fields in the simulation solution process, improve the accuracy of calculation results, and reduce the demand for computing resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a flow chart of the finite element simulation solution method based on mesh division provided by the present invention.

[0039] Figure 2-4 They are respectively example diagrams of an embodiment of the finite element simulation solution method based on meshing provided by the present invention.

[0040] Figure 5 It is a meshing result diagram using the meshing-based finite element simulation solution method provided by the present invention.

[0041] Figure 6This is a result diagram of meshing using the existing meshing method.

[0042] Figure 7 It is a target model in an embodiment provided by the present invention.

[0043] Figure 8 The present invention provides Figure 7 Schematic diagram of the physical field calculation grid data obtained by using non-compatible grid division for the target model in .

[0044] Fig. 9 The present invention provides Figure 7 The target model in the figure is divided into compatible grids based on grid intersection processing to obtain a schematic diagram of the physical field calculation grid data.

[0045] Fig.10 The present invention provides Figure 7 The target model in the diagram is divided by the compatible grid provided by the present invention to obtain a schematic diagram of physical field calculation grid data.

[0046] Fig.11 It is a schematic diagram of a part model in the field of mechanical manufacturing provided by the present invention.

[0047] Fig.12 The present invention provides Fig.11 The meshing results when the model is solved using the traditional method.

[0048] Fig.13 The present invention provides Fig.12 Detailed diagram of the connection between the two part models.

[0049] Fig.14 The present invention provides Fig.11 Schematic diagram of the results of solving the model using traditional methods.

[0050] Fig.15 The present invention provides Fig.11 A schematic diagram of the processing result of the model using the simulation solution method of the present invention.

[0051] Fig.16 The present invention provides Fig.15 Detailed diagram of the connection between the two part models.

[0052] Fig.17 The present invention provides Fig.11 A schematic diagram of the results of solving the model using the simulation solution method of the present invention.

[0053] Fig.18 It is a schematic diagram of a model of a chip and a heat sink provided by the present invention.

[0054] Fig.19The present invention provides Fig.18 Meshing results when solving using traditional methods.

[0055] Fig. 20 The present invention provides Fig.19 Detailed schematic diagram of the connection between the chip and the heat sink.

[0056] Fig.21 The present invention provides Fig.18 Schematic diagram of the results of solving the model using traditional methods.

[0057] Fig. 22 The present invention provides Fig.18 A schematic diagram of the processing result of the model using the simulation solution method of the present invention.

[0058] Fig.23 The present invention provides Fig. 22 Detailed schematic diagram of the connection between the chip and the heat sink.

[0059] Fig.24 The present invention provides Fig.18 A schematic diagram of the results of solving the model using the simulation solution method of the present invention.

[0060] Fig.25 It is a structural block diagram of the compatible meshing system of virtual geometry provided by the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0062] Those skilled in the art will appreciate that the foregoing general description and the following detailed description are exemplary and illustrative of specific embodiments of the present invention and are not intended to limit the present invention.

[0063] The terms "comprises," "includes," or any other variations thereof herein are intended to cover a non-exclusive inclusion, such that a process or method that includes a list of steps includes not only those steps but may include other steps not expressly listed or inherent to such process or method. Similarly, a reference to one or more devices or subsystems, elements or structures or components preceded by "comprises ... an" does not, without more limitations, exclude the presence of other devices or other subsystems or other elements or other structures or other components or other devices or other subsystems or other elements or other structures or other components. Throughout the specification, appearances of the phrases "in one embodiment," "in another embodiment," and similar language may, but do not necessarily, all refer to the same embodiment.

[0064] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

[0065] See also Figure 1 The present invention provides a finite element simulation solution method based on meshing, which is mainly used in scenarios where it is necessary to perform simulation analysis on a geometric model in a simulation model. Meshing is performed on each geometric body in the simulation model, and then boundary conditions are applied to the divided geometric bodies to facilitate the physical field calculation of the simulation model in the subsequent process, so that the physical field between the contact surfaces of adjacent geometric bodies is continuous, and the compatibility between adjacent geometric bodies is ensured, so as to ensure the continuous transmission of the physical field of the simulation model, improve the accuracy of the calculation results, and reduce resource requirements.

[0066] The finite element simulation solution method based on meshing includes:

[0067] Acquire geometric surface data of multiple geometric bodies of the target model; the geometric surface data includes all geometric surfaces of the geometric bodies;

[0068] Perform meshing operations on each geometric surface to obtain the physical field calculation mesh data of the target model; perform imprinting operations on the contacting geometric surfaces to obtain the clipping surface data of each geometric surface and then perform meshing operations. Specifically, the imprinting operation is mainly used to virtually clip the geometric surfaces, that is, to clip the edges of the overlapping parts to obtain multiple clipping surfaces, which facilitates meshing without causing disorder.

[0069] Based on the physical field calculation grid data, boundary conditions are applied to the grids on the geometric bodies in the target model, and simulation solutions are performed. Specifically, the method of applying boundary conditions to the divided grids and the simulation solution method are not limited, and technicians in this field can select appropriate application methods and simulation solution methods according to their needs. For example, after dividing the grid, simulation solutions are performed using the FDTD (Finite Difference Time Domain) algorithm.

[0070] Using the virtual geometric meshing method provided by the present invention, firstly, all geometric faces of each geometric body of the target model are read, and then meshing is performed on each geometric face. If there are contacting geometric faces between geometric bodies, an imprinting operation is performed on the contacting geometric faces to obtain clipping faces, and then meshing is performed. In this way, the geometric faces between contact faces of adjacent geometric bodies are processed as clipping faces / edges and then meshed, thereby automatically generating high-quality common-node meshes, ensuring mesh continuity between different geometric models, ensuring continuous transmission of physical fields in the simulation solution process, improving the accuracy of calculation results, and reducing computing resource requirements.

[0071] Further, as a preferred solution, in this embodiment, the meshing operation for the contacting geometric faces includes:

[0072] Acquire clipping surface data of a geometric surface; the clipping surface data includes one or more clipping surfaces / edges of the geometric surface; specifically, the clipping surface / edge is obtained by clipping a geometric surface. In this embodiment, the clipping method is not limited, and the number of clipped blocks for each geometric surface is not limited.

[0073] Meshing is performed for one or more of the clipping faces / edges respectively; wherein, if the same face / edge corresponding to the clipping face / edge has been meshed, the mesh data of the same face / edge is used as the mesh data after the clipping face / edge is meshed. Specifically, when meshing is performed for multiple clipping faces / edges of the same geometric surface, the meshes divided between all clipping faces / edges are of the same type, for example, they can all be square, triangular, etc. Of course, when meshing a single clipping face / edge, the following is also performed:

[0074] Check whether the clipping face / edge currently being meshed has the same face / edge. If so, determine whether the same face / edge has been meshed (i.e. the geometric face corresponding to the same face / edge has been meshed). If the same face / edge has been meshed, use the mesh data of the same face / edge as the mesh data after the clipping face / edge is meshed to ensure that the mesh properties are consistent with the same face / edge. At this time, the mesh data of the same face / edge can be directly copied as the mesh of the corresponding clipping face / edge, and the same process can be performed again to make the mesh data of the two the same. If the same face / edge has not been meshed, mesh the clipping face / edge according to the predetermined meshing method.

[0075] If the current clipping face / edge has no corresponding identical face / edge, the clipping face is considered an independent face and is meshed according to the predetermined meshing method.

[0076] If the trimming surface / edge has multiple identical surfaces / edges, and any identical surface / edge is meshed, it is divided according to the same mesh data to ensure the uniformity of the mesh properties between the identical surfaces / edges; when more than two identical surfaces / edges are meshed, the mesh data of any identical surface / edge is selected for division.

[0077] Further, as a preferred solution, in this embodiment, the clipping surface data is obtained by performing an imprinting operation on the contact surface pair corresponding to the geometric surface; accordingly, if the geometric surface does not overlap with other geometric surfaces, clipping is not required, and the clipping surface data of the geometric surface has only one clipping surface (i.e., the geometric surface itself). In this embodiment, one contact surface pair includes two overlapping geometric surfaces; the contact surface pair is obtained by selecting a predetermined range in the geometric model, and then the system sequentially obtains the contact surface pair according to the order of precedence.

[0078] Furthermore, before the imprinting operation is performed, the following steps are also performed:

[0079] Obtain the created or imported CAD geometric model that needs to be simulated and analyzed;

[0080] According to the scenario requirements of the simulation discipline analysis, specify the geometric model that needs to be divided into compatible meshes;

[0081] Find all contact faces within the specified range and perform imprint operations on them separately.

[0082] Further, as a preferred solution, in this embodiment, the criteria for determining the contact surface are:

[0083] The shortest distance between the two geometric faces is less than a predetermined threshold; and

[0084] The normal angle between the two geometric surfaces at the closest point is less than a predetermined angle; and

[0085] Among the two geometric surfaces, the normal of one geometric surface at the point closest to the other geometric surface passes through the other geometric surface. Specifically, the setting of the predetermined threshold and the predetermined angle is determined according to the actual situation of different simulation models, and the present invention does not limit it.

[0086] The specific steps of the stamping operation are:

[0087] Two overlapping geometric surfaces are obtained; specifically, in one imprinting operation, only two overlapping clipping surfaces are targeted, thereby reducing the amount of calculation and improving the clipping efficiency.

[0088] Based on a predetermined algorithm, two geometric surfaces are respectively trimmed along the edges of the overlapping parts, and multiple trimming surfaces / edges of each geometric surface are obtained and synthesized into the corresponding trimming surface data; wherein the trimming surface / edge corresponding to the overlapping part in one geometric surface is the same surface / edge as the trimming surface / edge corresponding to the overlapping part in another geometric surface. Preferably, the predetermined algorithm is a Boolean operation. That is, in this embodiment, the contact surfaces are trimmed away from each other through Boolean operations, and then the trimmed multiple trimming surfaces / edges belonging to the same geometric surface are synthesized into the trimming surface data of the corresponding geometric surface. At the same time, the mapping data of the trimming surfaces / edges and the corresponding identical surfaces / edges are recorded for easy query.

[0089] Further, as a preferred solution, in this embodiment, if one of the geometric surfaces in the contact surface pair has been clipped, multiple clipping surfaces of the geometric surface are used to perform the imprinting operation with the other geometric surface respectively; wherein, when the clipping surface / edge with the same face / edge performs the imprinting operation once, the corresponding same face / edge synchronously performs the imprinting operation once. It can be understood that: any clipping surface of a geometric surface is also a kind of geometric surface.

[0090] Further, as a preferred solution, in this embodiment, a trimming information table is constructed; the trimming information table records the entity number of each geometric surface before trimming, the trimming surface / edge number of the geometric surface after trimming, and the same surface / edge association information of each trimming surface / edge. In this embodiment, the relationship between the contact surface and the trimming surface is stored in the trimming information table, and all the front-to-back correspondences are recorded, including the entity number of each geometric entity before and after trimming, the surface number of each geometric surface before and after trimming, the edge number of each geometric edge before and after trimming, and the information that needs to be determined and recorded for the same face and same edge pairs generated after trimming.

[0091] For example, Figure 2-4 As shown, the steps of stamping operation are as follows (same for surface / solid):

[0092] Step 1. Find two pairs of contact faces, namely <(0,0), (1,0)> and <(0,0), (2,0)>.

[0093] Step 2. Build an initial information table, such as constructing a table with headers such as trimFaces (recording the face numbers before and after geometric face trimming), trimEdges (recording the edge numbers before and after geometric edge trimming), sameFaces (recording the numbers of the same faces generated during the trimming process), and sameEdges (recording the numbers of the same edges of the model after trimming).

[0094] Step 3. Trim the first pair of contact faces to <(0,0), (1,0)>.

[0095] Step 4. Update the clipping information table, where the geometric surface (0,0) is clipped to (0,1) and (0,2), and the geometric surface (1,0) is clipped to (1,1) and (1,2), and it is determined that the clipping surfaces (0,2) and (1,2) are the same surface.

[0096] Step 5. Trim the second pair of contact faces to <(0,0), (2,0)>.

[0097] Step 6. Since the geometric surface (0,0) has been clipped, use the clipping planes (0,2) and (0,1) to clip with the geometric surface (2,0) respectively. Among them, the clipping plane (0,1) is in contact with the geometric surface (2,0) and needs to be clipped; the clipping plane (0,2) is not in contact with the geometric surface (2,0) and does not need to be clipped.

[0098] Step7. Clip (0,1) and (2,0) to each other.

[0099] Step 8. Update the clipping information table. After clipping the geometric surface (0,1), (0,3) and (0,4) are obtained. After clipping the geometric surface (2,0), (2,1) and (2,2) are obtained. It is also determined that the clipping surfaces (0,4) and (2,2) are the same surface. Finally, the clipping surfaces (0,2), (0,3) and (0,4) are combined into the clipping surface data of the geometric surface (0,0). At the same time, the clipping surfaces (0,2) and (1,2) are the same surface, and the clipping surfaces (0,4) and (2,2) are the same surface.

[0100] Figure 5 The meshing result obtained by using the finite element simulation solution method based on meshing provided by the present invention is shown in FIG. Figure 6 The results of meshing using existing technologies are demonstrated. Compared with existing technologies, the meshing method provided by the present invention can improve mesh continuity between geometric bodies, ensure continuous transmission of the physical field of the simulation model, improve the accuracy of calculation results, and reduce resource requirements.

[0101] Further, as a preferred solution, in this embodiment, when meshing the clipping surface / edge, the following steps are also performed:

[0102] Determine all identical faces / edges of each clipping face / edge according to identical face / edge association information of the clipping face / edge;

[0103] If any of all the same faces / edges has been meshed, the clipping face is meshed using the same mesh data as the same face / edge.

[0104] In this embodiment, the same face / edge of the matching clipping face / edge is obtained by matching the clipping information table. The common node mesh is divided according to the corresponding relationship. When preparing to divide the mesh of a certain face, first check in the clipping information table whether it is clipped into multiple faces. If not, the normal mesh division logic is used; if the face is clipped into multiple faces, the multiple faces are divided into meshes to ensure that there are mesh nodes at the compatible boundary; if the clipping face has the same face or the same edge that has been divided into meshes, the mesh data of the same face and the same edge is directly copied, thereby ensuring that the meshes of all contact faces have common nodes, that is, the compatible mesh is successfully divided, and the continuous transmission of the physical field in the subsequent simulation process is ensured.

[0105] Furthermore, as a preferred solution, in this embodiment, it also includes:

[0106] Apply boundary conditions to the geometry in the target model based on the physical field calculation grid data to facilitate the subsequent calculation of the physical field of the simulation model.

[0107] Furthermore, the mesh division for each geometric surface is as follows:

[0108] Determine whether the geometric surface is clipped according to the clipping information table;

[0109] If yes, obtain the clipping surface data of the geometric surface and perform the corresponding meshing steps;

[0110] Otherwise, mesh the geometric surface.

[0111] For details, please refer to Figure 7-10 ,against Figure 7 The three connected geometric bodies in the figure are respectively: a model without processing compatible meshes, a model with compatible meshes based on mesh intersection processing, and a model with compatible meshes based on geometric imprinting. It can be seen that the mesh obtained by the finite element simulation solution method based on mesh partitioning provided by the present invention is natural and has excellent continuity, without the need for subsequent mesh optimization processing. However, based on the mesh intersection processing method, it is difficult to avoid generating mesh units with quality intersections (such as Fig. 9 ), without dealing with compatible meshes, there is no continuity.

[0112] For example, in the field of mechanical manufacturing, various automation equipment (such as machine tools, etc.) need to undergo multiple structural analyses to ensure their performance and reduce processing and manufacturing costs; structural analysis gives priority to using models for performance analysis, and only after the analysis results are passed can the corresponding manufacturing work be carried out. In the process of structural analysis, it is particularly important to ensure the accuracy of the correlation of the physical fields between the two contacting part models. The following is an example of model field simulation for comparison:

[0113] This example selects two parts from the automation equipment for simplified description, and analyzes their deformation and strength under stress to help assess the safety of the transportation process. Fig.11 After the conventional pre-processing settings, the relationship between the two part models is as follows: simulating a heavy object pressing on the part, applying a force load of 100N on the upper part; applying a fixed constraint to the lower part; the pre-processing settings are all commonly used technical means in this field and are not limited.

[0114] First, the two part models are divided using the common mesh division method. The results are as follows Fig.12 As shown in the figure, the mesh details of the contact part between the two are as follows: Fig.13 As shown. At this time, the calculation is performed and the calculation result is as follows Fig.14 As shown, it can be seen that the calculation results are wrong, the displacement field is discontinuous and the numerical errors are because in the finite element analysis, the stress is transmitted through the unit at the connection, and the current mesh unit is not a common node, so the stress cannot be transmitted to the parts below, and the displacement field is discontinuous.

[0115] Then, the simulation solution method provided in this application is used to process the two part models, and the model results obtained after meshing are as follows: Fig.15 As shown, the contact details between the two part models are as follows Fig.16 As shown in the figure, we can see that the grid units at the connection point share nodes. At this time, the calculation is performed and the calculation results are as follows Fig.17 As shown, it can be seen that the displacement field changes continuously and conforms to the physical characteristics; this is because the common nodes of the mesh elements ensure the continuous transmission of stress at the contact point between the upper and lower parts.

[0116] For another example, in the electronics industry, when conducting steady-state thermal analysis of structures, the finite element simulation solution method provided by the present invention can still give better results. In the electronics field, thermal conditions are critical to the life cycle, performance and function of the equipment. Steady-state thermal analysis is the analysis of the changes in the properties of a substance at a constant temperature; in the electronics field, when the junction temperature reaches a high enough value, semiconductor devices will be adversely affected, which may lead to melting and thermal runaway. Please refer to Fig.18 , where the model is used to analyze the temperature of the heat sink on the chip. The upper model is the heat sink, the lower model is the chip, and the bottom of the heat sink is in contact with the top of the chip. After the conventional pre-processing settings, the relationship between the heat sink and the chip is as follows: 0.1w heat flux is loaded at the bottom of the chip; convective heat flux is loaded on the entire heat sink surface, and the convective film heat transfer coefficient is 0.00005W / mm².C°.

[0117] First, divide the normal grid, see Fig.19 and Fig. 20, we can see that the mesh nodes of the contact part between the chip and the heat sink are independent and have no common nodes. At this time, the calculation is performed and the technical result is Fig.21 As shown, it can be seen that the calculation results are wrong, the heat field is discontinuous and the numerical errors are because in the finite element analysis, the heat field is transferred through the unit at the connection, and the current mesh unit is not common node, so the heat cannot be transferred to the heat sink, and the heat field is discontinuous.

[0118] Next, the finite element simulation solution method provided by the present invention is used to Fig.18 The model is processed, such as Fig. 22 and 23 As shown in the figure, we can see that the grid cells at the connection between the chip and the heat sink have common nodes. At this time, the calculation is performed, and the calculation results are as follows Fig.24 As shown, it can be seen that the heat field changes continuously and conforms to physical properties; because the common nodes of the grid units ensure the continuous transfer of the heat field at the contact point between the chip and the heat sink.

[0119] Therefore, whether in the field of mechanical manufacturing or in the electronics industry, the finite element simulation solution method provided by the present invention can ensure that the contact parts between two contacting part models have common nodes, thereby ensuring continuous transmission of stress at the contact points of the parts.

[0120] See also Fig.25 The present invention further provides a finite element simulation solution system based on meshing using the finite element simulation solution method based on meshing described in any of the above embodiments, comprising:

[0121] An acquisition module is used to acquire geometric surface data of multiple geometric bodies of a target model; the geometric surface data includes all geometric surfaces of the geometric bodies;

[0122] The processing module is used to perform a meshing operation on each geometric surface to obtain physical field calculation mesh data of the target model; wherein, an imprinting operation is performed on the contacting geometric surfaces to obtain the clipping surface data of each geometric surface and then perform a meshing operation; based on the physical field calculation mesh data, boundary conditions are applied to the mesh on the geometric body in the target model, and simulation solutions are performed. The present invention also provides an electronic device, comprising:

[0123] a memory storing a computer program;

[0124] The processor, when executing the computer program, implements the finite element simulation solution method based on meshing described in any of the aforementioned embodiments.

[0125] The present invention also provides a computer-readable medium storing a computer program, which, when executed by a processor, implements the finite element simulation solution method based on meshing described in any of the aforementioned embodiments.

[0126] More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fibers, a portable compact disk-read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0127] In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.

[0128] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the claims attached to the present invention.

Claims

1. A finite element simulation solution method based on meshing, characterized in that: include: Obtain geometric surface data of multiple geometric bodies of the target model; The geometric surface data includes all geometric surfaces of the geometric body; Performing a meshing operation on each geometric surface to obtain physical field calculation mesh data of the target model; wherein, performing an imprinting operation on the contacting geometric surfaces, and performing a meshing operation after obtaining the clipping surface data of each geometric surface; Apply boundary conditions to the mesh on the geometric body in the target model based on the physical field calculation mesh data, and perform simulation and solution; when the simulation and solution is applied to the mechanical manufacturing field to perform performance simulation analysis and solution of automation equipment, the target model includes two parts placed one above the other, and the relationship between the two parts is specifically: a certain force is applied to the upper part and a fixed constraint is applied to the lower part; When simulation is applied to the electronics industry for steady-state thermal analysis of chip structures, the target model includes the chip and the heat sink, and the heat sink is located above the chip, and the bottom of the heat sink is in contact with the top of the chip; the relationship between the heat sink and the chip is as follows: a preset heat flux is loaded at the bottom of the chip; a convective heat flux is loaded on the entire heat sink surface, and the convective film heat transfer coefficient is a preset value; The criteria for determining contacting geometric faces are: The shortest distance between the two geometric faces is less than a predetermined threshold; and The normal angle between the two geometric surfaces at the closest point is less than a predetermined angle; and Of the two geometric surfaces, the normal of one of the geometric surfaces at the point closest to the other geometric surface passes through the other geometric surface; The specific steps of the stamping operation are: Get two geometric faces that overlap each other; Based on a predetermined algorithm, two geometric surfaces are respectively trimmed along the edges of the overlapping parts, and multiple trimming surfaces / edges of each geometric surface are obtained and combined into the corresponding trimming surface data; wherein, the trimming surface / edge corresponding to the overlapping part in one geometric surface is the same surface / edge as the trimming surface / edge corresponding to the overlapping part in another geometric surface.

2. The finite element simulation solution method based on meshing according to claim 1 is characterized in that: Meshing operations for contacting geometric faces include: Acquire clipping surface data of each geometric surface; the clipping surface data includes multiple clipping surfaces / edges of the geometric surface; Meshing is performed on the plurality of clipping surfaces / edges respectively; wherein, if the same surface / edge corresponding to the clipping surface / edge has been meshed, the mesh data of the same surface / edge is used as the mesh data after the clipping surface / edge is meshed.

3. The finite element simulation solution method based on meshing according to claim 1 is characterized in that: Construct a clipping information table; the clipping information table records the entity number of each geometric surface before clipping, the clipping surface / edge number after the geometric surface is clipped, and the same surface / edge association information of each clipping surface / edge.

4. The finite element simulation solution method based on meshing according to claim 3 is characterized in that: When meshing clipped faces / edges, also perform: Determine all identical faces / edges of each clipping face / edge according to identical face / edge association information of the clipping face / edge; If any of all the same faces / edges has been meshed, the mesh data of the same face / edge is used as the mesh data after the trimming face / edge is meshed.

5. A finite element simulation solution system based on meshing using the finite element simulation solution method based on meshing according to any one of claims 1 to 4, characterized in that: include: An acquisition module is used to acquire geometric surface data of multiple geometric bodies of a target model; The geometric surface data includes all geometric surfaces of the geometric body; The processing module is used to perform a meshing operation on each geometric surface to obtain physical field calculation mesh data of the target model; wherein, an imprinting operation is performed on the contacting geometric surfaces to obtain the clipping surface data of each geometric surface and then perform a meshing operation; based on the physical field calculation mesh data, boundary conditions are applied to the mesh on the geometric body in the target model, and a simulation solution is performed.

6. The finite element simulation solution system based on meshing according to claim 5, characterized in that: Meshing operations for contacting geometric faces include: Acquire clipping surface data of each geometric surface; the clipping surface data includes multiple clipping surfaces / edges of the geometric surface; Meshing is performed on the plurality of clipping surfaces / edges respectively; wherein, if the same surface / edge corresponding to the clipping surface / edge has been meshed, the mesh data of the same surface / edge is used as the mesh data after the clipping surface / edge is meshed.

7. An electronic device, characterized in that: include: a memory storing a computer program; The processor, when executing the computer program, implements the finite element simulation solution method based on meshing as described in any one of claims 1-4.

8. A computer-readable medium, characterized in that A computer program is stored, and when the computer program is executed by a processor, the finite element simulation solution method based on meshing described in any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Method for rapidly generating plate-type satellite-structure node merging grids

    CN105677965A

  • Rapid generation method for fine finite element model of complex structure

    CN113536617A

  • Thin wall micro-milling deformation prediction method

    WO2021253963A1