A method and device for constructing a complex contour model
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- NORTHWESTERN POLYTECHNICAL UNIV
- Filing Date
- 2026-03-31
- Publication Date
- 2026-08-07
AI Technical Summary
[0004]本公开的目的在于提供一种复杂轮廓模型的构建方法以及复杂轮廓模型的构建装置,进而至少在一定程度上克服由于相关技术的限制和缺陷而导致的无法基于点阵结构进行复杂轮廓模型的构建的问题
[0023]本公开实施例提供的一种复杂轮廓模型的构建方法,一方面,由于可以通过确定待填充的复杂轮廓的第一顶点坐标以及第一中点坐标,并基于预设的规则立方体结构进行三维图形建模得到立方体组合结果;然后对立方体组合结果进行网格划分得到网格划分结果,并基于网格划分结果确定立方体组合结果的第二顶点坐标以及第二中点坐标;进而确定第一顶点坐标与第二顶点坐标之间的顶点位移差值,并确定第一中点坐标与第二中点坐标之间的中点位移差值;最后基于顶点位移差值以及中点位移差值对立方体组合结果进行形状变换,得到与待填充的复杂轮廓对应的复杂轮廓模型,进而提高了所得到的复杂轮廓模型的准确率;另一方面,实现了对复杂轮廓模型的构建,解决了现有技术中无法基于点阵结构进行复杂轮廓模型的构建的问题。
Smart Images

