Automatic identification method and device for internal structural surface of dam
By using boundary control parameters and mesh topology relationships in the method for identifying internal structural surfaces of dams, structural surfaces are automatically identified and integrated, solving the problems of low efficiency and insufficient accuracy in existing technologies. This achieves efficient and accurate structural surface identification, providing technical support for dam analysis.
Patent Information
- Application Number
- CN202511703009.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-19
- Publication Date
- 2026-02-27
AI Technical Summary
Existing technologies for identifying the internal structural surfaces of dams are inefficient, lack accuracy, and suffer from poor repeatability and maintainability, failing to meet the demands of modern high-precision and high-efficiency analysis.
By using predefined boundary control parameters, the initial elements are determined from the finite element mesh model, node types and connection surfaces are identified, adjacent elements are expanded using mesh topology relationships, and internal structural surfaces are automatically identified and integrated.
It has achieved efficient and fully automated identification of the internal structural surfaces of dams, improved identification accuracy, solved the problem of low efficiency in manual processing, and provided core technical support for structural analysis.
Smart Images

Figure CN121580482A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of hydraulic engineering structure analysis and computational mechanics, and particularly relates to a dam internal structure surface automatic identification method and device. BACKGROUND
[0002] In the finite element calculation and analysis of large hydraulic structures such as dams, the accurate characterization of internal structure surfaces is one of the key prerequisites to ensure the calculation accuracy. Internal structure surfaces refer to geometric surfaces formed inside the structure due to material property mutations, construction stages, structural configurations, etc. These structure surfaces will significantly affect the stress distribution, deformation characteristics, and overall stability of the structure.
[0003] In the finite element model, whether these structure surfaces can be accurately defined and treated as boundary conditions directly determines whether the calculation model can truly reflect the actual working behavior of the structure, which is crucial for the safety evaluation and life prediction of dams. Currently, in conventional finite element pre-processing software, the selection and definition of such internal structure surfaces are usually highly dependent on manual operation. Analysts often need to manually identify, frame, and define in complex three-dimensional grids based on geometric characteristics or physical properties. However, this method has obvious disadvantages such as low efficiency, difficulty in ensuring accuracy, poor repeatability and maintainability, and has become a technical bottleneck for fine numerical simulation of dams, which cannot meet the needs of modern high-precision and high-efficiency analysis.
[0004] Therefore, how to automatically, accurately, and efficiently identify and extract dam internal structure surfaces from complex grids has become a technical problem to be solved in the industry. SUMMARY
[0005] The present application provides a dam internal structure surface automatic identification method and device to solve the defects of low efficiency, difficulty in ensuring accuracy, poor repeatability and maintainability of dam internal structure surface identification in the prior art, and to realize automatic, accurate and efficient identification and extraction of dam internal structure surfaces from complex grids.
[0006] The present application provides a dam internal structure surface automatic identification method, comprising: Based on the pre-defined boundary control parameters, an initial element is determined as a current element from the finite element grid model; Determine the node type and connection surface of each node in the current element; the node type includes first type boundary nodes and second type boundary nodes; the first type boundary nodes are nodes located on the internal structure surface to be identified; the second type boundary nodes are auxiliary nodes used to define the connection surface element with the first type boundary nodes; the connection surface is a surface of an element containing two first type boundary nodes and two second type boundary nodes; determining, based on a grid topological relation, an adjacent unit sharing the connecting face with the current unit, determining a connecting face adjacent to the connecting face of the current unit in the adjacent unit, determining a node type of a node of the adjacent face based on a node type of a node of the connecting face of the current unit, updating the adjacent unit as a new current unit, and determining a connecting face of the new current unit based on node types of nodes in the new current unit; locating all unit faces composed of the first type of boundary nodes based on all the identified connecting faces, and integrating to form the internal structure face to be identified.
[0007] In some embodiments, the node type and the connecting face of each node in the current unit are determined, including: determining, based on a predefined boundary control parameter, a first type of boundary node and a second type of boundary node in the nodes of the current unit in the finite element grid model; traversing each unit face of the current unit, and if the node types of two nodes in any unit face are the first type of boundary node and the node types of the other two nodes are the second type of boundary node, then the any unit face is determined as a connecting face.
[0008] In some embodiments, the node type of the adjacent face is determined based on the node type of the connecting face of the current unit, including: determining an adjacent face of any connecting face in the current unit; if there is a node with an undefined node type in the adjacent face, then the node with the undefined node type is assigned a corresponding node type based on the node types of the nodes included in the connecting face.
[0009] In some embodiments, the node type of the adjacent face is determined based on the node type of the connecting face of the current unit, including: determining a common edge of the any connecting face and the adjacent face; assigning the node type of the node on the common edge to the node in the adjacent face directly connected to it through a unit edge.
[0010] In some embodiments, the node type of the adjacent face is determined based on the node type of the connecting face of the current unit, including: identifying all units containing the connecting face as connecting units; filtering out all unit faces composed of the first type of boundary nodes in all the connecting units; integrating the set of all the filtered unit faces as the internal structure face to be identified.
[0011] In some embodiments, after the internal structure surface to be identified is obtained, the method further comprises: Based on the user-specified parameters, the node coordinates involved in the internal structure surface to be identified are rotated and transformed, and a plurality of formats of grid files are generated.
[0012] The present application provides an automatic identification device for internal structure surface of a dam, comprising: An acquisition module is configured to determine a current element in a finite element grid model of the dam. An identification module is configured to determine node types and connecting surfaces of each node in the current element; the node types include first-type boundary nodes and second-type boundary nodes; the first-type boundary nodes are nodes located on the internal structure surface to be identified; the second-type boundary nodes are auxiliary nodes used to jointly define a connecting surface element with the first-type boundary nodes; the connecting surface is an element surface containing two first-type boundary nodes and two second-type boundary nodes; An expansion module is configured to determine adjacent elements sharing the connecting surface of the current element based on a grid topology relationship, determine adjacent surfaces of the connecting surface of the current element in the adjacent elements, determine node types of nodes of the adjacent surfaces based on node types of nodes of the connecting surface of the current element, update the adjacent elements as new current elements, and determine a connecting surface of the new current elements based on node types of each node in the new current elements. An integration module is configured to locate all element surfaces composed of the first-type boundary nodes based on all identified connecting surfaces, and integrate the element surfaces to form the internal structure surface to be identified.
[0013] The present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the automatic identification method for the internal structure surface of the dam when executing the computer program.
[0014] The present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the automatic identification method for the internal structure surface of the dam.
[0015] The present application further provides a computer program product comprising a computer program, wherein the computer program is executed by a processor to implement the automatic identification method for the internal structure surface of the dam.
[0016] The automatic identification method and apparatus for internal structural surfaces of dams provided by this invention ensures full automation of the identification process by defining the node boundary types, greatly improving efficiency; it identifies all connection surfaces and each unit constituting a structural surface by performing topology propagation based on the current connection surface, thus improving the accuracy of identification; by automatically completing the identification and output of structural surfaces, it solves the problem of low efficiency in manual processing, greatly improving processing efficiency, and realizing efficient and fully automatic identification of internal structural surfaces of dams, providing core technical support for structural analysis. Attached Figure Description
[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0018] To more clearly illustrate the technical solutions in this invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0019] Figure 1 This is a flowchart illustrating the automatic identification method for the internal structural surfaces of a dam provided by the present invention.
[0020] Figure 2 This is one of the schematic diagrams illustrating the internal structural surface identification method of the automatic identification method for internal structural surfaces of dams provided by the present invention.
[0021] Figure 3 This is one of the example diagrams of the output structural surface mesh of the automatic identification method for the internal structural surfaces of dams provided by the present invention.
[0022] Figure 4 This is the second schematic diagram of the internal structural surface identification method of the automatic identification method for internal structural surfaces of dams provided by the present invention.
[0023] Figure 5 This is the second example diagram of the output structural surface mesh of the automatic identification method for the internal structural surfaces of dams provided by this invention.
[0024] Figure 6 This is a schematic diagram of the automatic identification device for the internal structural surfaces of a dam provided by the present invention.
[0025] Figure 7 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0026] In the following, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by a person of ordinary skill in the art without creative work should belong to the protection scope of the present application.
[0027] It should be noted that the terms "first", "second" and the like in the present application are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units or modules does not necessarily have to be limited to those steps or units or modules clearly listed, but can include other steps or units or modules not clearly listed or inherent to these processes, methods, products or devices.
[0028] Figure 1 is a flowchart of the automatic identification method of the internal structural surface of the dam provided by the present application, as shown in Figure 1 The method comprises steps 110, 120, 130 and 140.
[0029] Step 110, determining an initial unit based on boundary control parameters.
[0030] Specifically, the execution subject of the automatic identification method of the internal structural surface of the dam provided by the embodiments of the present application is an automatic identification device of the internal structural surface of the dam. The device can be realized by software, for example, an automatic identification program of the internal structural surface of the dam running in a computer; or by hardware, for example, a computer or a server executing the automatic identification method of the internal structural surface of the dam, etc.
[0031] In specific engineering practice, a structure to be analyzed, for example, a large concrete dam, has been discretized into a three-dimensional finite element grid model containing a large number of nodes and units by professional pre-processing software.
[0032] It should be noted that the method provided by the embodiments of the present application is particularly suitable for the automatic identification and extraction of construction joints and transverse joints of an arch dam, and internal layers in the direction of the dam surface.
[0033] In the embodiments of the present application, first, the following key data files are read in, including but not limited to: a main grid file, a boundary condition control file, and an optional contact element file. After the system reads the data, it stores the data in corresponding multi-dimensional arrays, preparing the data for subsequent calculations. The main grid file provides the geometric basis of the model, including node coordinates, element connection relationships, element information, and contact element information. The boundary condition control file defines two types of key boundary identifiers, such as boundaries representing different material regions or construction joints, and includes coordinate system selection and rotation angle parameters for post-processing. The contact element file describes node pairs with constraint relationships, which are crucial for ensuring the continuity of structural surfaces at the connection.
[0034] Specifically, first, one or more pre-generated main grid files are read. This file is a digital carrier that describes the entire dam finite element model. The main grid file contains all the basic information that defines the entire three-dimensional model of the dam, including at least node information and element information; the node information includes the unique number of each node and its coordinate value. The node information defines the geometric shape and size of the model. The element information includes the unique number of each element and its topological connection relationship, i.e., the node number list that constitutes the element. For example, for a hexahedral element, its element information will include the numbers of the 8 nodes that constitute the element. After reading and parsing the file, the system loads these node and element information into the computer memory and builds an internal data structure that is convenient for subsequent steps to quickly query and access.
[0035] Taking a typical concrete arch dam as an example, its finite element grid model is often extremely complex and large in order to ensure calculation accuracy, and may contain millions of nodes and tens of thousands or even hundreds of thousands of elements.
[0036] After obtaining the finite element three-dimensional grid to be identified, the grid topological relationship and element surface geometric feature construction can be performed to provide basic support for subsequent identification. The core lies in constructing two key relationships: one is the adjacency relationship between nodes and elements, and the other is the geometric center of each element surface.
[0037] By traversing all nodes and their associated elements, a node adjacency index table is constructed to quickly determine all adjacent nodes of any node. At the same time, based on the predefined face-node index matrix for locating the six faces of a hexahedral element, the center point coordinates of each face of each element are calculated and stored in an array. This face center coordinate will serve as the geometric basis for subsequent judgment of whether two faces are coplanar, i.e., belong to the same connected surface.
[0038] It should be noted that the method provided by the embodiments of the present application is suitable for complex models and various elements, the core algorithm is based on grid topological relationship rather than specific geometric shape, can effectively process dam structural surface grids, and supports multiple element types such as hexahedrons, and has strong universality.
[0039] In the embodiment of the present application, any grid on the structural plane in the input finite element grid model of the dam is determined as a current unit.
[0040] In step 120, the node type and connecting surface of each node in the current unit are determined; the node type includes a first type of boundary node and a second type of boundary node; the first type of boundary node is a node located at the internal structure to be identified; the second type of boundary node is an auxiliary node used to jointly define a connecting surface unit with the first type of boundary node; and the connecting surface is a unit surface containing two first type of boundary nodes and two second type of boundary nodes.
[0041] Specifically, the node type is a label assigned to a node in a finite element grid unit, used to identify the relative position relationship of the node with the internal structure to be identified. In the embodiment of the present application, the node type includes a first type of boundary node and a second type of boundary node.
[0042] The first type of boundary node is a node located at the internal structure to be identified, used to identify the position of the target internal structure to be identified, representing an explicit, continuous macroscopic geometric boundary or main structure partition interface in the dam structure, including the upstream dam surface, the downstream dam surface, the internal layer surface or the transverse joint surface of the arch dam.
[0043] The second type of boundary node is a node opposite to the first type of boundary node in the grid, used to define another side boundary adjacent to the set of first type of boundary nodes in the grid topology relationship, and to define the area of the connecting surface to be extracted through the combination with the first type of boundary node. The second type of boundary node is an auxiliary node.
[0044] The connecting surface is a side surface connecting the two types of boundaries, constituting an intermediate layer skeleton, and playing a connecting and transitional role.
[0045] In the embodiment of the present application, the node type and connecting surface of each node in the current unit are determined; and the connecting surface is a surface containing two first type of boundary nodes and two second type of boundary nodes in the unit.
[0046] Specifically, the system maps the two types of boundary identifications read from the boundary condition control file to the corresponding nodes of the grid. Then, all the surfaces of each unit are traversed, and the boundary types of the four nodes contained in each surface are checked. If two nodes of the four nodes of a surface belong to the first type of boundary, and the other two nodes belong to the second type of boundary, the surface is determined as a connecting surface, and is initially marked.
[0047] In step 130, based on the grid topological relation, a neighboring unit sharing the connecting face with the current unit is determined, a neighboring face of the connecting face of the current unit is determined in the neighboring unit, the node type of the node of the neighboring face is determined based on the node type of the node of the connecting face of the current unit, the neighboring unit is updated as a new current unit, and the connecting face of the new current unit is determined based on the node type of each node in the new current unit.
[0048] Specifically, in the embodiment of the application, the extension of the connecting face is performed through iteration according to the identified connecting face, that is, the neighboring unit of the current unit is determined along the extension direction of the internal structure face to be identified, the neighboring face of the connecting face of the current unit is determined in the neighboring unit, the node type of the node of the neighboring face is determined based on the node type of the node of the connecting face of the current unit, the neighboring unit is updated as a new current unit, and the connecting face of the new current unit is determined based on the node type of each node in the new current unit.
[0049] Specifically, the neighboring face of the identified connecting face is checked. If the node boundary type of the neighboring face is not completely defined, the “propagation” assignment is performed according to the node type on the identified connecting face, that is, the undefined node on the neighboring face is marked as the corresponding boundary type. Once the node of the neighboring face satisfies the condition of “two types of boundary nodes each having two”, the neighboring face is supplemented as a new connecting face.
[0050] In step 140, all unit faces composed of the first type of boundary nodes are located, and the internal structure face to be identified is integrated.
[0051] Specifically, the structure face refers to a specific plane or curved surface existing in an engineering structure or a geological rock mass, and presenting discontinuity in physical, mechanical or geometric properties. The core feature of the “discontinuity” is that the mechanical response, such as strength, stiffness, deformation characteristics, etc., of the structure face itself and the surrounding area is significantly different from that of the continuous parent material on both sides; it is usually a key factor for controlling the stress distribution, deformation mode, permeation path and stability of the whole structure. In the embodiment of the application, the structure face is the core object that needs to be accurately identified and extracted when performing finite element numerical simulation.
[0052] In the embodiment of the application, after all the connecting faces are found, all unit faces composed of the first type of boundary nodes are located, and the internal structure face to be identified is integrated.
[0053] The automatic identification method of the dam internal structure surface provided by the embodiment of the application guarantees full automation of the identification process through definition of the node boundary type, greatly improves the efficiency, identifies all the connecting surfaces based on the current connecting surface for topological propagation, identifies each unit constituting the structure surface, and improves the identification accuracy; the structure surface identification and output are automatically completed, the problem of low efficiency of manual processing is solved, the processing efficiency is greatly improved, efficient and full-automatic identification of the dam internal structure surface is realized, and core technical support is provided for structure analysis.
[0054] In some embodiments, the determination of the node type and the connecting surface of each node in the current element of the finite element mesh comprises: determining the first type of boundary node and the second type of boundary node in the node of the current element based on the pre-defined boundary control parameter; traversing each element surface of the current element, if the node type of two nodes in any element surface is the first type of boundary node and the node type of the other two nodes is the second type of boundary node, the any element surface is determined as the connecting surface.
[0055] Specifically, the boundary control parameter refers to a set of pre-set digital information used to pass the user's intention to the automatic identification algorithm to define the target structure surface identification range. The core function of the parameter is to convert an abstract identification task, such as "finding the third construction joint", into a specific, non-fuzzy logical starting point that can be understood and executed by the algorithm. In the embodiment of the application, the boundary condition control file defines two types of key boundary identifiers, i.e. the pre-defined boundary control parameter; the boundary control parameter is used to define the first type of boundary node set and the second type of boundary node set.
[0056] The method provided by the embodiment of the application can adapt to different engineering analysis requirements by flexibly defining the boundary condition, automatically and accurately extract the key internal structure surface from the complex mesh, and effectively support the fine numerical simulation of the dam.
[0057] Taking extraction of the internal structure surface along the direction of the arch dam surface as an example, Figure 2 is one of the internal structure surface identification diagrams of the automatic identification method of the dam internal structure surface provided by the application, as Figure 2 shown, the internal structure surface extending along the normal direction of the upstream dam surface or the downstream dam surface of the arch dam is extracted, and such structure surface is often used for numerical analysis of the internal layer.
[0058] First, prepare the three-dimensional finite element mesh file of the arch dam. In the boundary condition file, define a set of nodes A, B involved in the target structural plane, i.e. the internal layer, as the first type of boundary node set, and define another set of nodes C, D adjacent to the target structural plane on the downstream side thereof and connected by elements as the second type of boundary node set.
[0059] Then, perform topology construction and initial identification. After the system reads in the mesh, it automatically constructs the node adjacency relationship. In the initial identification stage, the algorithm searches for those planes that contain both the AB node side and the CD node side. For example, a plane of a hexahedral element, two nodes of which belong to the first type of boundary node set and the other two nodes belong to the second type of boundary node set, is marked as an initial connection plane. Through this method, the planes that meet the condition in the target structural plane and its adjacent area will be identified, as shown in FIG. 2, ADHE, BCGF and EFGH in the element are connection planes. These initial connection planes are distributed in a direction nearly perpendicular to the dam plane. Figure 2
[0060] Take the initial connection plane as the current connection plane and extend it to the interior of the dam body. It checks the adjacent planes of the initial connection plane, and if the node boundary type of the adjacent plane is not defined, it is assigned according to the boundary type on the current connection plane. Through this propagation, the algorithm can automatically track the complete and continuous first type of boundary node and second type of boundary node extending from the center of the top of the dam plane to the interior of the dam body.
[0061] Then, perform structural plane integration to integrate all the identified structural planes to form a complete target structural plane.
[0062] Finally, perform output and application. Figure 3 FIG. 1 is one of the output structural plane mesh example diagrams of the automatic identification method of the internal structural plane of the dam provided by the present application, as shown in FIG. 1, the system outputs the structural plane mesh file. The structural plane mesh defined by the file accurately represents the shape distribution of the internal space of the dam plane. Engineers can import this structural plane mesh into the calculation result visualization software for analyzing the influence of external conditions on the internal layer of the dam. Figure 3
[0063] Taking the extraction of the internal structural plane along the transverse joint direction of the arch dam as an example, Figure 4 FIG. 2 is the second internal structural plane identification schematic diagram of the automatic identification method of the internal structural plane of the dam provided by the present application, as shown in FIG. 2, the transverse joints in the arch dam body, i.e. the joints perpendicular to the dam axis direction, or other internal structural planes, are extracted. These transverse joints divide the dam body into several dam sections. Figure 4
[0064] First, the same arch dam mesh file as in the above example is used. In the boundary condition file, a set of nodes (A', D') involved in the transverse joint structural plane to be extracted is defined as the first type of boundary node set, and another set of nodes (B', C') adjacent to the riverbed side of the transverse joint structural plane and connected by elements is defined as the second type of boundary node set.
[0065] Then, topology construction and initial identification are performed. The dam internal structural plane A'D'H'E' where nodes A' and D' are located is identified as the plane where the first type of boundary node set is located, that is, the transverse joint, and the dam internal structural plane B'C'G'F' where nodes B' and C' are located is identified as the plane where the second type of boundary node set is located. As shown in FIG. 4, the element plane A'D'H'E' is identified as a component of the target structural plane because all nodes thereof belong to the first type of boundary node set. These initial structural planes preliminarily outline the contour of the transverse joint. Meanwhile, the plane A'B'C'D' containing the nodes on the A' and D' sides and the nodes on the B' and C' sides is identified as an initial connection plane. Figure 4
[0066] The transverse joint of the arch dam may not be an ideal plane in three-dimensional space, but has a complex curved shape. Taking the initial connection plane as the current connection plane, the algorithm iteratively extends to the interior of the dam body. It checks the adjacent plane of the initial connection plane, and if the node boundary type of the adjacent plane is not defined, the boundary type is assigned according to the boundary type on the current connection plane. Through this propagation, the algorithm can automatically track the complete and continuous first type of boundary node set and the second type of boundary node set extending from the dam surface to the interior of the dam body.
[0067] Then, structural plane integration is performed to integrate all the identified transverse joint structural planes.
[0068] Finally, output and application are performed. Figure 5 is a second example of the output structural plane mesh of the automatic identification method of the internal structural plane of the dam provided by the present application, as shown in FIG. 6, the final output structural plane mesh accurately reflects the real geometric shape of the transverse joint. The result can be directly used for contact nonlinear analysis of the transverse joint to evaluate the interaction between the two dam sections on both sides of the transverse joint, which is crucial for evaluating the integrity and seismic performance of the arch dam. Figure 5
[0069] The extracted structural plane mesh can be used for dam structure safety evaluation such as seepage analysis, stress and strain analysis, or nonlinear dynamic analysis.
[0070] The method provided by the embodiment of the present application can directly serve the construction period dam temperature control and crack prevention analysis, operation period dam structure safety evaluation, and the like, and provide an accurate structural plane model for internal structure analysis of the dam, and has important engineering application significance.
[0071] The automatic identification method for the internal structural surface of a dam provided by the embodiment of the present application ingeniously converts a complex and global three-dimensional surface selection problem into a simple and localized boundary definition task by using the pre-defined boundary control parameter to initially define the grid node, greatly reducing the complexity of user operation; the identification of the connecting surface is completed by using the accurate logical criterion, which provides support for the subsequent automatic topology propagation algorithm. The two cooperate to lay a solid and accurate logical foundation for the entire automatic identification process, guaranteeing the accuracy and integrity of the subsequent identification, and being a key prerequisite for realizing efficient and fully automatic identification.
[0072] In some embodiments, determining the node type of the node of the adjacent surface based on the node type of the node of the connecting surface of the current unit comprises: determining the adjacent surface of any connecting surface in the current unit; if there is a node with an undefined node type in the adjacent surface, assigning the corresponding type to these nodes according to the node type of the connecting surface.
[0073] Specifically, first, the adjacent surface of any connecting surface in the current unit is determined. For example, the pre-established node adjacency relationship or unit adjacency relationship can be used to find the adjacent unit by querying the adjacency relationship, and the adjacent surface of any connecting surface in the current unit is determined in the adjacent unit.
[0074] Then, if there is a node with an undefined node type in the adjacent surface, the node type of each node in the adjacent surface is determined based on the node type of the node of any connecting surface. It should be noted that this judgment is crucial, which ensures that the algorithm only advances to unexplored areas. If all the node types of a adjacent surface are already known, for example, they have been defined in the previous iteration, it means that the algorithm may have encountered a boundary or an already processed area, and there is no need to repeat the operation, so it is directly skipped, thereby avoiding infinite loops and redundant calculations. When there is indeed a node with an undefined type in the adjacent surface, the algorithm will perform a "type inheritance" or "type propagation" operation.
[0075] The automatic identification method for the internal structural surface of a dam provided by the embodiment of the present application determines the adjacent surface, judges whether there is an undefined node, and then propagates the node type, which ensures that the automatic identification process can correctly extend along the complex geometry of the target structure surface, avoids infinite loops and redundant calculations, and is the core technology engine for realizing the entire automatic and intelligent identification.
[0076] In some embodiments, determining the node type of the node of the adjacent surface based on the node type of the node of the connecting surface of the current unit comprises: determining the common edge of the any connecting surface and the adjacent surface; The node type of any node on the common edge is assigned to the node directly connected with the any node in the adjacent face along the extension direction of the internal structure face to be identified.
[0077] Specifically, first, a common edge of any connecting face and adjacent face is determined.
[0078] It should be noted that in the mesh model, a processed connecting face and its to-be-processed adjacent face are physically adjacent by sharing a common edge. The common edge plays a key role as an information transmission channel. It is both the boundary of the known region, i.e., the current connecting face, and the entrance of the unknown region, i.e., the adjacent face, and the algorithm will transmit the node type attribute through the channel.
[0079] Then, the node type of any node on the common edge is assigned to the node directly connected with the any node in the adjacent face. This is an atomic operation of type attribute inheritance, which defines the direction and rule of information flow. The core is that the node attribute should be continuous along the extension direction of the structure face according to the basic physical and geometric assumption.
[0080] In other words, the algorithm takes a known type node on the common edge as a propagation source. Then, in the topology of the adjacent face, the target node directly connected with the propagation source is found. The target node is the direct successor of the propagation source in the extension direction. Once the direct connection relationship between the source and the target is determined, the algorithm performs the assignment operation: the type attribute of the propagation source node, for example, the first type boundary node, is copied and assigned to the target node. This process is systematically applied to all nodes on the common edge to ensure that the type information can be completely and unambiguously transmitted to the corresponding nodes in the adjacent face.
[0081] It should be noted that after the node type propagation and the determination of the new connecting face, the face center coordinates of each face can be used for coplanar matching to further determine the corresponding relationship between the faces of adjacent cells. This process is repeated until no new connecting face is identified, ensuring the integrity and continuity of the connecting face identification between the two boundary layers, and marking all cells where the connecting face is located as connecting cells.
[0082] The automatic identification method of the internal structure face of the dam provided by the embodiment of the application ensures that the node type transmission process is controllable, predictable and highly reliable through the microscopic propagation mechanism of the common edge and direct topological connection, providing a solid logical foundation for the stable operation of the entire automatic identification algorithm. The initial identification is performed according to the strict criterion of two types of boundary nodes each having two, the continuity of the structure face is ensured by combining the topological propagation algorithm, and the geometric consistency is verified by using the face center coordinates, so that the result is accurate and reliable.
[0083] In some embodiments, the locating all cell faces composed of the first type of boundary nodes, and integrating to form the internal structure face to be identified, comprises: determining the grid to which each connection face belongs as a connection cell grid; integrating each first type of boundary node in each connection cell grid to obtain the internal structure face to be identified.
[0084] Specifically, in the embodiment of the present application, after the identification of all connection faces and connection cells is completed, the system screens and integrates all identified connection cells and first type of boundary nodes, and the target structure face information of the connection cells meeting the conditions is integrated into an output array to form a final target structure face set.
[0085] Specifically, all identified connection cells and first type of boundary nodes are integrated to form a final target structure face. First, the connection faces are traversed. For each connection face, it belongs to a three-dimensional entity cell, i.e., a connection cell. The system collects all the cells to which these “connection faces” belong to form a set.
[0086] In the physical space, the connection cell grid constitutes a layer of “thin shell” or “interlayer” of the final target structure face to be extracted. Then, the algorithm traverses each “connection cell” in the connection cell grid set. For each “connection cell”, the algorithm checks all the nodes constituting the cell, such as the types of 8 nodes of a hexahedral cell, and screens all the nodes of the type “first type of boundary node” in all the nodes of the cell. Then, using these screened first type of boundary nodes, one or more new cell faces are constructed in the cell; this newly constructed cell face is a small part of the final target structure face. This operation is repeated for all “connection cells”, and all newly constructed cell faces composed of only first type of boundary nodes are collected. When all “connection cells” are traversed, these collected cell faces are collected together to form a complete, independent, and geometrically accurate internal structure face grid model to be identified.
[0087] The automatic identification method of the internal structure face of a dam provided by the embodiment of the present application screens and integrates the identified connection faces and connection cells to obtain a final structure face, eliminates all fragments, redundancies, and misjudgments generated in the algorithm diffusion process, and finally delivers a clean, complete, independent, and usable engineering model to the user, accurately peels off the final target structure face from massive data, and has strong engineering practicability and execution efficiency.
[0088] In some embodiments, after the locating all cell faces composed of the first type of boundary nodes, and integrating to form the internal structure face to be identified, the method further comprises: Based on the user-specified parameters, the coordinates of each node involved in the internal structure surface to be identified are rotated and transformed, and a plurality of formats of grid files are generated.
[0089] Specifically, in many engineering analysis scenarios, the internal structure surface directly extracted from the original three-dimensional model can be in an arbitrary, inclined spatial posture. Such a posture brings inconvenience for direct observation, measurement of dimensions, or certain types of two-dimensional analysis.
[0090] In the embodiment of the present application, after all unit surfaces composed of the first type of boundary nodes are located and integrated to form the internal structure surface to be identified, based on user-specified parameters, the coordinates of each node involved in the internal structure surface to be identified can be rotated and transformed, and a plurality of formats of grid files can be generated.
[0091] Specifically, to meet the needs of different post-processing software, the structure surface grid can be post-processed and output. First, the user can provide a set of parameters, such as rotation parameters, to control the behavior of transformation. According to the user-specified parameters, necessary rotation transformation is performed on the coordinates of all nodes involved in the structure surface, such as transforming the model to a specific viewing angle or coordinate system.
[0092] In addition, different finite element analysis software or post-processing visualization platforms often support or require different grid file formats. In order to ensure that the high-quality structure surface data extracted by the present application can be widely applied, the present application provides flexible file output functions. In the embodiment of the present application, the output grid files include a special format and a general format, wherein the general format is a standard three-dimensional grid format and can be recognized by a plurality of finite element pre-processing and post-processing software.
[0093] Specifically, the system can generate two general formats of grid files: one is a custom format optimized for a specific post-processing software, which usually contains a concise list of nodes and elements; the other is a grid format conforming to a general standard, which has good universality and can be recognized and imported by a plurality of mainstream finite element pre-processing and post-processing software, greatly facilitating subsequent numerical analysis and visualization.
[0094] The automatic identification method of the internal structure surface of the dam provided in the embodiment of the present application can adapt to different observation angles by performing coordinate transformation on the identification results, greatly enhancing the readability of the analysis results and the convenience of subsequent processing. By providing two grid files in a special two-dimensional format and a general three-dimensional format, the results can be imported into a plurality of mainstream finite element or post-processing software, greatly improving the practicality and engineering application value of the method.
[0095] The device provided in the embodiment of the present application is described below, and the device described below can be correspondingly referred to the method described above.
[0096] Figure 6 This is a schematic diagram of the automatic identification device for the internal structural surfaces of a dam provided by the present invention, as shown below. Figure 6 As shown, the device includes an acquisition module 610, an identification module 620, an expansion module 630, and an integration module 640 connected in sequence.
[0097] The acquisition module 610 is used to determine the current element in the finite element mesh model of the dam; The identification module 620 is used to determine the node type and connection surface of each node in the current unit; the node type includes a first type of boundary node and a second type of boundary node; the first type of boundary node is a node located on the internal structural surface to be identified; the second type of boundary node is a node on the opposite side of the first type of boundary node in the unit; the connection surface is a surface in the unit that simultaneously contains two first type of boundary nodes and two second type of boundary nodes. The extension module 630 is used to determine the adjacent units that share the connection surface with the current unit based on the mesh topology relationship, determine the adjacent surface of the connection surface of the current unit in the adjacent units, determine the node type of the node of the adjacent surface based on the node type of the node of the connection surface of the current unit, update the adjacent unit to the new current unit, and determine the connection surface of the new current unit based on the node type of each node in the new current unit. The integration module 640 is used to locate all unit surfaces composed of the first type of boundary nodes and integrate them to form the internal structural surface to be identified.
[0098] The automatic identification device for internal structural surfaces of dams provided in this invention ensures full automation of the identification process by defining the node boundary types, greatly improving efficiency; it performs topology propagation based on the current connection surface to identify all connection surfaces and each unit constituting the structural surface, improving identification accuracy; by automatically completing structural surface identification and output, it solves the problem of low efficiency in manual processing, greatly improving processing efficiency, and realizing efficient and fully automatic identification of internal structural surfaces of dams, providing core technical support for structural analysis.
[0099] Figure 7 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 7As shown, the electronic device can include a processor 710, a communications interface 720, a memory 730 and a communications bus 740, wherein the processor 710, the communications interface 720 and the memory 730 complete the communication with each other through the communications bus 740. The processor 710 can invoke the logic command in the memory 730 to execute the method described in the above embodiments, for example: In the finite element grid model of the dam, a current element is determined; the node types of each node and a connecting surface in the current element are determined; the node types include first type boundary nodes and second type boundary nodes; the first type boundary nodes are nodes located on the internal structure surface to be identified; the second type boundary nodes are opposite nodes of the first type boundary nodes in the element; the connecting surface is a surface containing two first type boundary nodes and two second type boundary nodes in the element; adjacent elements sharing the connecting surface of the current element are determined based on the grid topological relationship, adjacent surfaces of the connecting surface of the current element in the adjacent elements are determined, the node types of the nodes of the adjacent surfaces are determined based on the node types of the nodes of the connecting surface of the current element, the adjacent elements are updated as new current elements, and the connecting surfaces of the new current elements are determined based on the node types of each node in the new current elements; all element surfaces composed of the first type boundary nodes are located, and are integrated to form the internal structure surface to be identified.
[0100] In addition, the logic command in the memory can be implemented in the form of a software function unit and sold or used as an independent product, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program code storage media.
[0101] The processor in the electronic device provided by the embodiments of the present application can invoke the logic command in the memory to implement the above method, and the specific implementation manners and the same beneficial effects as the foregoing method implementation manners are consistent, and will not be described here.
[0102] The embodiment of the present application further provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the method provided by the above embodiments.
[0103] The specific implementation manners are consistent with the above method embodiments, and the same beneficial effects can be achieved, and thus are not described herein.
[0104] The embodiment of the present application provides a computer program product, which comprises a computer program, and the computer program is executed by a processor to implement the above method.
[0105] The system embodiments described above are merely illustrative, wherein the units described as separated components may or may not be physically separated, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed on multiple network units. Some or all of the modules can be selected to achieve the purpose of the embodiment according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0106] Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software and necessary universal hardware platforms, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of software products, and the computer software products can be stored in a computer readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and include a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the method described in each embodiment or some parts of the embodiment.
[0107] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit them; although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the above embodiments, or make equivalent replacement to some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for automatically identifying internal structural surfaces of a dam, characterized in that, The method comprises the following steps: determining an initial element as a current element from the finite element mesh model based on predefined boundary control parameters; determining the node type and the connecting surface of each node in the current element; the node type comprises a first type of boundary node and a second type of boundary node; the first type of boundary node is a node located on an internal structure surface to be identified; the second type of boundary node is an auxiliary node used to jointly define a connecting surface element with the first type of boundary node; the connecting surface is an element surface containing two first type of boundary nodes and two second type of boundary nodes; determining an adjacent element sharing the connecting surface with the current element based on the mesh topology relationship, determining the adjacent surface of the connecting surface of the current element in the adjacent element, determining the node type of the nodes of the adjacent surface based on the node type of the nodes of the connecting surface of the current element, updating the adjacent element as a new current element, and determining the connecting surface of the new current element based on the node type of each node in the new current element; based on all the identified connecting surfaces, locating all the element surfaces composed of the first type of boundary nodes, and integrating to form the internal structure surface to be identified.
2. The method for automatic identification of dam internal structural surfaces according to claim 1, characterized in that, The method comprises the following steps: determining the first type of boundary node and the second type of boundary node in the nodes of the current element in the finite element mesh model based on predefined boundary control parameters; traversing each element surface of the current element, and determining the connecting surface if the node type of two nodes in any element surface is the first type of boundary node and the node type of the other two nodes is the second type of boundary node.
3. The method of claim 1, wherein, The method comprises the following steps: determining the adjacent surface of any connecting surface in the current element; if there is a node with undefined node type in the adjacent surface, assigning a corresponding node type to the node with undefined node type according to the node type of the nodes contained in the connecting surface.
4. The method of claim 3, wherein, The method comprises the following steps: determining the common edge of the any connecting surface and the adjacent surface; assigning the node type of the node on the common edge to the node in the adjacent surface directly connected through an element edge.
5. The method of claim 1, wherein, The method comprises the following steps: identifying all elements containing the connecting surface as connecting elements; filtering out all element surfaces composed of the first type of boundary nodes from all the connecting elements; integrating the set of all filtered element surfaces into the internal structure surface to be identified.
6. The method of claim 1, wherein, After obtaining the internal structure surface to be identified, the method further comprises the following steps: performing a rotation transformation on the node coordinates involved in the internal structure surface to be identified based on user-specified parameters, and generating mesh files in multiple formats.
7. An automatic dam internal structure surface identification device, characterized by, The method comprises the following steps: an acquisition module, configured to determine an initial element as a current element from the finite element mesh model based on predefined boundary control parameters; an identification module, configured to determine node types and connection surfaces of nodes in the current element; the node types include first-type boundary nodes and second-type boundary nodes; the first-type boundary nodes are nodes located on an internal structure surface to be identified; the second-type boundary nodes are auxiliary nodes used to jointly define a connection surface element with the first-type boundary nodes; the connection surface is an element surface containing two first-type boundary nodes and two second-type boundary nodes; an extension module, configured to determine adjacent elements of the current element sharing the connection surface based on a mesh topological relationship, determine adjacent surfaces of the connection surface of the current element in the adjacent elements, determine node types of nodes of the adjacent surfaces based on node types of nodes of the connection surface of the current element, update the adjacent elements as new current elements, and determine connection surfaces of the new current elements based on node types of nodes in the new current elements; an integration module, configured to locate all element surfaces composed of the first-type boundary nodes based on all identified connection surfaces, and integrate the element surfaces to form the internal structure surface to be identified.
8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and running on the processor, characterized in that, The processor executes the computer program to implement the method in any one of claims 1 to 6. 9.A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method in any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the method in any one of claims 1 to 6.