An earth-rock dam simulation adaptive mesh refinement method, device, equipment and medium
By using an adaptive mesh refinement method, key areas of earth-rock dams are identified for local refinement and iterative optimization, which solves the problem of balancing computational efficiency and accuracy in existing technologies and improves the accuracy and reliability of earth-rock dam simulation analysis.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA THREE GORGES CORPORATION
- Filing Date
- 2026-05-14
- Publication Date
- 2026-07-14
AI Technical Summary
Existing simulation mesh generation technology for earth-rock dams cannot effectively improve the calculation accuracy of key parts such as thin-walled structures and material partition interfaces without significantly increasing the amount of computation. It is difficult to balance the contradiction between computational efficiency and computational accuracy, and it lacks a dynamic evaluation and optimization mechanism.
An adaptive mesh refinement method is adopted. By generating a basic mesh, identifying key areas, and performing local refinement, the mesh density of key areas is improved by using octree partitioning and transition partitioning. Combined with an iterative refinement process, the mesh accuracy is optimized based on simulation results until the preset requirements are met.
It significantly improves the calculation accuracy of thin-walled structures and material partition interfaces, enhances the accuracy and reliability of earth-rock dam simulation analysis, reduces computational resources and time costs, and achieves dynamic optimization of mesh refinement.
Smart Images