Figure CN121937644B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of structured modeling technology, and more specifically, to a method and apparatus for constructing a complex contour model. Background Technology
[0002] Currently, most lattice structure designs are based on regular cubes. However, lightweight designs based on regular cubic lattice structures are mostly used to fill simple geometric contours (such as rectangles). Therefore, when faced with complex contours, regular cubic lattice structures are prone to geometric mismatch problems, leading to difficulties in automated and parametric modeling. Therefore, how to construct complex contour models based on lattice structures has become an urgent problem to be solved.
[0003] It should be noted that the information in the background section above is only used to enhance the understanding of the background of this disclosure, and therefore the background section may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention
[0004] The purpose of this disclosure is to provide a method and apparatus for constructing complex contour models, thereby overcoming, to some extent, the problem that complex contour models cannot be constructed based on lattice structures due to limitations and defects in related technologies.
[0005] According to one aspect of this disclosure, a method for constructing a complex contour model is provided, comprising:
[0006] Determine the coordinates of the first vertex and the first midpoint of the complex contour to be filled, and perform 3D graphic modeling based on the preset regular cube structure to obtain the cube combination result;
[0007] The cube combination result is divided into a grid to obtain a grid division result, and the coordinates of the second vertex and the second midpoint of the cube combination result are determined based on the grid division result;
[0008] Determine the difference in vertex displacement between the coordinates of the first vertex and the coordinates of the second vertex, and determine the difference in midpoint displacement between the coordinates of the first midpoint and the coordinates of the second midpoint;
[0009] Based on the vertex displacement difference and midpoint displacement difference, the cube combination result is transformed to obtain a complex contour model corresponding to the complex contour to be filled.
[0010] In an exemplary embodiment of this disclosure, the first vertex coordinates are the coordinates corresponding to the eight first vertices of the complex contour to be filled; the second vertex coordinates are the coordinates corresponding to the eight second vertices of the cube combination result; the first midpoint coordinates are the coordinates corresponding to the twelve first midpoints of the complex contour to be filled; the twelve first midpoints of the complex contour to be filled are the midpoints corresponding to the twelve edges formed by the eight first vertices in the complex contour to be filled; the second midpoint coordinates are the coordinates corresponding to the twelve second midpoints of the cube combination result; the twelve second midpoints of the cube combination result are the midpoints corresponding to the twelve edges formed by the eight second vertices in the cube combination result.
[0011] In one exemplary embodiment of this disclosure, determining the coordinates of the first vertex and the first midpoint of a complex contour to be filled includes: determining the first three-dimensional geometric boundary line of the complex contour to be filled, and determining whether the complex contour to be filled is a hexahedral structure based on the first three-dimensional geometric boundary line; if the complex contour to be filled is a hexahedral structure, then determining the coordinates of the first vertex and the first midpoint of the complex contour to be filled; if the complex contour to be filled is not a hexahedral structure, then determining whether the complex contour to be filled can be divided into a hexahedral structure based on the first three-dimensional geometric boundary line; if the complex contour to be filled can be divided into a hexahedral structure, then dividing the complex contour to be filled to obtain a contour partitioning result, and determining the coordinates of the first vertex and the first midpoint of the contour partitioning result.
[0012] In one exemplary embodiment of this disclosure, the process of meshing the cube combination result to obtain a meshing result includes: importing the cube combination result into a preset meshing software, and simplifying the imported cube combination result based on the preset meshing software to obtain a simplified cube combination result; determining the meshing parameters required for meshing the simplified cube combination result; wherein the meshing parameters include the mesh type and the mesh cell size; and performing meshing processing on the simplified cube combination result according to the meshing parameters based on the preset meshing software to obtain the meshing result.
[0013] In an exemplary embodiment of this disclosure, determining the second vertex coordinates and the second midpoint coordinates of the cube combination result based on the mesh division result includes: determining the second vertex coordinates of the cube combination result based on the mesh cells included in the mesh cell division result and the node coordinate information of the nodes corresponding to each mesh cell; determining the second three-dimensional geometric boundary line of the cube combination result based on the second vertex coordinates, and determining the midpoint coordinates of the second three-dimensional geometric boundary line to obtain the second midpoint coordinates.
[0014] In one exemplary embodiment of this disclosure, determining the vertex displacement difference between the first vertex coordinates and the second vertex coordinates, and determining the midpoint displacement difference between the first midpoint coordinates and the second midpoint coordinates, includes: mapping the cube combination result to a first three-dimensional geometric figure composed of a first three-dimensional boundary line of the complex contour to be filled or the contour partitioning result of the complex contour to be filled, to obtain a graphic mapping result; determining the second vertex coordinates associated with the first vertex coordinates and the second midpoint coordinates associated with the first midpoint coordinates based on the graphic mapping result; determining the vertex displacement difference based on the first vertex coordinates and the second vertex coordinates associated with the first vertex coordinates, and determining the midpoint displacement difference based on the first midpoint coordinates and the second midpoint coordinates associated with the first midpoint coordinates.
[0015] In one exemplary embodiment of this disclosure, the cube combination result is shape-transformed based on the vertex displacement difference and the midpoint displacement difference to obtain a complex contour model corresponding to the complex contour to be filled. This includes: constructing a vertex shape function corresponding to the second vertex of the cube combination result, and determining the vertex displacement association result between the first vertex and the second vertex based on the vertex shape function and the vertex displacement difference; constructing a midpoint shape function corresponding to the second midpoint of the cube combination result, and determining the midpoint displacement association result between the first midpoint and the second midpoint based on the midpoint shape function and the midpoint displacement difference; determining other displacement differences for nodes other than the second vertex and the second midpoint in the cube combination result based on the vertex displacement association result and the midpoint displacement association result; and performing a shape transformation on the cube combination result based on the vertex displacement difference, the midpoint displacement difference, and the other displacement differences to obtain a complex contour model corresponding to the complex contour to be filled.
[0016] In one exemplary embodiment of this disclosure, determining the displacement differences of other nodes in the cube combination result other than the second vertex and the second midpoint based on the vertex displacement association result and the midpoint displacement association result includes: constructing a vertex displacement association matrix based on the vertex displacement association result and the midpoint displacement association result, and constructing a midpoint displacement association matrix based on the vertex displacement difference and the midpoint displacement difference; calculating the product between the midpoint displacement association matrix and the vertex displacement association matrix to obtain the displacement differences of other nodes in the cube combination result other than the second vertex and the second midpoint.
[0017] In one exemplary embodiment of this disclosure, the cube combination result is shape-transformed based on the vertex displacement difference, midpoint displacement difference, and other displacement differences to obtain a complex contour model corresponding to the complex contour to be filled. This includes: determining the target vertex coordinates corresponding to the second vertex based on the vertex displacement difference and the second vertex coordinates; determining the target midpoint coordinates corresponding to the second midpoint based on the midpoint displacement difference and the second midpoint coordinates; determining the target node coordinates corresponding to other nodes based on the other displacement differences and the original node coordinates of other nodes; and performing a shape transformation on the cube combination result based on the target vertex coordinates, target midpoint coordinates, and target node coordinates to obtain a complex contour model corresponding to the complex contour to be filled.
[0018] According to one aspect of this disclosure, an apparatus for constructing a complex contour model is provided, comprising:
[0019] The cube combination result determination module is used to determine the coordinates of the first vertex and the first midpoint of the complex contour to be filled, and to obtain the cube combination result by performing three-dimensional graphic modeling based on the preset regular cube structure.
[0020] A cube meshing module is used to perform meshing on the cube combination result to obtain a meshing result, and to determine the coordinates of the second vertex and the second midpoint of the cube combination result based on the meshing result;
[0021] The displacement difference determination module is used to determine the vertex displacement difference between the coordinates of the first vertex and the coordinates of the second vertex, and to determine the midpoint displacement difference between the coordinates of the first midpoint and the coordinates of the second midpoint;
[0022] The complex contour model generation module is used to perform shape transformation on the cube combination result based on the vertex displacement difference and the midpoint displacement difference to obtain a complex contour model corresponding to the complex contour to be filled.
[0023] This disclosure provides a method for constructing a complex contour model. On one hand, it can determine the coordinates of the first vertex and the first midpoint of the complex contour to be filled, and perform three-dimensional graphic modeling based on a preset regular cube structure to obtain a cube combination result; then, it can perform meshing on the cube combination result to obtain a meshing result, and determine the coordinates of the second vertex and the second midpoint of the cube combination result based on the meshing result; further, it can determine the vertex displacement difference between the first vertex coordinates and the second vertex coordinates, and determine the midpoint displacement difference between the first midpoint coordinates and the second midpoint coordinates; finally, it can perform shape transformation on the cube combination result based on the vertex displacement difference and the midpoint displacement difference to obtain a complex contour model corresponding to the complex contour to be filled, thereby improving the accuracy of the obtained complex contour model; on the other hand, it realizes the construction of a complex contour model, solving the problem in the prior art that it is impossible to construct a complex contour model based on a lattice structure.
[0024] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0025] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure. It is obvious that the drawings described below are merely some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.
[0026] Figure 1 The illustration shows a scenario example of simple geometric contour filling based on a rule-based cubic lattice structure.
[0027] Figure 2 The diagram illustrates a flowchart of a method for constructing a complex contour model according to an exemplary embodiment of the present disclosure.
[0028] Figure 3 The illustration shows a scenario example of constructing a complex contour shape based on a shape function according to an exemplary embodiment of the present disclosure.
[0029] Figure 4 The diagram schematically illustrates a scenario example of a dot matrix structure filling region of a dual-plate turbine disk according to an exemplary embodiment of the present disclosure.
[0030] Figure 5 The diagram schematically illustrates the positions of eight vertices in a 1 / 20 sector lattice structure filling region of a dual-panel turbine disk according to an exemplary embodiment of the present disclosure.
[0031] Figure 6 The diagram schematically illustrates a scenario showing the positions of 12 midpoints of a dot matrix structure filling region according to an exemplary embodiment of the present disclosure.
[0032] Figure 7 The illustration shows a scene example of the arrangement, modeling, and meshing of a three-dimensional lattice structure according to an exemplary embodiment of the present disclosure.
[0033] Figure 8 The illustration shows a scenario example of conformal transformation of a lattice structure based on a shape function according to an exemplary embodiment of the present disclosure.
[0034] Figure 9 The diagram schematically illustrates the effect of a lattice structure filling a 3 / 4 sector double-panel turbine disk according to an exemplary embodiment of the present disclosure.
[0035] Figure 10 An example diagram schematically illustrates a complex profile model of a 3 / 4 sector dual-plate turbine disk obtained according to an exemplary embodiment of the present disclosure.
[0036] Figure 11 The illustration shows a scenario example of the process for determining the segmentation, vertex coordinates, and midpoint coordinates of a two-segment complex contour lattice structure filling region according to an exemplary embodiment of the present disclosure.
[0037] Figure 12 The illustration shows a scenario example of conformal transformation of a two-segment lattice structure based on a shape function according to an example embodiment of the present disclosure. Detailed Implementation
[0038] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided to make this disclosure more comprehensive and complete, and to fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a full understanding of embodiments of this disclosure. However, those skilled in the art will recognize that the technical solutions of this disclosure can be practiced with one or more of the specific details omitted, or other methods, components, apparatus, steps, etc., can be employed. In other instances, well-known technical solutions are not shown or described in detail to avoid obscuring various aspects of this disclosure.
[0039] Furthermore, the accompanying drawings are merely illustrative of this disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and therefore repeated descriptions of them will be omitted. Some block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.
[0040] Lightweight technology has always been a goal pursued in the development of power units. In practical applications, with the acceleration of industrialization, especially in fields such as transportation, aerospace, and automobile manufacturing, the use of traditional materials and structures will cause the weight of the corresponding structures to increase continuously. This not only leads to reduced structural performance and increased energy consumption, but also aggravates environmental pollution and carbon dioxide emissions.
[0041] Furthermore, since traditional structural design methods struggle to optimize weight while ensuring structural strength and stability, the emergence of lattice structures offers a novel solution to this problem. Specifically, by rationally allocating materials and optimizing structural morphology, lattice structures can minimize structural weight while maintaining load-bearing capacity, making them an important direction in current structural lightweighting research and widely applied in aerospace, shipbuilding, and automotive fields.
[0042] Currently, most lattice structure designs are based on regular cubes; and lightweight designs based on regular cubic lattice structures are mostly used to fill simple geometric contours; for example, they could be like... Figure 1 The rectangle shown; where, Figure 1 The regular cubic lattice structure shown exhibits geometric mismatch when filling complex contours. In Figure 101 (left), the dashed line indicates the area where the regular cubic lattice structure does not match the contour during the filling process, while Figure 102 (right) shows the case where the lattice structure conformally matches the contour. Therefore, when dealing with complex contours, regular cubic lattice structures are prone to geometric mismatch problems, leading to difficulties in automated and parametric modeling.
[0043] Based on this, this exemplary embodiment first provides a method for constructing a complex contour model. This method can run on terminal devices, servers, server clusters, or cloud servers, etc. Of course, those skilled in the art can also run the method disclosed herein on other platforms as needed, and this exemplary embodiment does not impose any special limitations on this. Specifically, refer to... Figure 2 As shown, the method for constructing this complex contour model may include the following steps:
[0044] Step S210. Determine the coordinates of the first vertex and the first midpoint of the complex contour to be filled, and perform 3D graphic modeling based on the preset regular cube structure to obtain the cube combination result;
[0045] Step S220. Perform meshing on the cube combination result to obtain the meshing result, and determine the coordinates of the second vertex and the second midpoint of the cube combination result based on the meshing result;
[0046] Step S230. Determine the vertex displacement difference between the first vertex coordinates and the second vertex coordinates, and determine the midpoint displacement difference between the first midpoint coordinates and the second midpoint coordinates;
[0047] Step S240. Based on the vertex displacement difference and the midpoint displacement difference, perform shape transformation on the cube combination result to obtain a complex contour model corresponding to the complex contour to be filled.
[0048] In the aforementioned method for constructing complex contour models, on the one hand, the method can determine the coordinates of the first vertex and the first midpoint of the complex contour to be filled, and obtain a cube combination result by performing 3D graphic modeling based on a preset regular cube structure; then, the cube combination result is meshed to obtain a mesh division result, and the coordinates of the second vertex and the second midpoint of the cube combination result are determined based on the mesh division result; furthermore, the vertex displacement difference between the first vertex coordinates and the second vertex coordinates is determined, and the midpoint displacement difference between the first midpoint coordinates and the second midpoint coordinates is determined; finally, the cube combination result is shape transformed based on the vertex displacement difference and the midpoint displacement difference to obtain a complex contour model corresponding to the complex contour to be filled, thereby improving the accuracy of the obtained complex contour model; on the other hand, the method realizes the construction of complex contour models and solves the problem in the prior art that complex contour models cannot be constructed based on a lattice structure.
[0049] The following will further explain and illustrate the method for constructing a complex contour model as described in the exemplary embodiments of this disclosure, with reference to the accompanying drawings.
[0050] First, the terms used in the exemplary embodiments of this disclosure will be explained and described.
[0051] Lattice structures: Lattice structures distribute material rationally across load-bearing areas while retaining a large number of voids within. Compared to solid structures, this design maintains load-bearing capacity in critical areas while significantly reducing material usage. In simpler terms, a hollow cube (i.e., a cube composed of a lattice structure) can achieve the same load-bearing capacity as a solid cube, but is significantly lighter. From a mechanical perspective, lattice structures possess greater specific strength (strength / density) and specific stiffness (elastic modulus / density) than solid structures, enabling them to possess or surpass the mechanical properties of solid structures at low densities.
[0052] 3D Element Shape Function Method: The 3D element shape function described here is a method based on the finite element method to discretize a complex model continuum into a finite number of simple elements (tetrahedrons or hexahedrons, etc.). In practical applications, by defining 20 control point element node coordinate displacements for a tetrahedron or hexahedron, the 3D element shape function is used to geometrically deform and correlate (or map) the coordinate displacements of the 20 control point element nodes with the displacements of all element nodes within the model, thus mapping from simple geometric shapes to more complex geometric shapes. Simply put, changes in all contour lines of the model will correspond to numerical changes at the 20 control points, and these corresponding numerical changes are accurately mathematically described by the shape function. The following will briefly explain the specific transformation process using a simple cube (e.g., a cubic prism).
[0053] For example, refer to Figure 3 As shown, based on the finite element method, a complex model continuum can be discretized into a finite number of simple elements (such as the hexahedron shown in 301, or a tetrahedron, which is not specifically limited in this example). By defining the coordinate displacements of the 20 control point element nodes as shown in 302, a three-dimensional element shape function is used to geometrically deform and associate (or map) the coordinate displacements of the 20 control point element nodes with the displacements of all element nodes within the model, thus mapping from simple geometric shapes to more complex geometric shapes. See 303 for details. Meanwhile, Figure 3 The example diagram shown can also be simply understood as the changes in all the contour lines of the model corresponding to the numerical changes of 20 control points. These corresponding numerical changes are accurately mathematically described by shape functions.
[0054] Secondly, the technical implementation principle of the exemplary embodiments of this disclosure will be explained and described. Specifically, the method for constructing a complex contour model described in the exemplary embodiments of this disclosure aims to achieve fast and efficient conformal matching filling when filling complex contours using a lattice structure, without the problem of geometric mismatch. It should also be noted that the method for constructing a complex contour model described in the exemplary embodiments of this disclosure fills the complex contour model row by row using shape functions (i.e., row-by-row filling), thereby transforming the regular lattice structure into a geometric contour with the same geometric shape as the filling area corresponding to the complex contour model. This avoids the problem of missing lattice structures caused by constructing complex contour models based on Boolean operations, further improving the accuracy of the obtained complex contour model.
[0055] The following will be about Figure 2 The method for constructing the complex contour model shown is explained and illustrated in detail. Specifically:
[0056] In step S210, the coordinates of the first vertex and the first midpoint of the complex contour to be filled are determined, and a three-dimensional graphic model is performed based on the preset regular cube structure to obtain the cube combination result.
[0057] In this example embodiment, firstly, the coordinates of the first vertex and the coordinates of the first midpoint of the complex contour to be filled are determined. Specifically, the complex contour described here can be a contour composed of one or more irregular shapes. For example, the contour corresponding to a double-sided turbine disk can be considered a complex contour. Simultaneously, the coordinates of the first vertex are the coordinates corresponding to the eight first vertices of the complex contour to be filled; the coordinates of the first midpoint are the coordinates corresponding to the twelve first midpoints of the complex contour to be filled; the twelve first midpoints of the complex contour to be filled are the midpoints corresponding to the twelve edges formed by the eight first vertices in the complex contour to be filled. It should be noted that the reason for limiting the number of vertices to eight and the number of midpoints to twelve is because the lattice structure used has eight vertices and twelve corresponding midpoints. For the complex contour to be filled described in this disclosure, it is either itself a shape composed of eight vertices and twelve midpoints, or it can be divided into two or more shapes composed of eight vertices and twelve midpoints. The scheme described in this example embodiment does not support complex contours with other structures. Under this premise, the specific process of determining the coordinates of the first vertex and the first midpoint can be achieved as follows: determine the first three-dimensional geometric boundary line of the complex contour to be filled, and based on the first three-dimensional geometric boundary line, determine whether the complex contour to be filled is a hexahedral structure; if the complex contour to be filled is a hexahedral structure, then determine the coordinates of the first vertex and the first midpoint of the complex contour to be filled; if the complex contour to be filled is not a hexahedral structure, then determine whether the complex contour to be filled can be divided into a hexahedral structure according to the first three-dimensional geometric boundary line; if the complex contour to be filled can be divided into a hexahedral structure, then divide the complex contour to be filled to obtain a contour partitioning result, and determine the coordinates of the first vertex and the first midpoint of the contour partitioning result.
[0058] The following will further explain and illustrate the specific process of determining the coordinates of the first vertex and the first midpoint. Specifically, in practical applications, firstly, the first three-dimensional geometric boundary line of the complex contour region to be filled (i.e., the complex contour to be filled) is determined. Based on this first three-dimensional geometric boundary line, it is determined whether the complex contour to be filled is a hexahedral structure; wherein, the hexahedral structure has eight vertices and twelve edges. In practical applications, the number of vertices and edges included in the first three-dimensional geometric boundary line can be counted before determining whether it is a hexahedral structure. Furthermore, if the first three-dimensional geometric boundary line of the complex contour region is a hexahedral structure, the coordinate values of the eight vertices in the three-dimensional rectangular coordinate system (XYZ) (i.e., the coordinates of the first vertex) are recorded and denoted as A. i(X, Y, Z), where i is a number from 1 to 8, conveniently distinguishing the eight vertices of a complex contour region; furthermore, if the three-dimensional geometric boundary line of the complex contour region is not a hexahedral structure, then determine whether the three-dimensional geometric boundary line of the complex contour region can be segmented / partitioned into a hexahedral structure. If it can be segmented / partitioned into a hexahedral structure, then segment / partition to obtain the contour partitioning result, and then perform the same operation to record the position coordinates of the eight vertices of each contour partitioning result, and denot it as A. i n (X, Y, Z), where the superscript n is the segment / partition number used to identify the number of segments / partitions; i is a number from 1 to 8, which is convenient for recording the eight vertices of each segment / partition after segmentation; if the segment / partition cannot be a hexahedral structure, the method described in the example embodiment of this disclosure is not applicable.
[0059] Furthermore, based on the above description, if the complex contour to be filled is not segmented / divided, the coordinate values of the twelve midpoints (i.e., the midpoints of the twelve edges) of the complex contour to be filled in the three-dimensional rectangular coordinate system (XYZ) (i.e., the coordinates of the first midpoint) are recorded and denoted as A. j (X, Y, Z), where j is a number from 9 to 20, to easily distinguish the twelve midpoints; simultaneously, if the complex contour to be filled is segmented / partitioned, the coordinates of the twelve midpoints of each contour partition are recorded and denoted as A. j n (X, Y, Z), where the superscript n is the segment / area number used to identify the number of segments / areas, and j is a number from 9 to 20 to facilitate recording the coordinates of the twelve midpoints of each segment / area after segmentation.
[0060] Secondly, a 3D graphic model is performed based on a preset regular cube structure to obtain the cube combination result. Specifically, this can be achieved as follows: in response to a selection operation on the preset regular cube structure, the target regular cube structure required to construct the cube combination result corresponding to the complex contour to be filled is determined; in response to a movement operation on the target regular cube structure, the target regular cube structure is arranged and combined to obtain the cube combination result. That is, in practical applications, the corresponding target regular cube structure can be selected according to actual needs; then, it can be arranged according to the desired combination, that is, the number and style of the lattice structure are combined in the x, y, and z directions of space according to the desired combination to obtain the cube combination result.
[0061] In step S220, the cube combination result is divided into a grid to obtain a grid division result, and the coordinates of the second vertex and the second midpoint of the cube combination result are determined based on the grid division result.
[0062] In this example embodiment, firstly, the cube combination result is meshed to obtain a meshing result. Specifically, this can be achieved as follows: the cube combination result is imported into a preset meshing software, and the imported cube combination result is simplified based on the preset meshing software to obtain a simplified cube combination result; the meshing parameters required for meshing the simplified cube combination result are determined; wherein, the meshing parameters include the mesh type and the mesh cell size; the simplified cube combination result is meshed according to the preset meshing software based on the meshing parameters to obtain the meshing result. That is, in practical applications, after the combination is completed, the 3D model corresponding to the cube combination result can be imported into software capable of meshing for meshing; wherein, the meshing software described here may include, but is not limited to, Hypermesh, Abaqus, and Ansys.
[0063] Furthermore, this section uses Hypermesh as an example to explain the specific meshing process. Specifically, after importing the cube assembly result into Hypermesh, the imported cube assembly result first needs to be simplified (this may include, but is not limited to, deleting duplicate faces, filling missing faces, and stitching free edges) to obtain a simplified cube assembly result. Then, the mesh type (e.g., tetrahedron or hexahedron) and mesh element size required for meshing the simplified cube assembly result are determined. Finally, the simplified cube assembly result is meshed according to the meshing parameters to obtain the meshing result. Simultaneously, after obtaining the meshing result, a .inp format file of the regular cubic lattice structure (i.e., the meshing result) needs to be exported. This .inp format file can include all the elements (i.e., mesh elements) after meshing, as well as the coordinate information and numbering of the nodes corresponding to the mesh elements.
[0064] Secondly, based on the .inp format file, the coordinates of the second vertex and the second midpoint of the cube combination result are determined. Here, the second vertex coordinates are the coordinates corresponding to the eight second vertices of the cube combination result; the second midpoint coordinates are the coordinates corresponding to the twelve second midpoints of the cube combination result; the twelve second midpoints of the cube combination result are the midpoints corresponding to the twelve edges formed by the eight second vertices in the cube combination result. Under this premise, the specific determination process of the second vertex coordinates and the second midpoint coordinates can be implemented as follows: Based on the grid cells included in the grid cell division result and the node coordinate information of the nodes corresponding to each grid cell, the second vertex coordinates of the cube combination result are determined; based on the second vertex coordinates, the second three-dimensional geometric boundary line of the cube combination result is determined, and the midpoint coordinates of the second three-dimensional geometric boundary line are determined to obtain the second midpoint coordinates. That is, in practical applications, firstly, the unit and node coordinate information in the .inp format file is read using Python, and then the second vertex coordinates and the second midpoint coordinates after the lattice structure combination are found based on the node coordinate information; where the second vertex coordinates can be denoted as M. i n (X, Y, Z), where i is a number from 1 to 8, conveniently distinguishing the 8 vertices of the lattice structure; meanwhile, the coordinates of the second midpoint can be denoted as M. j n (X, Y, Z), j is a number from 9 to 20 to distinguish the twelve vertices of the lattice structure, and n is the number after segmentation / region to facilitate recording the corresponding segment / region.
[0065] In step S230, the vertex displacement difference between the first vertex coordinates and the second vertex coordinates is determined, and the midpoint displacement difference between the first midpoint coordinates and the second midpoint coordinates is determined.
[0066] Specifically, the calculation process for the vertex displacement difference and the midpoint displacement difference can be implemented as follows: map the cube combination result to a first three-dimensional geometric figure composed of the first three-dimensional boundary line of the complex contour to be filled or the contour partition result of the complex contour to be filled, to obtain a graphic mapping result; determine the second vertex coordinates associated with the first vertex coordinates and the second midpoint coordinates associated with the first midpoint coordinates based on the graphic mapping result; determine the vertex displacement difference based on the first vertex coordinates and the second vertex coordinates associated with the first vertex coordinates, and determine the midpoint displacement difference based on the first midpoint coordinates and the second midpoint coordinates associated with the first midpoint coordinates. In other words, in practical applications, to obtain the vertex displacement difference and midpoint displacement difference, it is first necessary to associate the first vertex with the second vertex and the first midpoint with the second midpoint. Under this premise, if it is necessary to establish the association between vertices and vertices, and between midpoints and midpoints, the cube combination result must first be mapped to the 3D geometry corresponding to the contour partitioning result of the complex contour or the complex contour to be filled. In the actual mapping process, the front face of the 3D geometry image can be matched with the front face of the cube combination result to achieve the corresponding mapping process. After the mapping is completed, the association between vertices and vertices, and between midpoints and midpoints can be established. Then, the difference between the associated vertices and vertices, and between midpoints and midpoints, can be calculated to obtain the vertex displacement difference and midpoint displacement difference. For example, after the mapping is completed, based on A... i n (X, Y, Z) - (M) i n (X, Y, Z)) determine the vertex displacement difference, and based on (A j n (X, Y, Z) - (M) j n (X, Y, Z)) Determine the midpoint difference.
[0067] In step S240, the cube combination result is transformed based on the vertex displacement difference and the midpoint displacement difference to obtain a complex contour model corresponding to the complex contour to be filled.
[0068] Specifically, the construction process of the complex contour model can be implemented as follows: Construct a vertex shape function corresponding to the second vertex of the cube combination result, and determine the vertex displacement association result between the first and second vertices based on the vertex shape function and the vertex displacement difference; construct a midpoint shape function corresponding to the second midpoint of the cube combination result, and determine the midpoint displacement association result between the first and second midpoints based on the midpoint shape function and the midpoint displacement difference; based on the vertex displacement association result and the midpoint displacement association result, determine the other displacement differences of the nodes in the cube combination result other than the second vertex and the second midpoint; perform shape transformation on the cube combination result based on the vertex displacement difference, the midpoint displacement difference, and the other displacement differences to obtain a complex contour model corresponding to the complex contour to be filled.
[0069] In one exemplary embodiment, determining the displacement differences of other nodes in the cube combination result other than the second vertex and the second midpoint, based on the vertex displacement correlation results and the midpoint displacement correlation results, can be achieved as follows: constructing a vertex displacement correlation matrix based on the vertex displacement correlation results and the midpoint displacement correlation results, and constructing a midpoint displacement correlation matrix based on the vertex displacement differences and the midpoint displacement differences; calculating the product between the midpoint displacement correlation matrix and the vertex displacement correlation matrix to obtain the displacement differences of other nodes in the cube combination result other than the second vertex and the second midpoint.
[0070] In one exemplary embodiment, the cube combination result is shape-transformed based on vertex displacement difference, midpoint displacement difference, and other displacement differences to obtain a complex contour model corresponding to the complex contour to be filled. This can be achieved as follows: based on the vertex displacement difference and the second vertex coordinates, the target vertex coordinates corresponding to the second vertex are determined; based on the midpoint displacement difference and the second midpoint coordinates, the target midpoint coordinates corresponding to the second midpoint are determined; based on the other displacement differences and the original node coordinates of other nodes, the target node coordinates corresponding to other nodes are determined; based on the target vertex coordinates, target midpoint coordinates, and target node coordinates, the cube combination result is shape-transformed to obtain a complex contour model corresponding to the complex contour to be filled.
[0071] The following will further explain and illustrate the specific construction process of complex contour models. Specifically, in practical applications, the shape function method can be used to transform the regular cubic lattice structure into the same shape as the filling area, thereby realizing the construction of complex contour models. Among them, the general expression of the vertex shape function (i=1~8) recorded above can be specifically shown in the following formula (1):
[0072] ;Formula (1)
[0073] in, This represents the vertex displacement correlation result between the i-th first vertex and the second vertex; , and It is the difference (or distance difference) between the first and second vertices in the x, y, and z directions of the i-th vertex. , and This is a sign parameter, specifically taking the value of 1 or -1; the determination of the "±" sign is the same as the "±" sign for the displacement differences of each vertex; for example, when the displacement difference of a certain vertex is (2.58, -6.17, -5.87), the corresponding... , and The expression is (1, -1, -1), and so on, to obtain all the expressions.
[0074] Furthermore, the expression for the midpoint shape function recorded above can be shown in the following formulas (2)-(4); at the same time, the value of i here is 9~20.
[0075] when hour, ; Formula (2)
[0076] Among them, here This represents the midpoint displacement correlation result between the i-th first midpoint and the second midpoint; simultaneously, This represents the case where 4 out of 12 midpoints have values of (0, Y, Z) in the three-dimensional coordinate system. and The specific values are similar to the specific values of the vertex displacement association results.
[0077] when hour, ; Formula (3)
[0078] in, This represents the case where 4 out of 12 midpoints have values of (X, 0, Z) in the three-dimensional coordinate system. and The specific values are similar to the specific values of the vertex displacement association results.
[0079] when hour, ; Formula (4)
[0080] in, This represents the case where 4 out of 12 midpoints have values of (X, Y, 0) in the three-dimensional coordinate system. and The specific values are similar to the specific values of the vertex displacement association results.
[0081] This concludes the detailed determination and full implementation of the vertex displacement correlation results and the midpoint displacement correlation results. Based on this, the displacements of the remaining element nodes within the cube (i.e., the displacement differences of nodes other than the second vertex and the second midpoint) are then determined. It concerns 20 control points. The function (that is, the vertex displacement correlation result and the midpoint displacement correlation result) can be specifically shown in the following formula (5):
[0082] ; Formula (5)
[0083] in, For other displacement differences, The result is the vertex displacement correlation. This is the result of the midpoint displacement correlation; The difference in vertex displacement. This represents the difference in displacement at the midpoint.
[0084] Finally, once the displacements of all element nodes are determined, the initial coordinate values of the lattice structure are... Perform a displacement transformation on top, that is The transformed target vertex coordinates, target midpoint coordinates, and target node coordinates can be obtained. The initial coordinate values can then be replaced based on the target vertex coordinates, target midpoint coordinates, and target node coordinates to achieve shape transformation, thereby obtaining a complex contour model corresponding to the complex contour to be filled.
[0085] The following will further explain and illustrate the method for constructing complex contour models described in the exemplary embodiments of this disclosure, with reference to specific examples.
[0086] Example 1: Case without multiple segments (i.e., no need to segment the complex outline to be filled):
[0087] Specifically, taking a double-bladed turbine disk as an example, this paper elaborates on the use of a lattice structure to fill the cavity area of the double-bladed turbine disk and the related results.
[0088] Step 1: Fill a double-bladed turbine disk with a lattice structure. The geometry of the 3 / 4 sector of the double-bladed turbine disk is as follows: Figure 4 As shown in 401. For efficient filling, the 3 / 4 sector is simplified to 1 / 20 sector (as shown in 402). The area to be filled is enclosed by a black dashed line, and the filled area is light blue (as shown in 403). This area contains 8 vertices and twelve midpoints, therefore no partitioning is needed. The displacements of the 8 vertices of the filled area are recorded, as shown... Figure 5As shown. In this example embodiment, the displacements of the eight vertices in the three-dimensional Cartesian coordinate system (i.e., the difference in vertex displacement between the first vertex and the second vertex) are A1(-12,232.622, 0), A2(-12, 221.237, 71.884), A3(12, 221.237, 71.884), A4(10, 232.622, 0), A5(-45.940, 52.622, 0), A6(45.940, 50.047, 16.261), A7(45.940, 50.047, 16.261) and A8(45.940, 52.622, 0).
[0089] Step 2: Record the midpoint displacement difference of the twelve midpoints of the filled area, such as... Figure 6 As shown. In this example embodiment, the midpoint displacement differences of the twelve midpoints in the three-dimensional rectangular coordinate system are A9 (0, 232.622, 0), A... 10 (-12,229.759, 36.391), A 11 (0, 230.747, 74.974), A 12 (12, 229.759, 36.390), A 13 (-28.970, 142.622, 0), A 14 (-28.970, 135.642, 44.073), A 15 (28.970, 135.642, 44.073), A 16 (28.970, 142.622, 0), A 17 (0, 52.622, 0), A 18 (-45.940, 51.975, 8.232), A 19 (0, 50.047, 16.261) and A 20 (45.940, 51.975, 8.232).
[0090] Step 3: In this example, we choose an Octet lattice structure. We create a 3D model of the regular cubic lattice structure and determine the arrangement of the lattice structure after filling, as needed. Figure 7 As shown in 701. Import the 3D model into Abaqus software for mesh generation (both hexahedral and tetrahedral elements are acceptable). The resulting mesh can be seen as follows: Figure 7 As shown in 702, generate an .inp format file (such as...). Figure 7 As shown in 703, this file contains all the unit and node information.
[0091] Step 4: Using Python, read the element and node information from the .inp file. Based on the recorded coordinate values A1~A20, use the 3D element shape function method to transform the structure from a simple cubic shape to a more complex shape, and generate the transformed .inp file for import into Abaqus for display. Figure 8 As shown. Finally, by expanding sector 1 / 20 of the lattice structure to sector 3 / 4, we can obtain the following: Figure 9 The result shown in 901 is that the deformed lattice structure was finally filled into the double-bladed turbine disk, and the result is shown in [the image]. Figure 10 .
[0092] Example 2: Cases with multiple segments (i.e., complex outlines to be filled need to be segmented):
[0093] Taking a complex two-segment contour as an example, this paper illustrates the use of a lattice structure to fill the cavity region of the complex two-segment contour and the related results. Since most of the operation steps are similar to those in Example 1, this example focuses on explaining the different operation steps.
[0094] Step 1: Divide the complex two-segment contour into sections / segments. For details, please refer to... Figure 11 1101 in the middle; at the same time, after partitioning / segmenting, record the coordinates of the vertex and midpoint of each partition / segment, see details. Figure 11 As shown in 1102 and 1103.
[0095] Step 2: In this example, a chiral lattice structure is selected. A 3D model of the regular cubic lattice structure is created, and the arrangement of the lattice structure after infilling is determined as needed. The 3D model is then imported into Abaqus software for mesh generation. Figure 12 As shown in step 1201, generate an .inp format file (e.g., Figure 12 As shown in 1202), this file contains all the element and node information. Using Python, the element and node information in the .inp file is read. Based on the recorded coordinate values of each zone / segment A1~A20, a 3D element shape function method is used to transform the structure from a simple cubic shape to a more complex shape, generating a transformed .inp file which is then imported into Abaqus for display. Figure 12 As shown in 1203.
[0096] The following are embodiments of the apparatus disclosed herein, which can be used to execute embodiments of the method disclosed herein. For details not disclosed in the apparatus embodiments of this disclosure, please refer to the embodiments of the method disclosed herein.
[0097] This disclosure also provides an apparatus for constructing a complex contour model. Specifically, the apparatus for constructing a complex contour model may include a cube combination result determination module, a cube mesh generation module, a displacement difference determination module, and a complex contour model generation module. Wherein:
[0098] The cube combination result determination module is used to determine the coordinates of the first vertex and the first midpoint of the complex contour to be filled, and to perform 3D graphic modeling based on a preset regular cube structure to obtain the cube combination result; the cube mesh generation module is used to perform mesh generation on the cube combination result to obtain the mesh generation result, and to determine the coordinates of the second vertex and the second midpoint of the cube combination result based on the mesh generation result; the displacement difference determination module is used to determine the vertex displacement difference between the first vertex coordinates and the second vertex coordinates, and to determine the midpoint displacement difference between the first midpoint coordinates and the second midpoint coordinates; the complex contour model generation module is used to perform shape transformation on the cube combination result based on the vertex displacement difference and the midpoint displacement difference to obtain a complex contour model corresponding to the complex contour to be filled.
[0099] In an exemplary embodiment of this disclosure, the first vertex coordinates are the coordinates corresponding to the eight first vertices of the complex contour to be filled; the second vertex coordinates are the coordinates corresponding to the eight second vertices of the cube combination result; the first midpoint coordinates are the coordinates corresponding to the twelve first midpoints of the complex contour to be filled; the twelve first midpoints of the complex contour to be filled are the midpoints corresponding to the twelve edges formed by the eight first vertices in the complex contour to be filled; the second midpoint coordinates are the coordinates corresponding to the twelve second midpoints of the cube combination result; the twelve second midpoints of the cube combination result are the midpoints corresponding to the twelve edges formed by the eight second vertices in the cube combination result.
[0100] In one exemplary embodiment of this disclosure, determining the coordinates of the first vertex and the first midpoint of a complex contour to be filled includes: determining the first three-dimensional geometric boundary line of the complex contour to be filled, and determining whether the complex contour to be filled is a hexahedral structure based on the first three-dimensional geometric boundary line; if the complex contour to be filled is a hexahedral structure, then determining the coordinates of the first vertex and the first midpoint of the complex contour to be filled; if the complex contour to be filled is not a hexahedral structure, then determining whether the complex contour to be filled can be divided into a hexahedral structure based on the first three-dimensional geometric boundary line; if the complex contour to be filled can be divided into a hexahedral structure, then dividing the complex contour to be filled to obtain a contour partitioning result, and determining the coordinates of the first vertex and the first midpoint of the contour partitioning result.
[0101] In one exemplary embodiment of this disclosure, the process of meshing the cube combination result to obtain a meshing result includes: importing the cube combination result into a preset meshing software, and simplifying the imported cube combination result based on the preset meshing software to obtain a simplified cube combination result; determining the meshing parameters required for meshing the simplified cube combination result; wherein the meshing parameters include the mesh type and the mesh cell size; and performing meshing processing on the simplified cube combination result according to the meshing parameters based on the preset meshing software to obtain the meshing result.
[0102] In an exemplary embodiment of this disclosure, determining the second vertex coordinates and the second midpoint coordinates of the cube combination result based on the mesh division result includes: determining the second vertex coordinates of the cube combination result based on the mesh cells included in the mesh cell division result and the node coordinate information of the nodes corresponding to each mesh cell; determining the second three-dimensional geometric boundary line of the cube combination result based on the second vertex coordinates, and determining the midpoint coordinates of the second three-dimensional geometric boundary line to obtain the second midpoint coordinates.
[0103] In one exemplary embodiment of this disclosure, determining the vertex displacement difference between the first vertex coordinates and the second vertex coordinates, and determining the midpoint displacement difference between the first midpoint coordinates and the second midpoint coordinates, includes: mapping the cube combination result to a first three-dimensional geometric figure composed of a first three-dimensional boundary line of the complex contour to be filled or the contour partitioning result of the complex contour to be filled, to obtain a graphic mapping result; determining the second vertex coordinates associated with the first vertex coordinates and the second midpoint coordinates associated with the first midpoint coordinates based on the graphic mapping result; determining the vertex displacement difference based on the first vertex coordinates and the second vertex coordinates associated with the first vertex coordinates, and determining the midpoint displacement difference based on the first midpoint coordinates and the second midpoint coordinates associated with the first midpoint coordinates.
[0104] In one exemplary embodiment of this disclosure, the cube combination result is shape-transformed based on the vertex displacement difference and the midpoint displacement difference to obtain a complex contour model corresponding to the complex contour to be filled. This includes: constructing a vertex shape function corresponding to the second vertex of the cube combination result, and determining the vertex displacement association result between the first vertex and the second vertex based on the vertex shape function and the vertex displacement difference; constructing a midpoint shape function corresponding to the second midpoint of the cube combination result, and determining the midpoint displacement association result between the first midpoint and the second midpoint based on the midpoint shape function and the midpoint displacement difference; determining other displacement differences for nodes other than the second vertex and the second midpoint in the cube combination result based on the vertex displacement association result and the midpoint displacement association result; and performing a shape transformation on the cube combination result based on the vertex displacement difference, the midpoint displacement difference, and the other displacement differences to obtain a complex contour model corresponding to the complex contour to be filled.
[0105] In one exemplary embodiment of this disclosure, determining the displacement differences of other nodes in the cube combination result other than the second vertex and the second midpoint based on the vertex displacement association result and the midpoint displacement association result includes: constructing a vertex displacement association matrix based on the vertex displacement association result and the midpoint displacement association result, and constructing a midpoint displacement association matrix based on the vertex displacement difference and the midpoint displacement difference; calculating the product between the midpoint displacement association matrix and the vertex displacement association matrix to obtain the displacement differences of other nodes in the cube combination result other than the second vertex and the second midpoint.
[0106] In one exemplary embodiment of this disclosure, the cube combination result is shape-transformed based on the vertex displacement difference, midpoint displacement difference, and other displacement differences to obtain a complex contour model corresponding to the complex contour to be filled. This includes: determining the target vertex coordinates corresponding to the second vertex based on the vertex displacement difference and the second vertex coordinates; determining the target midpoint coordinates corresponding to the second midpoint based on the midpoint displacement difference and the second midpoint coordinates; determining the target node coordinates corresponding to other nodes based on the other displacement differences and the original node coordinates of other nodes; and performing a shape transformation on the cube combination result based on the target vertex coordinates, target midpoint coordinates, and target node coordinates to obtain a complex contour model corresponding to the complex contour to be filled.
[0107] The specific details of each module in the above-mentioned complex contour model construction device have been described in detail in the corresponding complex contour model construction method, so they will not be repeated here.
[0108] It should be noted that although several modules or units for the device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0109] Furthermore, although the steps of the method in this disclosure are described in a specific order in the accompanying drawings, this does not require or imply that the steps must be performed in that specific order, or that all the steps shown must be performed to achieve the desired result. Additional or alternative steps may be omitted, multiple steps may be combined into one step, and / or a step may be broken down into multiple steps.
[0110] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention described herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not invented by this disclosure. The specification and embodiments are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the claims.
Claims
1. A method for constructing a complex contour model, characterized in that, include: The coordinates of the first vertex and the first midpoint of the complex contour to be filled are determined, and a three-dimensional graphic model is performed based on a preset regular cube structure to obtain a cube combination result; the coordinates of the first vertex are the coordinates corresponding to the eight first vertices of the complex contour to be filled; the coordinates of the first midpoint are the coordinates corresponding to the twelve first midpoints of the complex contour to be filled. The cube combination result is divided into a grid to obtain a grid division result, and the coordinates of the second vertex and the second midpoint of the cube combination result are determined based on the grid division result; the coordinates of the second vertex are the coordinates corresponding to the eight second vertices of the cube combination result; the coordinates of the second midpoint are the coordinates corresponding to the twelve second midpoints of the cube combination result; Determine the difference in vertex displacement between the coordinates of the first vertex and the coordinates of the second vertex, and determine the difference in midpoint displacement between the coordinates of the first midpoint and the coordinates of the second midpoint; Based on the vertex displacement difference and midpoint displacement difference, the cube combination result is shape transformed to obtain a complex contour model corresponding to the complex contour to be filled. This includes: constructing a vertex shape function corresponding to the second vertex of the cube combination result, and determining the vertex displacement association result between the first vertex and the second vertex based on the vertex shape function and the vertex displacement difference; constructing a midpoint shape function corresponding to the second midpoint of the cube combination result, and determining the midpoint displacement association result between the first midpoint and the second midpoint based on the midpoint shape function and the midpoint displacement difference; and determining other displacement differences of other nodes in the cube combination result other than the second vertex and the second midpoint based on the vertex displacement association result and the midpoint displacement association result. Based on the vertex displacement difference, midpoint displacement difference, and other displacement differences, the cube combination result is transformed to obtain a complex contour model corresponding to the complex contour to be filled.
2. The method for constructing a complex contour model according to claim 1, characterized in that, The twelve first midpoints of the complex contour to be filled are the midpoints corresponding to the twelve edges formed by the eight first vertices in the complex contour to be filled. The twelve second midpoints of the cube combination result are the midpoints corresponding to the twelve edges formed by the eight second vertices in the cube combination result.
3. The method for constructing a complex contour model according to claim 1, characterized in that, Determine the coordinates of the first vertex and the first midpoint of the complex contour to be filled, including: Determine the first three-dimensional geometric boundary line of the complex contour to be filled, and based on the first three-dimensional geometric boundary line, determine whether the complex contour to be filled is a hexahedral structure; If the complex contour to be filled is a hexahedral structure, then the coordinates of the first vertex and the first midpoint of the complex contour to be filled are determined; if the complex contour to be filled is not a hexahedral structure, then it is determined whether the complex contour to be filled can be divided into a hexahedral structure based on the first three-dimensional geometric boundary line. If the complex contour to be filled can be divided into a hexahedral structure, then the complex contour to be filled is divided to obtain a contour partitioning result, and the coordinates of the first vertex and the first midpoint of the contour partitioning result are determined.
4. The method for constructing a complex contour model according to claim 1, characterized in that, The resulting cube combination is meshed to obtain a meshing result, including: The cube combination results are imported into a preset mesh generation software, and the imported cube combination results are simplified based on the preset mesh generation software to obtain simplified cube combination results. Determine the meshing parameters required for meshing the simplified cube combination result; wherein, the meshing parameters include mesh type and mesh cell size; Based on the preset mesh generation software, the simplified cube combination result is meshed according to the mesh generation parameters to obtain the mesh generation result.
5. The method for constructing a complex contour model according to claim 1, characterized in that, Based on the mesh generation results, the coordinates of the second vertex and the second midpoint of the cube combination are determined, including: Based on the grid cells included in the grid division result and the node coordinate information of the nodes corresponding to each grid cell, the coordinates of the second vertex of the cube combination result are determined; The second three-dimensional geometric boundary line of the cube combination result is determined based on the second vertex coordinates, and the midpoint coordinates of the second three-dimensional geometric boundary line are determined to obtain the second midpoint coordinates.
6. The method for constructing a complex contour model according to claim 1, characterized in that, Determining the vertex displacement difference between the first vertex coordinates and the second vertex coordinates, and determining the midpoint displacement difference between the first midpoint coordinates and the second midpoint coordinates, includes: The cube combination result is mapped to a first three-dimensional geometry composed of the first three-dimensional boundary lines of the complex contour to be filled or the contour partitioning result of the complex contour to be filled, to obtain a graphic mapping result. Based on the graphic mapping result, determine the coordinates of the second vertex associated with the coordinates of the first vertex, and the coordinates of the second midpoint associated with the coordinates of the first midpoint; The vertex displacement difference is determined based on the first vertex coordinates and the second vertex coordinates associated with the first vertex coordinates, and the midpoint displacement difference is determined based on the first midpoint coordinates and the second midpoint coordinates associated with the first midpoint coordinates.
7. The method for constructing a complex contour model according to claim 1, characterized in that, Based on the vertex displacement correlation results and the midpoint displacement correlation results, determine the other displacement differences of the nodes in the cube combination result, excluding the second vertex and the second midpoint, including: Based on the vertex displacement correlation results and the midpoint displacement correlation results, construct the vertex displacement correlation matrix, and based on the vertex displacement difference and the midpoint displacement difference, construct the midpoint displacement correlation matrix. Calculate the product between the midpoint displacement correlation matrix and the vertex displacement correlation matrix to obtain the displacement differences of other nodes in the cube combination result, excluding the second vertex and the second midpoint.
8. The method for constructing a complex contour model according to claim 1, characterized in that, Based on the vertex displacement difference, midpoint displacement difference, and other displacement differences, the cube combination result is subjected to shape transformation to obtain a complex contour model corresponding to the complex contour to be filled, including: Based on the vertex displacement difference and the second vertex coordinates, the target vertex coordinates corresponding to the second vertex are determined, and based on the midpoint displacement difference and the second midpoint coordinates, the target midpoint coordinates corresponding to the second midpoint are determined. Based on the other displacement differences and the original node coordinates of other nodes, determine the target node coordinates corresponding to other nodes; Based on the target vertex coordinates, target midpoint coordinates, and target node coordinates, the cube combination result is transformed to obtain a complex contour model corresponding to the complex contour to be filled.
9. A device for constructing a complex contour model, characterized in that, include: The cube combination result determination module is used to determine the coordinates of the first vertex and the first midpoint of the complex contour to be filled, and to obtain the cube combination result by performing three-dimensional graphic modeling based on the preset regular cube structure. A cube meshing module is used to perform meshing on the cube combination result to obtain a meshing result, and to determine the coordinates of the second vertex and the second midpoint of the cube combination result based on the meshing result; The displacement difference determination module is used to determine the vertex displacement difference between the coordinates of the first vertex and the coordinates of the second vertex, and to determine the midpoint displacement difference between the coordinates of the first midpoint and the coordinates of the second midpoint; A complex contour model generation module is used to perform shape transformation on the cube combination result based on the vertex displacement difference and the midpoint displacement difference to obtain a complex contour model corresponding to the complex contour to be filled. This includes: constructing a vertex shape function corresponding to the second vertex of the cube combination result, and determining the vertex displacement association result between the first vertex and the second vertex based on the vertex shape function and the vertex displacement difference; constructing a midpoint shape function corresponding to the second midpoint of the cube combination result, and determining the midpoint displacement association result between the first midpoint and the second midpoint based on the midpoint shape function and the midpoint displacement difference; and determining other displacement differences for nodes other than the second vertex and the second midpoint in the cube combination result based on the vertex displacement association result and the midpoint displacement association result. Based on the vertex displacement difference, midpoint displacement difference, and other displacement differences, the cube combination result is transformed to obtain a complex contour model corresponding to the complex contour to be filled.
Citation Information
Patent Citations
Gradient conformal dot matrix design method and system based on topological optimization density field mapping and application
CN119378253A
Construction method and device of three-dimensional fracture network rock mass model and computer equipment
CN119379952A