Method, System, Device and Medium for Reconstructing Unstructured Linear Hexahedral Mesh Elements
The method reconstructs non-structured linear hexahedral mesh elements by determining vertex relationships, allowing for rapid and accurate CFD simulations of complex geometries.
Patent Information
- Application Number
- CN202310810291.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-04
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2043-07-04
AI Technical Summary
The prior art cannot quickly restore the relationship between the non-structural linear hexahedral mesh element and its vertices, resulting in the inability to perform numerical simulation of computational fluid mechanics.
By obtaining the non-structural linear hexahedral mesh unit data of the target object, taking the reference unit boundary surface and determining the vertex assignment result, the non-structural hexahedral mesh unit is reconstructed based on the positional relationship, and the vertex relationship is restored to perform computational fluid mechanics simulation.
It realizes the rapid recovery of the vertex relationship of non-structural linear hexahedral mesh elements, supports the numerical simulation of the target object for calculating fluid mechanics, and provides functions such as mesh element body center calculation, volume calculation and multiple mesh fusion calculation.
Smart Images

Figure CN116663155B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of grid data processing in computational fluid dynamics. More specifically, it relates to a method, system, device, and medium for reconstructing unstructured linear hexahedral grid elements. Background Art
[0002] Unstructured grids have the advantages of high automation, short generation cycle, flexible distribution control, etc., and are often used to discretize the spatial regions of complex engineering shapes. They are widely used in computational fluid dynamics (CFD) of complex shapes. Currently, the vast majority of CFD numerical simulations use unstructured linear elements.
[0003] The CGNS (CFD General Notation System) format is a commonly used format output by unstructured grid software. The grid format of CGNS contains the relationship between cell bodies and points, as well as the coordinate values of points. An unstructured linear hexahedral grid element is composed of six faces and eight vertices. In the unstructured grid preprocessing file of the unstructured general flow field simulation software NNW-FlowStar, to reduce memory overhead, the relationship between the unstructured linear hexahedral grid cell body and its vertices is discarded, and only the relationship between the unstructured linear hexahedral element and its cell boundary faces, as well as the relationship between the cell boundary faces and the boundary face vertices, are retained.
[0004] However, the relationship between the unstructured linear hexahedral grid element and its vertices cannot be directly obtained from the known above relationships. It can only be known that the element is composed of these eight vertices, but the corresponding relationship and relative positions of the eight vertices cannot be obtained, that is, the unstructured linear hexahedral grid element cannot be restored, and thus the computational fluid dynamics numerical simulation of an aircraft composed of unstructured linear hexahedral grid elements cannot be carried out quickly.
[0005] In summary, how to quickly carry out the computational fluid dynamics numerical simulation of an aircraft composed of unstructured linear hexahedral grid elements is an urgent problem for those skilled in the art in the current field. Summary of the Invention
[0006] The purpose of this application is to provide a method for reconstructing unstructured linear hexahedral grid elements, which can, to a certain extent, solve the technical problem of how to quickly carry out the computational fluid dynamics numerical simulation of an aircraft composed of unstructured linear hexahedral grid elements. This application also provides a system, device, and computer-readable storage medium for reconstructing unstructured linear hexahedral grid elements.
[0007] To achieve the above purpose, this application provides the following technical solutions:
[0008] A method for reconstructing unstructured linear hexahedron mesh elements, comprising:
[0009] Obtain the target unstructured linear hexahedron mesh element data of the target object, where the target unstructured linear hexahedron mesh element data includes the boundary surface vertex information of each of the six element boundary surfaces;
[0010] Arbitrarily select one of the unit boundary surfaces as the reference unit boundary surface, and use the four boundary surface vertices of the reference unit boundary surface as the four reference boundary surface vertices;
[0011] According to the positional relationship between the eight vertices of the hexahedron mesh element, determine the target assignment results of each of the reference boundary surface vertices, and determine the target assignment results of the boundary surface vertices opposite to each of the reference boundary surface vertices;
[0012] According to the positional relationship, based on the target assignment results of the reference boundary surface vertices and the target unstructured linear hexahedron mesh element data, determine the estimated assignment results of the four target boundary surface vertices in the target unit boundary surface opposite to the reference unit boundary surface;
[0013] Based on the target assignment results of the boundary surface vertices opposite to the reference boundary surface vertices and the estimated assignment results, determine the positional correspondence relationship between the reference boundary surface vertices and the target boundary surface vertices, so as to complete the reconstruction of the target unstructured hexahedron mesh element based on the positional correspondence relationship, and thus perform computational fluid dynamics numerical simulation on the target object.
[0014] Preferably, the determining the target assignment results of each of the reference boundary surface vertices includes:
[0015] Determine the target assignment results of each of the reference boundary surface vertices;
[0016] Wherein, the sum of any two numbers other than the non-diagonal vertices in the target assignment results of the four reference boundary surface vertices is not equal to any of the target assignment results of the reference boundary surface vertices; in the target assignment results of any non-diagonal vertices of the four reference boundary surface vertices, the sum of twice one number and the other number is not equal to any of the target assignment results of the reference boundary surface vertices, and is not equal to the sum of any two non-diagonal vertices.
[0017] Preferably, the determining the target assignment results of the boundary surface vertices opposite to each of the reference boundary surface vertices includes:
[0018] For any of the benchmark boundary surface vertices, the sum of twice the target assignment result of the benchmark boundary surface vertex and the target assignment result of the adjacent boundary surface vertex is used as the target assignment result of the boundary surface vertex opposite to the benchmark boundary surface vertex, where the adjacent boundary surface vertices include the boundary surface vertices collinear with the benchmark boundary surface vertex in the benchmark unit boundary surface.
[0019] Preferably, determining the estimated assignment results of the four target boundary surface vertices in the target unit boundary surface opposite to the benchmark unit boundary surface includes:
[0020] Initializing the estimated assignment results of the four target boundary surface vertices to zero;
[0021] Taking the unit boundary surface having the same boundary surface vertex as the benchmark unit boundary surface as the unit boundary surface to be processed;
[0022] Traversing each of the unit boundary surfaces to be processed in sequence. During each traversal, for the target boundary surface vertices in the unit boundary surface to be processed, the sum of the target assignment result of the same boundary surface vertex and the estimated assignment result of the target boundary surface vertex is used as the updated estimated assignment result of the target boundary surface vertex.
[0023] Preferably, based on the target assignment result and the estimated assignment result of the boundary surface vertex opposite to the benchmark boundary surface vertex, determining the position correspondence between the benchmark boundary surface vertex and the target boundary surface vertex includes:
[0024] Taking the target boundary surface vertex corresponding to the estimated assignment result with the same target assignment result as the boundary surface vertex opposite to the benchmark boundary surface vertex as the boundary surface vertex opposite to the benchmark boundary surface vertex, and establishing the position correspondence.
[0025] Preferably, after determining the position correspondence between the benchmark boundary surface vertex and the target boundary surface vertex, it further includes:
[0026] Based on the position correspondence, uniformly numbering the benchmark boundary surface vertex and the target boundary surface vertex according to the vertex numbering rule of the hexahedral mesh element.
[0027] Preferably, obtaining the target unstructured linear hexahedral mesh element data of the target object includes:
[0028] Reading in the target unstructured linear hexahedral mesh element data of the target object stored in the NNW-FlowStar software.
[0029] An unstructured linear hexahedral mesh element reconstruction system includes:
[0030] A first acquisition module, configured to acquire target unstructured linear hexahedral mesh cell data of a target object, where the target unstructured linear hexahedral mesh cell data includes boundary face vertex information of each of six cell boundary faces;
[0031] A first processing module, configured to arbitrarily select one of the cell boundary faces as a reference cell boundary face, and use four boundary face vertices of the reference cell boundary face as four reference boundary face vertices;
[0032] A first determination module, configured to determine a target assignment result of each of the reference boundary face vertices according to the positional relationship between eight vertices of the hexahedral mesh cell, and determine a target assignment result of a boundary face vertex opposite to each of the reference boundary face vertices;
[0033] A second determination module, configured to determine an estimated assignment result of four target boundary face vertices in a target cell boundary face opposite to the reference cell boundary face based on the target assignment result of the reference boundary face vertices and the target unstructured linear hexahedral mesh cell data according to the positional relationship;
[0034] A third determination module, configured to determine the positional correspondence relationship between the reference boundary face vertices and the target boundary face vertices based on the target assignment result of the boundary face vertex opposite to the reference boundary face vertex and the estimated assignment result, so as to complete the reconstruction of the target unstructured hexahedral mesh cell based on the positional correspondence relationship, thereby performing computational fluid dynamics numerical simulation on the target object.
[0035] An unstructured linear hexahedral mesh cell reconstruction device, comprising:
[0036] A memory, configured to store a computer program;
[0037] A processor, configured to implement the steps of any one of the above unstructured linear hexahedral mesh cell reconstruction methods when executing the computer program.
[0038] A computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above unstructured linear hexahedral mesh cell reconstruction methods are implemented.
[0039] A method for reconstructing an unstructured linear hexahedral mesh element provided by the present application obtains the target unstructured linear hexahedral mesh element data of the target object. The target unstructured linear hexahedral mesh element data includes the boundary surface vertex information of each of the six unit boundary surfaces. Arbitrarily select a unit boundary surface as the reference unit boundary surface, and use the four boundary surface vertices of the reference unit boundary surface as the four reference boundary surface vertices. According to the positional relationship between the eight vertices of the hexahedral mesh element, determine the target assignment results of each reference boundary surface vertex, and determine the target assignment results of the boundary surface vertices opposite to each reference boundary surface vertex. According to the positional relationship, based on the target assignment results of the reference boundary surface vertices and the target unstructured linear hexahedral mesh element data, determine the estimated assignment results of the four target boundary surface vertices in the target unit boundary surface opposite to the reference unit boundary surface. Based on the target assignment results and the estimated assignment results of the boundary surface vertices opposite to the reference boundary surface vertices, determine the positional correspondence relationship between the reference boundary surface vertices and the target boundary surface vertices, so as to complete the reconstruction of the target unstructured hexahedral mesh element based on the positional correspondence relationship, and thus perform computational fluid dynamics numerical simulation on the target object. The present application assigns values to the target unstructured linear hexahedral mesh element according to the positional relationship between the eight vertices of the hexahedral mesh element, and determines the positional relationship between the eight vertices in the target unstructured linear hexahedral mesh element according to the target assignment results and the estimated assignment results, realizing the reconstruction of the target unstructured linear hexahedral mesh element, and then can quickly perform computational fluid dynamics numerical simulation on the target object. An unstructured linear hexahedral mesh element reconstruction system, device and computer-readable storage medium provided by the present application also solve the corresponding technical problems. Description of the Drawings
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained according to the provided drawings without creative efforts.
[0041] Figure 1 It is the first flow chart of a method for reconstructing an unstructured linear hexahedral mesh element provided by an embodiment of the present application;
[0042] Figure 2 It is the second flow chart of a method for reconstructing an unstructured linear hexahedral mesh element provided by an embodiment of the present application;
[0043] Figure 3 It is a schematic diagram of the mesh on the wing surface and the symmetry plane;
[0044] Figure 4Schematic diagram of a spatial unstructured linear hexahedral mesh element for a Y-section such as a wing;
[0045] Figure 5 Schematic diagram of an unstructured hexahedral mesh element;
[0046] Figure 6 Schematic diagram of the first face of an unstructured hexahedral mesh element;
[0047] Figure 7 Schematic diagram of the vertices of the four reference side faces of an unstructured hexahedral mesh element;
[0048] Figure 8 Schematic diagram of the second element side face of an unstructured linear hexahedral element;
[0049] Figure 9 Schematic diagram of the sixth element side face of an unstructured linear hexahedral element;
[0050] Figure 10 Position relationship of the eight vertices of the unstructured hexahedral mesh element of the finally obtained wing;
[0051] Figure 11 Schematic diagram of the simulation of the surface pressure coefficient distribution of the wing;
[0052] Figure 12 Schematic diagram of the structure of an unstructured linear hexahedral mesh element reconstruction system provided by an embodiment of the present application;
[0053] Figure 13 Schematic diagram of the structure of an unstructured linear hexahedral mesh element reconstruction device provided by an embodiment of the present application;
[0054] Figure 14 Another schematic diagram of the structure of an unstructured linear hexahedral mesh element reconstruction device provided by an embodiment of the present application. Detailed implementation manners
[0055] Next, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the accompanying 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. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0056] Please refer to Figure 1 , Figure 1 which is the first flowchart of an unstructured linear hexahedral mesh element reconstruction method provided by an embodiment of the present application.
[0057] A method for reconstructing unstructured linear hexahedron mesh elements provided by an embodiment of the present application may include the following steps:
[0058] Step S101: Obtain the target unstructured linear hexahedron mesh element data of the target object. The target unstructured linear hexahedron mesh element data includes the boundary surface vertex information of each of the six unit boundary surfaces.
[0059] In practical applications, the target unstructured linear hexahedron mesh element data of the target object can be obtained first. The target object may include objects such as missiles, airplanes, unmanned aerial vehicles, and automobiles. The present application does not make specific limitations here. And the target unstructured linear hexahedron mesh element data includes the boundary surface vertex information of each of the six unit boundary surfaces. Specifically, it may include the relationship between the unstructured linear hexahedron mesh element and its quadrilateral surface element, the relationship between the quadrilateral surface element and the linear point, etc. And the linear point may be the numbered value after the vertices are uniformly numbered, etc.
[0060] In a specific application scenario, during the process of obtaining the target unstructured linear hexahedron mesh element data of the target object, the target unstructured linear hexahedron mesh element data stored in the NNW-FlowStar software can be directly read in.
[0061] Step S102: Arbitrarily select a unit boundary surface as the reference unit boundary surface, and use the four boundary surface vertices of the reference unit boundary surface as the four reference boundary surface vertices.
[0062] In practical applications, after obtaining the target unstructured linear hexahedron mesh element data of the target object, a unit boundary surface can be arbitrarily selected as the reference unit boundary surface, and the four boundary surface vertices of the reference unit boundary surface can be used as the four reference boundary surface vertices, so as to determine the position correspondence relationship between the vertices of the unstructured linear hexahedron mesh element based on the reference unit boundary surface and the reference boundary surface vertices later.
[0063] Step S103: Determine the target assignment results of each reference boundary surface vertex according to the position relationship between the eight vertices of the hexahedron mesh element, and determine the target assignment results of the boundary surface vertices opposite to each reference boundary surface vertex.
[0064] In practical applications, after determining the boundary surface of the reference unit and the vertices of the reference boundary surface, the target assignment results of the vertices of each reference boundary surface can be determined according to the positional relationship between the eight vertices of the hexahedral mesh element, and the target assignment results of the boundary surface vertices opposite to the vertices of each reference boundary surface can be determined. Assuming that the target assignment results of the four reference boundary surface vertices are N0, N1, N2, and N3 respectively, the target assignment results of the opposite boundary surface vertices are 2*N0 + N1 + N3, 2*N1 + N0 + N2, 2*N2 + N1 + N3, and 2*N3 + N0 + N2 respectively.
[0065] Step S104: According to the positional relationship, based on the target assignment results of the vertices of the reference boundary surface and the target unstructured linear hexahedral mesh element data, determine the estimated assignment results of the four target boundary surface vertices in the target unit boundary surface opposite to the reference unit boundary surface.
[0066] In practical applications, after determining the target assignment results of the vertices of each reference boundary surface and the target assignment results of the boundary surface vertices opposite to the vertices of each reference boundary surface, since the correspondence between the vertices in the target unstructured linear hexahedral mesh element data is not known, the estimated assignment results of the four target boundary surface vertices in the target unit boundary surface opposite to the reference unit boundary surface can only be determined according to this positional relationship, based on the target assignment results of the vertices of the reference boundary surface and the target unstructured linear hexahedral mesh element data, so as to determine the positional correspondence between the reference boundary surface vertices and the target boundary surface vertices based on the estimated assignment results later.
[0067] Step S105: Based on the target assignment results and the estimated assignment results of the boundary surface vertices opposite to the reference boundary surface vertices, determine the positional correspondence between the reference boundary surface vertices and the target boundary surface vertices, so as to complete the reconstruction of the target unstructured hexahedral mesh element based on the positional correspondence, and thus perform computational fluid dynamics numerical simulation on the target object.
[0068] In practical applications, after determining the estimated assignment results of the four target boundary surface vertices in the target unit boundary surface opposite to the reference unit boundary surface, since the target assignment results of the boundary surface vertices opposite to the vertices of each reference boundary surface are already known, the target boundary surface vertex whose estimated assignment result is equal to the target assignment result of the boundary surface vertex opposite to the reference boundary surface vertex is the opposite vertex of the reference boundary surface vertex, and then the positional correspondence between the reference boundary surface vertices and the target boundary surface vertices can be established.
[0069] In a specific application scenario, after determining the position correspondence between the vertices of the reference boundary surface and the vertices of the target boundary surface, the vertices of the reference boundary surface and the vertices of the target boundary surface can be uniformly numbered based on this position correspondence according to the vertex numbering rule of hexahedral mesh elements. For example, the relationship between an unstructured linear hexahedral element and its cell boundary surfaces is represented by C2F[element number][0 - 5], where 0 - 5 represent the six cell boundary surfaces respectively. The relationship between a cell boundary surface and its boundary surface vertices is represented by F2N[face number][0 - 3], where 0 - 3 represent the four vertices respectively. Then, the geometric relationship between an unstructured linear hexahedral mesh element and its corresponding eight vertices can be represented by C2N[element number][0 - 7], where 0 - 7 represent the eight vertices respectively, and the opposite vertices of vertices 0, 1, 2, and 3 are vertices 4, 5, 6, and 7 respectively, so as to facilitate and accurately store the position correspondence between the eight vertices of the unstructured linear hexahedral mesh element by means of this numbering.
[0070] It should be noted that after obtaining the position correspondence between the vertices of the reference boundary surface and the vertices of the target boundary surface, the reconstruction of the target unstructured hexahedral mesh element can be completed based on this position correspondence, so as to provide geometric input for the calculation of the cell centroid, volume calculation, multi-grid fusion calculation, and the calculation of the gradients of density, pressure, and velocity of unstructured linear hexahedral elements in the computational fluid dynamics numerical simulation of the target object, so as to realize the computational fluid dynamics numerical simulation of the target object.
[0071] A method for reconstructing unstructured linear hexahedral mesh elements provided by this application obtains the target unstructured linear hexahedral mesh element data of the target object. The target unstructured linear hexahedral mesh element data includes the boundary surface vertex information of each of the six element boundary surfaces; arbitrarily select one unit boundary surface as the reference unit boundary surface, and use the four boundary surface vertices of the reference unit boundary surface as the four reference boundary surface vertices; according to the positional relationship between the eight vertices of the hexahedral mesh element, determine the target assignment results of each reference boundary surface vertex, and determine the target assignment results of the boundary surface vertices opposite to each reference boundary surface vertex; according to the positional relationship, based on the target assignment results of the reference boundary surface vertices and the target unstructured linear hexahedral mesh element data, determine the estimated assignment results of the four target boundary surface vertices in the target unit boundary surface opposite to the reference unit boundary surface; based on the target assignment results and the estimated assignment results of the boundary surface vertices opposite to the reference boundary surface vertices, determine the positional correspondence relationship between the reference boundary surface vertices and the target boundary surface vertices, so as to complete the reconstruction of the target unstructured hexahedral mesh element based on the positional correspondence relationship, thereby performing computational fluid dynamics numerical simulation on the target object. This application assigns values to the target unstructured linear hexahedral mesh element according to the positional relationship between the eight vertices of the hexahedral mesh element, and determines the positional relationship between the eight vertices in the target unstructured linear hexahedral mesh element according to the target assignment results and the estimated assignment results, realizing the reconstruction of the target unstructured linear hexahedral mesh element, and then can quickly perform computational fluid dynamics numerical simulation on the target object.
[0072] Please refer to Figure 2 , Figure 2 which is the second flowchart of a method for reconstructing unstructured linear hexahedral mesh elements provided by an embodiment of this application.
[0073] A method for reconstructing unstructured linear hexahedral mesh elements provided by an embodiment of this application may include the following steps:
[0074] Step S201: Obtain the target unstructured linear hexahedral mesh element data of the target object. The target unstructured linear hexahedral mesh element data includes the boundary surface vertex information of each of the six element boundary surfaces.
[0075] To facilitate understanding of the solution of this application, assume that the target object is an aircraft wing, the calculated Mach number is Ma = 0.6, the calculated temperature T = 288.15 K, the calculated static pressure P = 101325 Pa, the calculated oncoming flow angle of attack and sideslip angle are both 0°, and the calculated mesh is as Figure 3 and Figure 4As shown, the grid is entirely composed of unstructured linear hexahedral mesh elements. Assume that the unstructured linear hexahedral element i, numbered i, is composed of six faces, and the numbers of the six faces are face1, face2, face3, face4, face5, and face6 respectively. As Figure 5 shown, where each of face1, face2, face3, face4, face5, and face6 is a distinct number. Each face is composed of four points, and the specific relationships are shown in Table 1. The relationship between the unstructured linear hexahedral mesh element and its vertices cannot be directly obtained from the known relationships between the unstructured linear hexahedral mesh element and its quadrilateral face elements, and between the quadrilateral face elements and the linear points. Only that the element is composed of these eight vertices is known, and the relative positions of the six faces are also unknown. However, the corresponding positions of the eight vertices and the relative positions of the faces need to be obtained through reconstruction calculations.
[0076] Table 1 Information Table of the Edge Face Vertices of Each Quadrilateral Edge Face
[0077]
[0078] Step S202: Arbitrarily select an element edge face as the reference element edge face, and use the four edge face vertices of the reference element edge face as the four reference edge face vertices.
[0079] In practical applications, based on the above wing embodiment, assume that according to the relationship C2F[element number][0 - 6] between the unstructured linear hexahedral element and the element edge face, the first face of element i is obtained: C2F[i][0]. Assume face2 = C2F[i][0]. As Figure 6 shown, that is, take face2 as the reference element edge face. At this time, the vertices F2N[face2][0 - 4] corresponding to face2 can be set as the four reference edge face vertices C2N[i][0 - 3] corresponding to the unstructured linear hexahedral element, that is, C2N[i][0] = F2N[face2][0] = 2, C2N[i][1] = F2N[face2][1] = 2050, C2N[i][2] = F2N[face2][2] = 2207, C2N[i][3] = F2N[face2][3] = 159. As Figure 7 shown.
[0080] Step S203: Determine the target assignment results of the vertices of each reference boundary surface according to the positional relationships among the eight vertices of the hexahedron mesh elements. For any vertex of a reference boundary surface, take the sum of twice the target assignment result of the vertex of the reference boundary surface and the target assignment results of the adjacent boundary surface vertices as the target assignment result of the boundary surface vertex opposite to the vertex of the reference boundary surface, where the adjacent boundary surface vertices include the boundary surface vertices collinear with the vertex of the reference boundary surface in the reference unit boundary surface.
[0081] In practical applications, during the process of determining the target assignment results of the vertices of each reference boundary surface, to ensure that the positional relationships among the eight vertices can be determined using the target assignment results, the target assignment results of the vertices of each reference boundary surface can be determined. Among them, the sum of any two numbers other than the non - diagonal vertices in the target assignment results of the four vertices of the reference boundary surface is not equal to any of the target assignment results of the vertices of the reference boundary surface; the sum of twice one number and the other number among any two non - diagonal vertices in the target assignment results of the four vertices of the reference boundary surface is not equal to any of the target assignment results of the vertices of the reference boundary surface and is not equal to the sum of any two non - diagonal vertices.
[0082] In specific application scenarios, during the process of determining the target assignment results of the boundary surface vertices opposite to the vertices of each reference boundary surface, for any vertex of a reference boundary surface, take the sum of twice the target assignment result of the vertex of the reference boundary surface and the target assignment results of the adjacent boundary surface vertices as the target assignment result of the boundary surface vertex opposite to the vertex of the reference boundary surface, where the adjacent boundary surface vertices include the boundary surface vertices collinear with the vertex of the reference boundary surface in the reference unit boundary surface.
[0083] For easy understanding, establish a set of point - marking data Nmark[0 - 7] to mark each vertex of the non - structured linear hexahedron element. Define Nmark[0]=N0, Nmark[1]=N1, Nmark[2]=N2, Nmark[3]=N3. Then the target assignment results of the four vertices of the reference boundary surface are N0, N1, N2, N3 respectively, and the target assignment results of the boundary surface vertices opposite to them are 2*N0 + N1+N3, 2*N1 + N0+N2, 2*N2 + N1+N3, 2*N3 + N0+N2 respectively.
[0084] Step S204: According to the positional relationship, based on the target assignment result of the boundary surface of the reference unit and the target non-structured linear hexahedron mesh unit data, initialize the estimated assignment results of the four target boundary surface vertices to zero; regard the unit boundary surface that has the same boundary surface vertices as the boundary surface of the reference unit as the to-be-processed unit boundary surface; traverse each to-be-processed unit boundary surface in turn. During each traversal, for the target boundary surface vertices in the to-be-processed unit boundary surface, use the sum of the target assignment result of the same boundary surface vertex and the estimated assignment result of the target boundary surface vertex as the updated estimated assignment result of the target boundary surface vertex.
[0085] In practical applications, during the process of determining the estimated assignment results of the four target boundary surface vertices of the target unit boundary surface at the opposite end of the boundary surface of the reference unit, the estimated assignment results of the four target boundary surface vertices can be initialized to zero; regard the unit boundary surface that has the same boundary surface vertices as the boundary surface of the reference unit as the to-be-processed unit boundary surface; traverse each to-be-processed unit boundary surface in turn. During each traversal, for the target boundary surface vertices in the to-be-processed unit boundary surface, use the sum of the target assignment result of the same boundary surface vertex and the estimated assignment result of the target boundary surface vertex as the updated estimated assignment result of the target boundary surface vertex.
[0086] Still taking the above wing as an example, mark the Nmark values of the last four vertices of the non-structured linear hexahedron element. First, assign the Nmark values of the last four vertices, that is, the estimated assignment results, to zero, namely Nmark[4]=0, Nmark[5]=0, Nmark[6]=0, Nmark[7]=0. Then, sequentially obtain the remaining five unit boundary surfaces of the non-structured linear hexahedron element. Among the remaining five unit boundary surfaces of the non-structured linear hexahedron element, there must be one surface whose four points are completely different from the vertices of the first unit boundary surface of the non-structured linear hexahedron element, and the other four unit boundary surfaces have the same two vertices as the first unit boundary surface of the non-structured linear hexahedron element. Suppose the second unit boundary surface of the non-structured linear hexahedron element C2F[i][1]= face6, and the four vertex numbers of face6 are (69, 159, 2207, 2113) in sequence, as Figure 8At this time, two vertex numbers of face6 are the same as those of the first unit boundary face. Add the Nmark value of the vertex in face6 that is different from the vertex of the first unit boundary face to the sum of the Nmark values of the two vertices in face6 that are the same as the vertices of the first unit boundary face, and then obtain the new Nmark value of these two vertices, that is, Nmark[4] = Nmark[4]+ ( Nmark[3] + Nmark[2])=Nmark[4] + ( N3 + N2). At this time, Nmark[2] corresponds to the vertex 2207, and Nmark[3] corresponds to the vertex 159. Perform such operations on the remaining five unit boundary faces of the non-structured linear hexahedron element to obtain the Nmark values of the last four vertices of the non-structured linear hexahedron element. Then, sequentially obtain the remaining five unit boundary faces of the non-structured linear hexahedron element. If the vertex numbers of a certain unit boundary face are completely different from those of the first unit boundary face, it is defined as the sixth unit boundary face, that is, it is defined as the target unit boundary face, here it is face4, as Figure 9 shown.
[0087] Step S205: Use the target boundary face vertices corresponding to the estimated assignment results with the same target assignment results as the boundary face vertices opposite to the reference boundary face vertices as the boundary face vertices opposite to the reference boundary face vertices, and establish a position correspondence relationship to complete the reconstruction of the target non-structured hexahedron mesh element based on the position correspondence relationship, so as to perform computational fluid dynamics numerical simulation on the target object.
[0088] In practical applications, in the process of determining the position correspondence relationship between the reference boundary face vertices and the target boundary face vertices based on the target assignment results and the estimated assignment results of the boundary face vertices opposite to the reference boundary face vertices, the target boundary face vertices corresponding to the estimated assignment results with the same target assignment results as the boundary face vertices opposite to the reference boundary face vertices can be used as the boundary face vertices opposite to the reference boundary face vertices, and a position correspondence relationship is established.
[0089] Taking the above wing as an example, determine the last four vertices corresponding to the unstructured linear hexahedron element, namely C2N[i][4-7]. In this process, successively obtain the four vertices F2N[face4][0-3] of the sixth face face4 of the unstructured linear hexahedron element, and determine the numbers of the last four vertices of the corresponding unstructured linear hexahedron element according to the Nmark values of each vertex. Since the Nmark values of the four vertices can only be the following four values: 2*N0+N1+N3, 2*N1+N0+N2, 2*N2+N1+N3, 2*N3+N0+N2, the Nmrk value corresponding to the fifth vertex of the unstructured linear hexahedron element is: 2*N0+N1+N3, and C2N[I][4] is equal to the number of this vertex; the Nmrk value corresponding to the sixth vertex of the unstructured linear hexahedron element is: 2*N1+N0+N2, and C2N[I][5] is equal to the number of this vertex; the Nmrk value corresponding to the seventh vertex of the unstructured linear hexahedron element is: 2*N2+N1+N3, and C2N[I][6] is equal to the number of this vertex; the Nmrk value corresponding to the eighth vertex of the unstructured linear hexahedron element is: 2*N3+N0+N2, and C2N[I][7] is equal to the number of this vertex; for the current i element, C2N[i][4]= 1, C2N[i][5]=2049, C2N[i][6]= 2113, C2N[i][7]= 65. The positional relationship of the eight vertices of the unstructured hexahedral mesh element of the wing finally obtained is as Figure 10 shown. After that, information such as the centroid coordinates and volume of the unstructured linear hexahedron element can be further calculated, and CFD simulation can be carried out to obtain the external flow field of the simple wing under this calculation condition, as Figure 11 shown.
[0090] Please refer to Figure 12 Figure 12 which is a schematic structural diagram of an unstructured linear hexahedron mesh element reconstruction system provided by an embodiment of the present application.
[0091] An unstructured linear hexahedron mesh element reconstruction system provided by an embodiment of the present application may include:
[0092] A first acquisition module 101, configured to acquire target unstructured linear hexahedron mesh element data of a target object, where the target unstructured linear hexahedron mesh element data includes the boundary face vertex information of each of the six element boundary faces;
[0093] A first processing module 102, configured to arbitrarily take one unit boundary face as a reference unit boundary face, and use the four boundary face vertices of the reference unit boundary face as four reference boundary face vertices;
[0094] The first determination module 103 is configured to determine the target assignment results of the vertices of each reference boundary surface according to the positional relationships among the eight vertices of the hexahedral mesh elements, and determine the target assignment results of the vertices of the boundary surfaces opposite to the vertices of each reference boundary surface;
[0095] The second determination module 104 is configured to determine the estimated assignment results of the four target boundary surface vertices in the target cell boundary surface opposite to the reference cell boundary surface based on the target assignment results of the reference boundary surface vertices and the target unstructured linear hexahedral mesh element data according to the positional relationships;
[0096] The third determination module 105 is configured to determine the positional correspondence relationships between the reference boundary surface vertices and the target boundary surface vertices based on the target assignment results and the estimated assignment results of the vertices of the boundary surfaces opposite to the reference boundary surface vertices, so as to complete the reconstruction of the target unstructured hexahedral mesh elements based on the positional correspondence relationships, thereby performing computational fluid dynamics numerical simulation on the target object.
[0097] For a non-structured linear hexahedral mesh element reconstruction system provided by an embodiment of the present application, the first determination module may include:
[0098] The first determination unit is configured to determine the target assignment results of the vertices of each reference boundary surface;
[0099] Among them, the sum of any two numbers other than the non-diagonal vertices in the target assignment results of the four reference boundary surface vertices is not equal to any of the target assignment results of the reference boundary surface vertices; the sum of twice one number and the other number among any two non-diagonal vertices in the target assignment results of the four reference boundary surface vertices is not equal to any of the target assignment results of the reference boundary surface vertices, and is not equal to the sum of any two non-diagonal vertices.
[0100] For a non-structured linear hexahedral mesh element reconstruction system provided by an embodiment of the present application, the first determination module may include:
[0101] The second determination unit is configured to, for any reference boundary surface vertex, use the sum of twice the target assignment result of the reference boundary surface vertex and the target assignment result of the adjacent boundary surface vertex as the target assignment result of the vertex of the boundary surface opposite to the reference boundary surface vertex, where the adjacent boundary surface vertex includes the boundary surface vertex collinear with the reference boundary surface vertex in the reference cell boundary surface.
[0102] For a non-structured linear hexahedral mesh element reconstruction system provided by an embodiment of the present application, the second determination module may include:
[0103] A third determination unit is configured to initialize the estimated assignment results of the four target boundary surface vertices to zero; use the unit boundary surface having the same boundary surface vertices as the reference unit boundary surface as the to-be-processed unit boundary surface; traverse each to-be-processed unit boundary surface in sequence. During each traversal, for the target boundary surface vertices in the to-be-processed unit boundary surface, use the sum of the target assignment results of the same boundary surface vertices and the estimated assignment results of the target boundary surface vertices as the updated estimated assignment results of the target boundary surface vertices.
[0104] A non-structured linear hexahedron mesh element reconstruction system provided by an embodiment of the present application, the third determination module may include:
[0105] A fourth determination unit is configured to use the target boundary surface vertices corresponding to the estimated assignment results with the same target assignment results as the boundary surface vertices opposite to the reference boundary surface vertices as the boundary surface vertices opposite to the reference boundary surface vertices, and establish a position correspondence relationship.
[0106] A non-structured linear hexahedron mesh element reconstruction system provided by an embodiment of the present application may further include:
[0107] A first numbering module is configured to, after the third determination module determines the position correspondence relationship between the reference boundary surface vertices and the target boundary surface vertices, based on the position correspondence relationship, uniformly number the reference boundary surface vertices and the target boundary surface vertices according to the vertex numbering rule of the hexahedron mesh element.
[0108] A non-structured linear hexahedron mesh element reconstruction system provided by an embodiment of the present application, the first acquisition module may include:
[0109] A first reading unit is configured to read the target non-structured linear hexahedron mesh element data of the target object stored in the NNW-FlowStar software.
[0110] The present application also provides a non-structured linear hexahedron mesh element reconstruction device and a computer-readable storage medium, both of which have the corresponding effects of a non-structured linear hexahedron mesh element reconstruction method provided by an embodiment of the present application. Please refer to Figure 13 , Figure 13 which is a schematic structural diagram of a non-structured linear hexahedron mesh element reconstruction device provided by an embodiment of the present application.
[0111] A non-structured linear hexahedron mesh element reconstruction device provided by an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the following steps are implemented:
[0112] Obtain the target unstructured linear hexahedral mesh cell data of the target object, where the target unstructured linear hexahedral mesh cell data includes the boundary surface vertex information of each of the six cell boundary surfaces;
[0113] Arbitrarily select one cell boundary surface as the reference cell boundary surface, and use the four boundary surface vertices of the reference cell boundary surface as the four reference boundary surface vertices;
[0114] According to the positional relationship between the eight vertices of the hexahedral mesh cell, determine the target assignment results of each reference boundary surface vertex, and determine the target assignment results of the boundary surface vertices opposite to each reference boundary surface vertex;
[0115] According to the positional relationship, based on the target assignment results of the reference boundary surface vertices and the target unstructured linear hexahedral mesh cell data, determine the estimated assignment results of the four target boundary surface vertices in the target cell boundary surface opposite to the reference cell boundary surface;
[0116] Based on the target assignment results and the estimated assignment results of the boundary surface vertices opposite to the reference boundary surface vertices, determine the positional correspondence relationship between the reference boundary surface vertices and the target boundary surface vertices, so as to complete the reconstruction of the target unstructured hexahedral mesh cell based on the positional correspondence relationship, thereby performing computational fluid dynamics numerical simulation on the target object.
[0117] An unstructured linear hexahedral mesh cell reconstruction device provided by an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the following steps are implemented: determine the target assignment results of each reference boundary surface vertex; among them, the sum of any two numbers other than the non-diagonal vertices in the target assignment results of the four reference boundary surface vertices is not equal to any of the target assignment results of the reference boundary surface vertices; in the target assignment results of the four reference boundary surface vertices, the sum of twice one number and the other number of any two non-diagonal vertices is not equal to any of the target assignment results of the reference boundary surface vertices, and is not equal to the sum of any two non-diagonal vertices.
[0118] An unstructured linear hexahedral mesh cell reconstruction device provided by an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the following steps are implemented: for any reference boundary surface vertex, use the sum of twice the target assignment result of the reference boundary surface vertex and the target assignment result of the adjacent boundary surface vertex as the target assignment result of the boundary surface vertex opposite to the reference boundary surface vertex, where the adjacent boundary surface vertex includes the boundary surface vertex collinear with the reference boundary surface vertex in the reference cell boundary surface.
[0119] A non-structured linear hexahedral mesh element reconstruction device provided by an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the following steps are implemented: Initialize the estimated assignment results of the four target boundary surface vertices to zero; Use the unit boundary surface having the same boundary surface vertices as the reference unit boundary surface as the to-be-processed unit boundary surface; Traverse each to-be-processed unit boundary surface in sequence. During each traversal, for the target boundary surface vertices in the to-be-processed unit boundary surface, use the sum of the target assignment results of the same boundary surface vertices and the estimated assignment results of the target boundary surface vertices as the updated estimated assignment result of the target boundary surface vertices.
[0120] A non-structured linear hexahedral mesh element reconstruction device provided by an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the following steps are implemented: Use the target boundary surface vertices corresponding to the estimated assignment results with the same target assignment results as the boundary surface vertices at the opposite ends of the reference boundary surface vertices as the boundary surface vertices at the opposite ends of the reference boundary surface vertices, and establish a position correspondence relationship.
[0121] A non-structured linear hexahedral mesh element reconstruction device provided by an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the following steps are implemented: After determining the position correspondence relationship between the reference boundary surface vertices and the target boundary surface vertices, based on the position correspondence relationship, uniformly number the reference boundary surface vertices and the target boundary surface vertices according to the vertex numbering rule of the hexahedral mesh element.
[0122] A non-structured linear hexahedral mesh element reconstruction device provided by an embodiment of the present application includes a memory 201 and a processor 202. A computer program is stored in the memory 201. When the processor 202 executes the computer program, the following steps are implemented: Read in the target non-structured linear hexahedral mesh element data of the target object stored in the NNW-FlowStar software.
[0123] Please refer to Figure 14, another non-structured linear hexahedral mesh element reconstruction device provided by an embodiment of the present application may further include: an input port 203 connected to the processor 202 for transmitting commands input from the outside to the processor 202; a display unit 204 connected to the processor 202 for displaying the processing result of the processor 202 to the outside; a communication module 205 connected to the processor 202 for implementing communication between the non-structured linear hexahedral mesh element reconstruction device and the outside. The display unit 204 may be a display panel, a laser scanning display, etc.; the communication methods adopted by the communication module 205 include but are not limited to Mobile High-Definition Link technology (HML), Universal Serial Bus (USB), High-Definition Multimedia Interface (HDMI), wireless connections: Wi-Fi technology, Bluetooth communication technology, Low Energy Bluetooth communication technology, communication technology based on IEEE802.11s.
[0124] A computer-readable storage medium provided by an embodiment of the present application stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0125] Obtain the target non-structured linear hexahedral mesh element data of the target object, where the target non-structured linear hexahedral mesh element data includes the boundary surface vertex information of each of the six unit boundary surfaces;
[0126] Arbitrarily select a unit boundary surface as the reference unit boundary surface, and use the four boundary surface vertices of the reference unit boundary surface as the four reference boundary surface vertices;
[0127] According to the positional relationship between the eight vertices of the hexahedral mesh element, determine the target assignment results of each reference boundary surface vertex, and determine the target assignment results of the boundary surface vertices opposite to each reference boundary surface vertex;
[0128] According to the positional relationship, based on the target assignment results of the reference boundary surface vertices and the target non-structured linear hexahedral mesh element data, determine the estimated assignment results of the four target boundary surface vertices in the target unit boundary surface opposite to the reference unit boundary surface;
[0129] Based on the target assignment results and the estimated assignment results of the boundary surface vertices opposite to the reference boundary surface vertices, determine the positional correspondence relationship between the reference boundary surface vertices and the target boundary surface vertices, so as to complete the reconstruction of the target non-structured hexahedral mesh element based on the positional correspondence relationship, and thus perform computational fluid dynamics numerical simulation on the target object.
[0130] A computer-readable storage medium provided by an embodiment of the present application stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: determining target assignment results of respective reference boundary surface vertices; wherein, for any two numbers other than non-diagonal vertices among the target assignment results of the four reference boundary surface vertices, their sum is not equal to any of the target assignment results of the reference boundary surface vertices; for any non-diagonal vertex among the target assignment results of the four reference boundary surface vertices, the sum of twice one number and the other number is not equal to any of the target assignment results of the reference boundary surface vertices, and is not equal to the sum of any two non-diagonal vertices.
[0131] A computer-readable storage medium provided by an embodiment of the present application stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: for any reference boundary surface vertex, taking the sum of twice the target assignment result of the reference boundary surface vertex and the target assignment result of an adjacent boundary surface vertex as the target assignment result of the boundary surface vertex opposite to the reference boundary surface vertex, wherein the adjacent boundary surface vertex includes a boundary surface vertex collinear with the reference boundary surface vertex in the reference unit boundary surface.
[0132] A computer-readable storage medium provided by an embodiment of the present application stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: initializing the estimated assignment results of the four target boundary surface vertices to zero; taking a unit boundary surface having the same boundary surface vertex as the reference unit boundary surface as a to-be-processed unit boundary surface; sequentially traversing each to-be-processed unit boundary surface, and in each traversing process, for a target boundary surface vertex in the to-be-processed unit boundary surface, taking the sum of the target assignment result of the same boundary surface vertex and the estimated assignment result of the target boundary surface vertex as the updated estimated assignment result of the target boundary surface vertex.
[0133] A computer-readable storage medium provided by an embodiment of the present application stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: taking a target boundary surface vertex corresponding to an estimated assignment result with the same target assignment result as the boundary surface vertex opposite to the reference boundary surface vertex as the boundary surface vertex opposite to the reference boundary surface vertex, and establishing a position correspondence relationship.
[0134] A computer-readable storage medium provided by an embodiment of the present application stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: after determining the position correspondence relationship between the reference boundary surface vertex and the target boundary surface vertex, uniformly numbering the reference boundary surface vertex and the target boundary surface vertex based on the position correspondence relationship according to the vertex numbering rule of the hexahedron mesh unit.
[0135] A computer-readable storage medium provided by an embodiment of the present application stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: reading in the target unstructured linear hexahedral mesh unit data of the target object stored in the NNW-FlowStar software.
[0136] The computer-readable storage medium involved in the present application includes random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium well-known in the technical field.
[0137] For the description of the relevant parts in the unstructured linear hexahedral mesh unit reconstruction system, device, and computer-readable storage medium provided by the embodiments of the present application, please refer to the detailed description of the corresponding parts in the unstructured linear hexahedral mesh unit reconstruction method provided by the embodiments of the present application, which will not be elaborated here. In addition, for the parts in the above technical solutions provided by the embodiments of the present application that are the same as the corresponding technical solutions in the prior art in terms of implementation principles, no detailed description is given to avoid excessive elaboration.
[0138] It should also be noted that in this text, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising a..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0139] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to these embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for reconstructing unstructured linear hexahedral mesh elements, characterized in that Including: Obtaining target unstructured linear hexahedral mesh cell data of a target object, where the target unstructured linear hexahedral mesh cell data includes boundary surface vertex information of six cell boundary surfaces respectively; Arbitrarily selecting one of the cell boundary surfaces as a reference cell boundary surface, and using four boundary surface vertices of the reference cell boundary surface as four reference boundary surface vertices; Determining target assignment results of each of the reference boundary surface vertices according to the positional relationship among eight vertices of the hexahedral mesh cell, and determining target assignment results of boundary surface vertices opposite to each of the reference boundary surface vertices; According to the positional relationship, based on the target assignment results of the reference boundary surface vertices and the target unstructured linear hexahedral mesh cell data, determining estimated assignment results of four target boundary surface vertices in the target cell boundary surface opposite to the reference cell boundary surface; Based on the target assignment results of the boundary surface vertices opposite to the reference boundary surface vertices and the estimated assignment results, determining the positional correspondence relationship between the reference boundary surface vertices and the target boundary surface vertices, so as to complete the reconstruction of the target unstructured hexahedral mesh cell based on the positional correspondence relationship, thereby performing computational fluid dynamics numerical simulation on the target object; Wherein, the determining the estimated assignment results of four target boundary surface vertices in the target cell boundary surface opposite to the reference cell boundary surface includes: Initializing the estimated assignment results of the four target boundary surface vertices to zero; Using the cell boundary surface having the same boundary surface vertex as the reference cell boundary surface as a to-be-processed cell boundary surface; Sequentially traversing each of the to-be-processed cell boundary surfaces. During each traversal, for the target boundary surface vertices in the to-be-processed cell boundary surface, using the sum of the target assignment result of the same boundary surface vertex and the estimated assignment result of the target boundary surface vertex as the updated estimated assignment result of the target boundary surface vertex; Wherein, the determining the positional correspondence relationship between the reference boundary surface vertices and the target boundary surface vertices based on the target assignment results of the boundary surface vertices opposite to the reference boundary surface vertices and the estimated assignment results includes: Using the target boundary surface vertex corresponding to the estimated assignment result with the same target assignment result as the boundary surface vertex opposite to the reference boundary surface vertex as the boundary surface vertex opposite to the reference boundary surface vertex, and establishing the positional correspondence relationship.
2. The method according to claim 1, wherein The determining the target assignment results of each of the reference boundary surface vertices includes: Determining the target assignment results of each of the reference boundary surface vertices; Wherein, the sum of any two numbers other than the non-diagonal vertices among the target assignment results of the four reference boundary surface vertices is not equal to any of the target assignment results of the reference boundary surface vertices; the sum of twice one number and another number among any two non-diagonal vertices of the target assignment results of the four reference boundary surface vertices is not equal to any of the target assignment results of the reference boundary surface vertices, and is not equal to the sum of any two non-diagonal vertices.
3. The method according to claim 2, wherein The determination of the target assignment results of the boundary surface vertices at the opposite ends of each of the reference boundary surface vertices includes: For any one of the reference boundary surface vertices, the sum of twice the target assignment result of the reference boundary surface vertex and the target assignment result of an adjacent boundary surface vertex is used as the target assignment result of the boundary surface vertex at the opposite end of the reference boundary surface vertex, where the adjacent boundary surface vertices include the boundary surface vertices collinear with the reference boundary surface vertex in the reference unit boundary surface.
4. The method according to any one of claims 1 to 3, characterized in that, After determining the position correspondence between the reference boundary surface vertices and the target boundary surface vertices, it further includes: Based on the position correspondence, the reference boundary surface vertices and the target boundary surface vertices are uniformly numbered according to the vertex numbering rule of the hexahedral mesh element.
5. The method according to claim 4, wherein The obtaining of the target non-structured linear hexahedral mesh element data of the target object includes: Reading in the target non-structured linear hexahedral mesh element data of the target object stored in the NNW-FlowStar software.
6. A non-structured linear hexahedral mesh element reconstruction system, characterized in that, It includes: A first obtaining module for obtaining the target non-structured linear hexahedral mesh element data of the target object, where the target non-structured linear hexahedral mesh element data includes the boundary surface vertex information of each of the six unit boundary surfaces; A first processing module for arbitrarily taking one of the unit boundary surfaces as the reference unit boundary surface and taking the four boundary surface vertices of the reference unit boundary surface as the four reference boundary surface vertices; A first determination module for determining the target assignment results of each of the reference boundary surface vertices according to the position relationship among the eight vertices of the hexahedral mesh element and determining the target assignment results of the boundary surface vertices at the opposite ends of each of the reference boundary surface vertices; A second determination module for determining the estimated assignment results of the four target boundary surface vertices in the target unit boundary surface at the opposite end of the reference unit boundary surface based on the target assignment results of the reference boundary surface vertices and the target non-structured linear hexahedral mesh element data according to the position relationship; A third determination module for determining the position correspondence between the reference boundary surface vertices and the target boundary surface vertices based on the target assignment results of the boundary surface vertices at the opposite ends of the reference boundary surface vertices and the estimated assignment results, so as to complete the reconstruction of the target non-structured hexahedral mesh element based on the position correspondence, thereby performing computational fluid dynamics numerical simulation on the target object; Among them, the second determination module includes: A third determination unit for initializing the estimated assignment results of the four target boundary surface vertices to zero; taking the unit boundary surface having the same boundary surface vertex as the reference unit boundary surface as the unit boundary surface to be processed; sequentially traversing each unit boundary surface to be processed, and in each traversal process, for the target boundary surface vertices in the unit boundary surface to be processed, taking the sum of the target assignment result of the same boundary surface vertex and the estimated assignment result of the target boundary surface vertex as the updated estimated assignment result of the target boundary surface vertex; Among them, the third determination module includes: A fourth determination unit, configured to use, as the opposite boundary surface vertex of the reference boundary surface vertex, the target boundary surface vertex corresponding to the predicted assignment result with the same target assignment result as that of the boundary surface vertex opposite to the reference boundary surface vertex, and establish the position correspondence relationship.
7. A non-structured linear hexahedral mesh element reconstruction device, characterized in that, Comprising: A memory, configured to store a computer program; A processor, configured to implement the steps of the unstructured linear hexahedral mesh element reconstruction method according to any one of claims 1 to 5 when executing the computer program.
8. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the unstructured linear hexahedral mesh element reconstruction method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Geometric reconstruction method based on finite element model
CN111797555A
Method and device for constructing three-dimensional grid model
CN113128095A