Figure CN122391565A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of numerical simulation technology for water conservancy and hydropower engineering, specifically to an adaptive mesh densification method, device, equipment, and medium for simulating earth-rock dams. Background Technology
[0002] In numerical simulation analysis of earth-rock dams, hexahedral meshes are typically used for model partitioning. However, for thin-walled structures in earth-rock dams, such as concrete panels, panel joints, core walls, and material interface areas, conventional uniform meshing methods have significant shortcomings. On the one hand, while using a globally dense mesh can ensure the calculation accuracy of critical parts, it significantly increases the number of meshes and computational load, leading to low computational efficiency and consuming substantial computational resources and time. On the other hand, while using a globally sparse mesh can improve computational efficiency, the calculation accuracy of critical parts cannot be guaranteed, making it difficult to accurately simulate the complex mechanical behavior and stress-strain distribution of these parts, thus affecting the accuracy and reliability of the overall earth-rock dam simulation analysis results.
[0003] Existing mesh generation techniques for earth-rock dam simulation cannot effectively improve the analytical accuracy of key components such as thin-walled structures and material interface contacts without significantly increasing computational load and ensuring analysis efficiency. This makes it difficult to balance the trade-off between computational efficiency and accuracy, and thus fails to meet the demands of refined simulation analysis for earth-rock dams. Furthermore, existing techniques lack a dynamic evaluation and optimization mechanism for mesh refinement effects, making it difficult to further refine the mesh according to actual computational needs. Summary of the Invention
[0004] This invention provides an adaptive mesh refinement method, apparatus, equipment, and medium for earth-rock dam simulation, to solve the problem that in the prior art, mesh generation for earth-rock dam simulation cannot effectively improve the calculation accuracy of key parts while ensuring calculation efficiency, and it is difficult to balance the contradiction between calculation efficiency and calculation accuracy.
[0005] In a first aspect, the present invention provides an adaptive mesh refinement method for simulating earth-rock dams, comprising: generating a basic mesh for an earth-rock dam model, the basic mesh being composed of several mesh cells; identifying key regions of the earth-rock dam model based on the structural characteristics of the earth-rock dam; refining the mesh cells within the key regions, and refining the mesh cells adjacent to the key regions using a transitional subdivision method that matches the adjacency relationship; performing simulation calculations using the refined earth-rock dam model, and iteratively refining the refined earth-rock dam model based on the simulation calculation results until a preset accuracy requirement is met.
[0006] This invention only performs localized mesh refinement on key areas of the earth-rock dam model and adopts a transitional meshing method that matches the adjacency relationship for adjacent mesh cells. This significantly improves the calculation accuracy of key parts such as thin-walled structural regions and material partition interface contact areas without significantly increasing the number of meshes and the amount of computation, successfully solving the contradiction between computational efficiency and accuracy that is difficult to achieve in existing technologies. At the same time, this invention iteratively refines the mesh model based on the simulation calculation results until the preset accuracy requirements are met, realizing dynamic optimization of mesh refinement. This avoids the problems of insufficient or excessive refinement that may occur with one-time refinement in traditional methods, effectively improving the overall accuracy and reliability of earth-rock dam simulation analysis.
[0007] In one optional implementation, the base mesh is a hexahedral mesh, which is composed of several hexahedral mesh elements. By using a hexahedral mesh as the base mesh, a regular and well-organized cell structure can be provided for subsequent adaptive encryption, which is beneficial to improving the accuracy and efficiency of cell subdivision during the encryption process.
[0008] In one alternative implementation, the critical areas include thin-walled structural areas and / or material partition interface contact areas.
[0009] In one optional implementation, the mesh density in the critical region is increased by performing octree partitioning on each mesh cell, generating multiple sub-mesh cells from one mesh cell, and creating new nodes on the edges and faces of the original mesh cell. By performing octree partitioning on each mesh cell in the critical region, generating multiple sub-mesh cells from one mesh cell, and creating new nodes on the edges and faces of the original mesh cell, the mesh density in the critical region can be rapidly and uniformly increased, ensuring the quality and regularity of the encrypted mesh cells and avoiding the generation of malformed cells. Simultaneously, the octree partitioning method effectively reduces the complexity of the mesh density algorithm and improves computational efficiency. Furthermore, by generating new nodes on the edges and faces, necessary node information is provided for subsequent transitional partitioning with adjacent mesh cells, ensuring the mesh continuity and coordination between the encrypted and unencrypted regions, thereby improving the overall stability and accuracy of the simulation calculation.
[0010] In one optional implementation, the method of densifying the mesh cells adjacent to the critical region using a transitional partitioning approach that matches the adjacency relationship is as follows: when the adjacency relationship is coplanar, the adjacent mesh cells are partitioned into several prism elements and / or tetrahedral elements based on the new nodes generated by the densification of mesh cells within the critical region on the coplanar surface; when the adjacency relationship is edge-shared, at least one pyramid element is constructed on the opposite face of the adjacent mesh cell, excluding the face containing the shared edge, using the midpoint generated by the densification of mesh cells within the critical region on the shared edge as the vertex. This implementation adopts a transitional partitioning approach that matches the different adjacency relationships of adjacent mesh cells in the critical region for differentiated densification. This transitional partitioning approach that matches the adjacency relationship can ensure the mesh continuity and coordination between the densified and undensified regions, avoiding computational distortion or numerical instability caused by abrupt changes in mesh density. At the same time, this transitional partitioning approach makes full use of the new nodes already generated on the edges and faces during the densification process of the critical region, without the need to add additional nodes, effectively controlling the total number of mesh cells and the amount of computation.
[0011] In one optional implementation, the iterative encryption of the encrypted earth-rock dam model based on simulation calculation results is performed as follows: Physical quantities are extracted from the simulation calculation results, and the calculation error and gradient of these physical quantities are obtained. The calculation error refers to the difference between the physical quantity in the simulation calculation result and the actual physical quantity. When the calculation error or gradient exceeds a preset threshold in a certain region, that region is identified as requiring further encryption, and secondary encryption is performed on that region. This process is repeated until the calculation error or gradient of the physical quantities across the entire field of the earth-rock dam model does not exceed the preset threshold. By extracting physical quantities from the simulation calculation results, obtaining the calculation error and gradient, identifying regions where the calculation error or gradient exceeds a preset threshold as requiring further encryption, and performing secondary encryption, and repeating this process until the calculation error or gradient across the entire field does not exceed the preset threshold, adaptive iterative optimization of the mesh encryption can be achieved. This mechanism uses simulation results as feedback to automatically identify local areas with insufficient calculation accuracy and perform targeted secondary encryption, avoiding the waste of computing resources caused by blind global encryption. At the same time, through repeated iterations, it ensures that the calculation accuracy of the entire field gradually converges to the preset requirements, effectively improving the overall accuracy and reliability of earth-rock dam simulation analysis.
[0012] In one optional implementation, the method for performing secondary encryption is as follows: the grid cells in the area that needs further encryption are encrypted again, and the grid cells adjacent to the area that needs further encryption are encrypted again using a transitional subdivision method that matches the adjacency relationship.
[0013] Secondly, the present invention provides an adaptive mesh densification device for earth-rock dam simulation, comprising: a basic mesh generation module for generating a basic mesh for an earth-rock dam model, the basic mesh being composed of several mesh units; a key region identification module for identifying key regions of the earth-rock dam model based on the structural characteristics of the earth-rock dam; a local densification module for densifying the mesh units within the key regions and for densifying the mesh units adjacent to the key regions using a transitional subdivision method matching the adjacency relationship; and an iterative densification module for performing simulation calculations using the densified earth-rock dam model and iteratively densifying the densified earth-rock dam model based on the simulation calculation results until a preset accuracy requirement is met.
[0014] Thirdly, the present invention provides an electronic device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the adaptive grid encryption method for earth-rock dam simulation described in the first aspect or any corresponding embodiment thereof.
[0015] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the adaptive mesh encryption method for earth-rock dam simulation described in the first aspect or any corresponding embodiment thereof. Attached Figure Description
[0016] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0017] Figure 1 This is a flowchart illustrating the adaptive mesh refinement method for earth-rock dam simulation according to an embodiment of the present invention; Figure 2 This is an octree partitioning diagram of the adaptive mesh densification method for earth-rock dam simulation according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the transitional meshing of the adaptive mesh refinement method for earth-rock dam simulation according to an embodiment of the present invention; Figure 4 This is a structural block diagram of an adaptive mesh encryption device for earth-rock dam simulation according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0019] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0020] Existing mesh generation techniques for earth-rock dam simulation cannot effectively improve the analytical accuracy of key components such as thin-walled structures and material interface contacts without significantly increasing computational load and ensuring analysis efficiency. This makes it difficult to balance the trade-off between computational efficiency and accuracy, and thus fails to meet the needs of refined simulation analysis of earth-rock dams. Furthermore, existing technologies lack a dynamic evaluation and optimization mechanism for mesh refinement effects, making it difficult to further refine the mesh according to actual computational requirements. Therefore, this invention provides an adaptive mesh refinement method, apparatus, device, and medium for earth-rock dam simulation to address the problem that existing mesh generation techniques for earth-rock dam simulation cannot effectively improve the computational accuracy of key components while ensuring computational efficiency, thus failing to balance the trade-off between computational efficiency and accuracy.
[0021] According to an embodiment of the present invention, an embodiment of an adaptive grid densification method for earth-rock dam simulation is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0022] This embodiment provides an adaptive mesh refinement method for simulating earth-rock dams. Figure 1 This is a flowchart of an adaptive mesh refinement method for earth-rock dam simulation according to an embodiment of the present invention, as follows: Figure 1 As shown, the process includes the following steps: Step S101: Generate the basic mesh of the earth-rock dam model. The basic mesh consists of several mesh elements.
[0023] In one alternative implementation, an earth-rock dam model is first established based on the design drawings and actual parameters of the earth-rock dam. Then, the basic meshing function is used to perform basic hexahedral meshing on the earth-rock dam model, resulting in a basic mesh composed of several hexahedral mesh elements.
[0024] Step S102: Based on the structural characteristics of the earth-rock dam, identify the key areas of the earth-rock dam model.
[0025] For example, key areas include thin-walled structural areas and / or material partition interface contact areas, where thin-walled structures include concrete panels, panel joints, core walls, etc. The above identification process can employ an automatic identification method. Based on the structural characteristics of earth-rock dams, a key component identification algorithm can be developed to automatically identify key components such as thin-walled structures (e.g., concrete panels, panel joints, core walls) and material partition interface contacts, thereby quickly and accurately locating key areas in the earth-rock dam model that require localized refinement.
[0026] Step S103: Refine the grid cells in the critical area, and refine the grid cells adjacent to the critical area using a transitional subdivision method that matches the adjacency relationship.
[0027] The method for encrypting the grid cells in the key area is as follows: each grid cell is octree-partitioned to generate multiple sub-grid cells from one grid cell, and new nodes are generated on the edges and faces of the original grid cell.
[0028] For example, when the base mesh is a hexahedral mesh, the hexahedral mesh cells in the key region are partitioned using an octree in three spatial dimensions, dividing each hexahedral cell into 8 sub-hexahedral cells. See [link to documentation]. Figure 2 During this process, 12 new edge midpoints (12 edges) and 6 new face midpoints (6 faces) will be added, for a total of 18 new nodes. Within the same partition, the nodes will be divided in batches according to the above rules to form the overall encrypted region.
[0029] The method of refining the grid cells adjacent to the critical area by using a transitional subdivision method that matches the adjacency relationship is as follows: See Figure 3 When the adjacency relationship is coplanar, the adjacent mesh cells are divided into several prism cells and / or tetrahedral cells based on the new nodes generated by the mesh cell densification in the key area on the coplanar surface. For example, for an adjacent cell coplanar with the key area densification cell, based on the four edge midpoints and one face center point newly generated on the coplanar surface, the cell is divided into one prism cell composed of the four opposite vertices and the face center point, four prism cells composed of the intersection of adjacent edges, edge midpoints, face center points and opposite edge vertices respectively, and four tetrahedral cells composed of edge midpoints, opposite edge vertices and face center points respectively.
[0030] When the adjacency relationship is based on shared edges, the midpoint generated by the mesh cell densification within the key region on the shared edge is used as a vertex, and at least one quadrangular pyramid cell is constructed with the opposite faces of the adjacent mesh cells, excluding the face containing the shared edge. For example, for an adjacent hexahedral cell that only shares an edge with the key region densification cell, the midpoint on the shared edge is used as one vertex, and four quadrangular pyramids are constructed with the four opposite faces, excluding the face containing that point.
[0031] Step S104: Perform simulation calculations using the encrypted earth-rock dam model, and iteratively encrypt the encrypted earth-rock dam model based on the simulation calculation results until the preset accuracy requirements are met.
[0032] After the initial mesh refinement is completed, the refined mesh model is calculated and analyzed. Based on the distribution of physical quantities such as stress and strain in the calculation results, a threshold is set to determine whether iterative refinement is needed. Specifically, the method for iteratively refining the refined earth-rock dam model based on simulation calculation results is as follows: Step a1: Extract the physical quantities from the simulation calculation results and obtain the calculation error and gradient of the physical quantities. The calculation error refers to the difference between the physical quantities in the simulation calculation results and the actual physical quantities.
[0033] Step a2: When the error in the physical quantity calculation result or the gradient of the physical quantity exceeds a preset threshold in a certain area, the area is determined to be an area that needs further encryption, and secondary encryption is performed on the area.
[0034] The method for performing secondary encryption is as follows: The mesh cells within the region requiring further encryption are encrypted again, for example, through octree partitioning. Simultaneously, the mesh cells adjacent to the region requiring further encryption are encrypted again using a transitional partitioning method that matches the adjacency relationship. See step S103 above for details on the encryption method, which will not be repeated here. It is worth noting that when adjacent cells across regions are quadrangular pyramidal cells formed after the above adaptive partitioning, these quadrangular pyramidal cells should be simultaneously partitioned into four sub-quadrangular pyramidal cells.
[0035] Step a3: Repeat steps a1 and a2 above until the error of the physical quantity calculation results or the gradient of the physical quantity in the entire field of the earth-rock dam model does not exceed the preset threshold.
[0036] In the specific implementation process, a corresponding mesh refinement program can be written. The program needs to implement octree partitioning of hexahedral elements in key areas, as well as adaptive partitioning of adjacent elements (coplanar and edge-sharing). During programming, the coordinates of newly generated vertices must be accurately calculated, and new element topological relationships must be reasonably constructed. Further, an iterative refinement judgment module and an iterative refinement execution module should be written to implement iterative refinement judgment and operation based on calculation results. Then, the written key area identification algorithm, mesh refinement program, and secondary refinement related programs are integrated into the selected finite element analysis software. The program is run to perform adaptive mesh refinement processing on the initial mesh model, obtaining the first-refinement mesh model. The first-refinement mesh model is then calculated and analyzed. Based on the calculation results, it is determined whether the iterative refinement process is triggered. If triggered, the iterative refinement operation is executed to obtain the final refined mesh model.
[0037] The final encrypted mesh model is used to perform simulation calculations on earth-rock dams. Based on the calculation results, the mechanical and safety performance of the earth-rock dams is analyzed and evaluated. If the calculation results do not meet the expected accuracy requirements, the identification parameters of key components, the encryption strategy, or the iterative encryption threshold can be further adjusted, and the mesh encryption and simulation calculations can be repeated until satisfactory results are obtained.
[0038] The adaptive mesh refinement method for earth-rock dam simulation provided in this embodiment accurately identifies key parts such as thin-walled structures and material partition interfaces based on the shape and structural characteristics of earth-rock dams (face rockfill dams / core wall dams), achieving local adaptive mesh refinement and changing the traditional global mesh generation method. It proposes a three-dimensional hexahedral element generation strategy based on octrees, as well as a unique generation method for coplanar and edge-shared adjacent elements, effectively improving the mesh density and computational accuracy of key parts with fewer vertices and elements. By using local refinement instead of global refinement, it significantly improves the analytical and computational accuracy of key parts without substantially increasing the computational load, successfully solving the problem of balancing computational efficiency and accuracy. An iterative refinement process is introduced, dynamically evaluating mesh accuracy requirements based on computational results to achieve iterative fine-tuning of the mesh, further improving the accuracy and reliability of model calculations.
[0039] Through the above-described method, this embodiment achieves more accurate simulation of the complex mechanical behavior and stress-strain distribution at the interface between thin-walled structures and material partitions by adaptive mesh refinement of key components of the earth-rock dam. This effectively improves the accuracy of the analysis and calculation of these components, thereby enhancing the accuracy and reliability of the overall earth-rock dam simulation analysis results. The iterative refinement process further optimizes the mesh accuracy, ensuring that the calculation results are more realistic. Compared to the global fine mesh generation method, this invention only refines the mesh at key components, avoiding the problem of a significant increase in the number of meshes and computational load caused by global refinement. While ensuring accuracy, it significantly improves computational efficiency and reduces the consumption of computational resources and time costs. Iterative refinement can select overall or local refinement as needed, avoiding unnecessary waste of computational resources. Furthermore, the iterative refinement process gives the mesh refinement method dynamic optimization capabilities, allowing for flexible adjustment of mesh accuracy according to actual computational needs, making the simulation analysis more intelligent and accurate. The method of this invention is applicable to different types of earth-rock dams (face-panel rockfill dams and core-wall dams), possessing strong versatility and adaptability, and can be widely applied in the numerical simulation analysis of earth-rock dam engineering.
[0040] This embodiment also provides an adaptive mesh encryption device for earth-rock dam simulation, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0041] This embodiment provides an adaptive grid encryption device for simulating earth-rock dams, such as... Figure 4 As shown, it includes: The basic mesh generation module 401 is used to generate the basic mesh of the earth-rock dam model. The basic mesh consists of several mesh elements. The key area identification module 402 is used to identify the key areas of the earth-rock dam model based on the structural characteristics of the earth-rock dam. The local encryption module 403 is used to encrypt the grid cells in the key area and to encrypt the grid cells adjacent to the key area using a transitional subdivision method that matches the adjacency relationship. The iterative encryption module 404 is used to perform simulation calculations using the encrypted earth-rock dam model, and to iteratively encrypt the encrypted earth-rock dam model based on the simulation calculation results until the preset accuracy requirements are met.
[0042] The adaptive mesh encryption device for earth-rock dam simulation provided in this embodiment of the invention can execute the adaptive mesh encryption method for earth-rock dam simulation provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the method. Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments above, and will not be repeated here.
[0043] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention.
[0044] The following is a detailed reference. Figure 5 The diagram illustrates a structural schematic suitable for implementing an electronic device according to embodiments of the present invention. The electronic device may include a processor (e.g., a central processing unit, graphics processor, etc.) 501, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 502 or a program loaded from memory 508 into random access memory (RAM) 503. The RAM 503 also stores various programs and data required for the operation of the electronic device. The processor 501, ROM 502, and RAM 503 are interconnected via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0045] Typically, the following devices can be connected to I / O interface 505: input devices 506 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 507 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 508 including, for example, magnetic tapes, hard disks, etc.; and communication devices 509. Communication device 509 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 5 Electronic devices with various devices are shown, but it should be understood that it is not required to implement or have all of the devices shown, and more or fewer devices may be implemented or have instead.
[0046] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 509, or installed from a memory 508, or installed from a ROM 502. When the computer program is executed by the processor 501, it performs the functions defined in the adaptive mesh encryption method for earth-rock dam simulation according to embodiments of the present invention.
[0047] Figure 5The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0048] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the adaptive grid encryption method for earth-rock dam simulation shown in the above embodiments is implemented.
[0049] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0050] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. An adaptive mesh refinement method for simulating earth-rock dams, characterized in that, The method includes: Generate the base grid for the earth-rock dam model, wherein the base grid consists of several grid cells; Based on the structural characteristics of earth-rock dams, the key areas of the earth-rock dam model were identified; The grid cells within the critical region are densified, and the grid cells adjacent to the critical region are densified using a transitional partitioning method that matches the adjacency relationship. Simulation calculations were performed using the encrypted earth-rock dam model. Based on the simulation results, the encrypted earth-rock dam model was iteratively encrypted until the preset accuracy requirements were met.
2. The adaptive mesh refinement method for earth-rock dam simulation according to claim 1, characterized in that, The basic mesh is a hexahedral mesh, which is composed of several hexahedral mesh elements.
3. The adaptive mesh refinement method for earth-rock dam simulation according to claim 1, characterized in that, The key areas include thin-walled structural areas and / or material partition interface contact areas.
4. The adaptive mesh refinement method for earth-rock dam simulation according to claim 1, characterized in that, The method for encrypting the grid cells in the critical area is as follows: each grid cell is octree-partitioned to generate multiple sub-grid cells from one grid cell, and new nodes are generated on the edges and faces of the original grid cell.
5. The adaptive mesh refinement method for earth-rock dam simulation according to claim 4, characterized in that, The method for refining the mesh cells adjacent to the critical region using a transitional subdivision method that matches the adjacency relationship is as follows: When the adjacency relationship is coplanar adjacency, the adjacent mesh cells are divided into several prism cells and / or tetrahedral cells based on the new nodes generated by the mesh cells in the key area on the coplanar surface. When the adjacency relationship is that they share an edge, the midpoint generated by the mesh cells in the key area on the shared edge is used as the vertex, and at least one quadrangular pyramid cell is constructed with the opposite face of the adjacent mesh cell other than the face on which the shared edge is located.
6. The adaptive mesh refinement method for earth-rock dam simulation according to claim 1, characterized in that, The method for iteratively refining the encrypted earth-rock dam model based on simulation results is as follows: Extract the physical quantities from the simulation calculation results, and obtain the calculation error and gradient of the physical quantities. The calculation error refers to the difference between the physical quantities in the simulation calculation results and the actual physical quantities. When the error in the calculation result of the physical quantity or the gradient of the physical quantity exceeds a preset threshold in a certain area, the area is determined to be an area that needs further encryption, and secondary encryption is performed on the area. Repeat the above steps until the error of the physical quantity calculation results or the gradient of the physical quantity in the entire field of the earth-rock dam model does not exceed the preset threshold.
7. The adaptive mesh refinement method for earth-rock dam simulation according to claim 6, characterized in that, The method for performing secondary encryption is as follows: The grid cells in the area requiring further encryption are encrypted again, and the grid cells adjacent to the area requiring further encryption are encrypted again using a transitional partitioning method that matches the adjacency relationship.
8. A simulated adaptive grid densification device for earth-rock dams, characterized in that, The device includes: The basic mesh generation module is used to generate the basic mesh of the earth-rock dam model, which is composed of several mesh elements. The key area identification module is used to identify the key areas of the earth-rock dam model based on the structural characteristics of the earth-rock dam. A local encryption module is used to encrypt the grid cells within the key area and to encrypt the grid cells adjacent to the key area using a transitional partitioning method that matches the adjacency relationship. The iterative encryption module is used to perform simulation calculations on the encrypted earth-rock dam model, and to iteratively encrypt the encrypted earth-rock dam model based on the simulation calculation results until the preset accuracy requirements are met.
9. An electronic device, characterized in that, include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform the adaptive grid densification method for earth-rock dam simulation as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute the adaptive mesh encryption method for earth-rock dam simulation as described in any one of claims 1 to 7.