Non-structural grid-based adaptive refinement fairing method for curved boundary of computational domain

By correcting the leaf blocks and mesh configuration nodes of the curved boundary, and using the Newton-Raphson iterative projection method or the second-order non-uniform rational B-spline reconstruction method, the fitting accuracy of the mesh to the curved boundary is improved, the mesh deviation problem in the prior art is solved, and high-precision numerical simulation is achieved.

CN123179984APending Publication Date: 2026-11-27HARBIN ENG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611363991.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

When curved boundaries exist in the computational domain, existing AMR methods cannot effectively improve the mesh fitting accuracy to the curved boundaries, causing the configured nodes to deviate from the actual curved boundaries and affecting the accuracy of numerical simulation.

Method used

An adaptive refinement and smoothing method based on unstructured meshes is adopted. By correcting the leaf blocks and mesh configuration nodes adjacent to the curved boundary, the configuration nodes are gradually adjusted to the actual curved boundary position using the Newton-Raphson iterative projection method or the second-order non-uniform rational B-spline reconstruction method to ensure mesh quality.

Benefits of technology

It improves the mesh fitting accuracy to curved boundaries, eliminates geometric deviations, meets the requirements of high-resolution numerical simulation of physical quantities, and maintains the flexibility and reliability of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179984A_ABST
    Figure CN123179984A_ABST
Patent Text Reader

Abstract

The application discloses a self-adapting refinement fairing method for a curved boundary of a calculation domain based on a non-structure grid, and belongs to the technical field of numerical simulation of a curved boundary structure in fluid mechanics. Firstly, a node of a new leaf block adjacent to the curved boundary structure in fluid mechanics is corrected; then, based on the corrected leaf block boundary, a node of a grid inside the leaf block is generated through linear interpolation; finally, the node of the grid adjacent to the curved boundary structure in fluid mechanics is corrected, so that progressive fairing from the block to the grid is ensured, and the final grid quality is ensured. The application improves the fitting precision of the curved boundary structure in fluid mechanics, ensures the grid quality, and avoids the problem that the internal grid of the leaf block is distorted due to excessive correction of the node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of numerical simulation technology of curved boundary structures in fluid mechanics, specifically involving an adaptive refinement and smoothing method for curved boundaries in a computational domain based on unstructured meshes. Background Technology

[0002] Driven by high-performance computing technology, numerical simulation has become an important research tool in the field of mechanics. As problem complexity increases and understanding deepens, the requirements for simulation accuracy also rise. Therefore, the development and application of high-precision algorithms such as discontinuous Galerkin algorithms are receiving increasing attention. High-precision algorithms are often combined with adaptive mesh refinement (AMR) techniques to achieve detailed and efficient numerical simulations. However, when curved boundaries exist in the computational domain, the accuracy of the mesh's geometric fit to these boundaries in fluid dynamics significantly impacts the numerical results, becoming a crucial concern in high-precision simulations.

[0003] A common approach to AMR (Automatic Mapping) is to use block elements as the basic unit of execution, encompassing all AMR method frameworks. The core idea is to divide the computational domain into a series of initial blocks with a uniform data structure. After AMR operations, these blocks form a series of leaf blocks (if not refined, the initial blocks are leaf blocks). Each leaf block is then discretized into several grids for actual computation. When discretized into only one grid, it transforms into the most conventional AMR method using the grid as the basic unit. Furthermore, this approach features a simple data structure, allows for the use of unstructured block topology connections to enhance flexibility in handling complex geometric computational domains, leverages the compact numerical format of the discontinuous Galerkin method, and is compatible with efficient parallel algorithms.

[0004] In the above scheme, both the AMR process for the blocks and the discretization process of the mesh are implemented using linear interpolation based on the block's configuration nodes. When the computational domain has curved boundaries, although the configuration nodes corresponding to the initial blocks adjacent to the curved boundaries are always located on the curved boundaries, there is still a geometric gap between the initial block boundary itself corresponding to the configuration node and the actual curved boundary. In the subsequent refinement process, the configuration nodes corresponding to the newly generated sub-blocks and meshes on these initial block boundaries will deviate significantly from the actual curved boundaries, thus introducing sharp edges in the geometric representation and failing to effectively improve the fitting accuracy of the refined mesh to the curved boundaries.

[0005] In summary, improving the geometric fitting accuracy of refined meshes to the curved boundaries of the computational domain is of great significance for achieving high-resolution and high-reliability numerical simulations of physical quantities in their vicinity. Summary of the Invention

[0006] This invention provides an adaptive refinement and smoothing method for curved boundaries in computational domains based on unstructured meshes. This method improves the fitting accuracy of curved boundary structures in fluid mechanics while ensuring mesh quality, and avoids the problem of mesh distortion inside blade blocks caused by excessive modification of configured nodes.

[0007] This invention is achieved through the following technical solution: An adaptive refinement and smoothing method for curved boundaries in a computational domain based on unstructured meshes is proposed. The method involves first correcting the configuration nodes of newly formed blade blocks with curved boundary structures in adjacent fluid dynamics; then generating mesh configuration nodes within the corrected blade block boundaries through linear interpolation; and finally correcting the mesh configuration nodes of the curved boundary structures in adjacent fluid dynamics, thereby ensuring a progressive smoothing from block to mesh and guaranteeing the final mesh quality.

[0008] Furthermore, the method specifically includes the following steps: Step 1: Identify the initial unstructured blocks adjacent to the curved boundary in the computational domain and set their target refinement level as [value missing]. L AMR = N That is, it needs to go through N -1 refinement yields the final refinement level of the leaf block adjacent to the curved boundary. N ; Step 2: Determine whether the boundary of the computational domain has a definite analytical equation. If it does, use the Newton-Raphson iterative projection method; if not, use the second-order non-uniform rational B-spline reconstruction method. Step 3: Perform the first refinement on the initial unstructured blocks of the curved boundary identified in Step 1; then, based on the smoothing scheme selected in Step 2, correct the configuration nodes in the newly formed sub-blocks adjacent to the curved boundary that deviate from the actual curved boundary; repeat this refinement and correction process cyclically until the refinement level of the curved boundary leaf blocks is reached. L AMR Reach the target level N ; Step 4: After step 3 is completed, the entire computational domain consists of a series of leaf blocks. Each leaf block is discretized into several grids through linear interpolation. Based on the smoothing scheme selected in step 2, the configuration nodes in the grids adjacent to the curved boundary that deviate from the curved boundary are finally corrected, thereby completing the complete and high-precision refined smoothing fitting of the entire curved boundary from block to grid.

[0009] Furthermore, the method also includes the following steps: Step 5: After step 3 is completed, the entire computational domain consists of a series of leaf blocks. If the internal structure is discretized into a single grid, the grid configuration nodes are the same as the leaf block configuration nodes. There is no need to modify the configuration nodes of the curved boundary grid again. The grid is the basic execution unit of AMR. Therefore, step 4 can be omitted, thus completing the complete, high-precision, refined, and smooth fitting of the entire curved boundary from block to grid.

[0010] Furthermore, the initial refinement level of the initial block in step 1. L AMR =1, setting its target refinement level to 1. L AMR = N ,in N ≥1, meaning the initial block needs to be processed. N -1 refinement results in the final refinement level of the leaf blocks adjacent to the curved boundary being... N .

[0011] Furthermore, step 2 specifically involves: The Newton-Raphson iterative projection method iteratively projects the configuration nodes that deviate from the actual curved boundary obtained by linear interpolation to the precise boundary position defined by the analytical equation. The second-order non-uniform rational B-spline reconstruction method utilizes the existing configuration node information on the curved boundary to reconstruct and smooth the configuration nodes that deviate from the actual curved boundary by constructing a second-order non-uniform rational B-spline curve (surface).

[0012] An adaptive refinement and smoothing system for the curved boundary of a computational domain based on an unstructured mesh is provided. The system employs the aforementioned adaptive refinement and smoothing method for the curved boundary of a computational domain based on an unstructured mesh. Specifically, the system includes: Leaf block refinement level unit: Identifies the initial unstructured block adjacent to the curved boundary in the computational domain and sets its target refinement level as [value missing]. L AMR = N That is, it needs to go through N -1 refinement yields the final refinement level of the leaf block adjacent to the curved boundary. N ; Smoothing scheme for selecting elements: Determine whether the curvature boundary of the computational domain has a definite analytical equation. If it does, use the Newton-Raphson iterative projection method; if not, use the second-order non-uniform rational B-spline reconstruction method. The smoothing scheme execution unit performs the first refinement on the initial unstructured blocks of the curved boundary identified by the blade block refinement level unit. Subsequently, based on the smoothing scheme selected by the smoothing scheme selection unit, it corrects the configuration nodes in the newly formed sub-blocks adjacent to the curved boundary that deviate from the actual curved boundary. This refinement and correction process is repeated cyclically until the refinement level of the curved boundary blade block is reached. L AMRReach the target level N ; Final Correction Unit: After the smoothing scheme execution unit completes the refinement, the entire computational domain consists of a series of leaf blocks. Each leaf block is discretized into several grids through linear interpolation. Based on the smoothing scheme selected by the smoothing scheme selection unit, the configuration nodes in the grids adjacent to the curved boundary that deviate from the curved boundary are finally corrected, thereby completing the complete and high-precision refined smoothing fitting of the entire curved boundary from block to grid.

[0013] Furthermore, the system also includes: Single-grid execution unit: After the smoothing scheme execution unit has completed the refinement, the entire computational domain consists of a series of leaf blocks. If its internal structure is discretized into only one grid, the grid configuration node is the same as the leaf block configuration node. There is no need to modify the configuration node of the curved boundary grid again. The grid is the basic execution unit of AMR. Therefore, the final correction unit can be omitted, thereby completing the complete and high-precision smoothing and refinement fitting of the entire curved boundary from block to grid.

[0014] Furthermore, the initial refinement level of the initial block in the leaf block refinement level unit. L AMR =1, setting its target refinement level to 1. L AMR = N ,in N ≥1, meaning the initial block needs to be processed. N -1 refinement results in the final refinement level of the leaf blocks adjacent to the curved boundary being... N .

[0015] Furthermore, when the smoothing scheme selection unit selects the Newton-Raphson iterative projection method, iteratively projects the configuration nodes that deviate from the actual curved boundary obtained by linear interpolation to the precise boundary position defined by the analytical equation. When the smoothing scheme selection unit selects the second-order non-uniform rational B-spline reconstruction method, it uses the existing configuration node information on the curved boundary to reconstruct and smooth the configuration nodes that deviate from the actual curved boundary by constructing a second-order non-uniform rational B-spline curve (surface).

[0016] An adaptive refinement and smoothing method for computational domain curved boundaries, as described above, is applied to all AMR frameworks. During the AMR process, leaf blocks or mesh configuration nodes adjacent to curved boundaries are smoothed to eliminate geometric deviations caused by linear interpolation, thereby dynamically improving the fitting accuracy of the refined mesh to the curved boundaries.

[0017] The beneficial effects of this invention are: This invention maintains the simplicity and compactness of the underlying data structure; the algorithm logic is clear, the two schemes are highly adaptable, and it combines flexibility and reliability; it is applicable to all AMR method systems and can provide an effective high-resolution fitting solution for curved boundaries in AMR numerical simulation of high-precision algorithms (such as the discontinuous Galerkin method). Attached Figure Description

[0018] Figure 1 This is a flowchart of the method of the present invention.

[0019] Figure 2 The present invention relates to different refinement levels of leaf blocks and their mesh configurations in two-dimensional space. Ne =4).

[0020] Figure 3 This is a schematic diagram of the adaptive refinement and smoothing of the two-dimensional computational domain curved boundary of the present invention, wherein (a) is the initial block, (b) is the first refinement, and (c) is the configuration node of the correction block and the mesh.

[0021] Figure 4 This is a schematic diagram of the configuration node reconstruction of curved boundary blocks based on the second smoothing scheme in the two-dimensional space of the present invention.

[0022] Figure 5 This is a schematic diagram of the processing strategy for the inflection point of the curved boundary in the second smoothing scheme in two-dimensional space of the present invention.

[0023] Figure 6 This is a schematic diagram of the iterative projection process of scattered points around the two-dimensional circular curved boundary of the present invention based on the smoothing scheme one.

[0024] Figure 7 This is a schematic diagram of the iterative projection process of scattered points around the two-dimensional elliptic boundary based on the smoothing scheme one of the present invention.

[0025] Figure 8 This invention relates to an adaptive thinning and smoothing process for a two-dimensional circular surface based on a smoothing scheme. L AMR =5, Ne =2), where (a) is the initial block, (b) is the curved boundary AMR, and (c) is the curved boundary AMR + Scheme 1.

[0026] Figure 9 This invention relates to an adaptive thinning and smoothing process for a two-dimensional ellipse based on smoothing scheme one. L AMR =4, Ne =2), where (a) is the initial block, (b) is the curved boundary AMR, and (c) is the curved boundary AMR + Scheme 1.

[0027] Figure 10This invention relates to the adaptive thinning and smoothing process of a two-dimensional heart-shaped smoothing scheme based on the second smoothing method. L AMR =5, Ne =2), where (a) is the initial block, (b) is the curved boundary AMR, and (c) is the curved boundary AMR + Scheme 2.

[0028] Figure 11 This invention relates to the adaptive refinement and smoothing effect of a two-dimensional circle based on two smoothing schemes. L AMR =5, Ne =2), where (a) is the curved boundary AMR+ scheme one, and (b) is the curved boundary AMR+ scheme two.

[0029] Figure 12 This invention describes the adaptive smoothing process and effects of a three-dimensional sphere based on two smoothing schemes. L AMR =2, Ne =2), where (a) is the initial block, (b) is the curved boundary AMR, (c) is the curved boundary AMR + Scheme 1, and (d) is the curved boundary AMR + Scheme 2.

[0030] Figure 13 The three-dimensional gourd of this invention is based on the adaptive refinement and smoothing process of smoothing scheme two. L AMR =2, Ne =2), where (a) is the initial block, (b) is the curved boundary AMR, and (c) is the curved boundary AMR + Scheme 2. Detailed Implementation

[0031] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of this application with unnecessary detail.

[0032] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0033] It should also be understood that the terminology used in this application specification is for the purpose of describing particular embodiments only and is not intended to limit the application. As used in this application specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.

[0034] The following is in conjunction with the appendix to this application specification. Figure 1-13 The technical solutions in the embodiments of this application are clearly and completely described. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0035] Many specific details are set forth in the following description in order to provide a full understanding of this application. However, this application may also be implemented in other ways different from those described herein. Those skilled in the art can make similar extensions without departing from the spirit of this application. Therefore, this application is not limited to the specific embodiments disclosed below.

[0036] Implementation Method 1 This embodiment provides an adaptive refinement and smoothing method for curved boundaries in a computational domain based on unstructured meshes. The method involves first correcting the configuration nodes of newly formed blade blocks with curved boundary structures in adjacent fluid dynamics; then generating mesh configuration nodes within the corrected blade block boundaries through linear interpolation; and finally correcting the mesh configuration nodes of the curved boundary structures in adjacent fluid dynamics, thus ensuring progressive smoothing from block to mesh and guaranteeing the final mesh quality.

[0037] Furthermore, the method specifically includes the following steps: Step 1: Identify the initial unstructured blocks adjacent to the curved boundary in the computational domain and set their target refinement level as follows. L AMR = N That is, it needs to go through N -1 refinement yields the final refinement level of the leaf block adjacent to the curved boundary. N ; Step 2: Determine whether the curvilinear boundary of the computational domain has a definite analytical equation, and select the corresponding smoothing scheme to correct the configuration nodes that deviate from the curvilinear boundary; if so, use the Newton-Raphson iterative projection method; if not, use the second-order non-uniform rational B-spline reconstruction method. Step 3: Perform the first refinement on the initial unstructured blocks of the curved boundary identified in Step 1; then, based on the smoothing scheme selected in Step 2, correct the configuration nodes in the newly formed sub-blocks adjacent to the curved boundary that deviate from the actual curved boundary; repeat this refinement and correction process cyclically until the refinement level of the curved boundary leaf blocks is reached.L AMR Reach the target level N ; Step 4: After step 3 is completed, the entire computational domain consists of a series of leaf blocks. Each leaf block is discretized into several grids through linear interpolation. Based on the smoothing scheme selected in step 2, the configuration nodes in the grids adjacent to the curved boundary that deviate from the curved boundary are finally corrected, thereby completing the complete and high-precision refined smoothing fitting of the entire curved boundary from block to grid.

[0038] Furthermore, the method also includes the following steps: Step 5: After step 3 is completed, the entire computational domain consists of a series of leaf blocks. If the internal structure is discretized into a single grid, the grid configuration nodes are the same as the leaf block configuration nodes. There is no need to modify the configuration nodes of the curved boundary grid again. The grid is the basic execution unit of AMR. Therefore, step 4 can be omitted, thus completing the complete, high-precision, refined, and smooth fitting of the entire curved boundary from block to grid.

[0039] Furthermore, the initial refinement level of the initial block in step 1. L AMR =1, setting its target refinement level to... L AMR = N ,in N ≥1, meaning the initial block needs to be processed. N -1 refinement results in the final refinement level of the leaf blocks adjacent to the curved boundary being... N .

[0040] Furthermore, step 2 specifically involves: The Newton-Raphson iterative projection method is applicable to cases where the curved boundary has a definite analytical equation. This method iteratively projects the configuration nodes that deviate from the actual curved boundary obtained by linear interpolation to the precise boundary position defined by the analytical equation. The second-order non-uniform rational B-spline reconstruction method is applicable to situations where the curved boundary has no explicit analytical equation and is only described by a few scattered points. This method utilizes the existing configuration node information on the curved boundary to reconstruct and smooth the configuration nodes that deviate from the actual curved boundary by constructing a second-order non-uniform rational B-spline curve (surface).

[0041] Both of the above schemes can be integrated into various AMR frameworks. As the refinement level increases, the fitting accuracy to the real geometric boundaries is continuously improved by correcting the boundary configuration nodes. The universality and effectiveness of this method are verified through boundary smoothing tests on various 2D and 3D models.

[0042] Taking a block-based AMR scheme as an example, to improve the fitting accuracy of curved boundaries while ensuring mesh quality and avoiding distortion of the internal mesh of leaf blocks due to over-correction of configuration nodes, the smoothing method of this invention follows a specific execution order: first, correct the configuration nodes of newly formed leaf blocks adjacent to curved boundaries; then, based on the corrected leaf block boundaries, generate the internal mesh configuration nodes through linear interpolation; finally, correct the mesh configuration nodes adjacent to curved boundaries. This process ensures progressive smoothing from block to mesh, thereby guaranteeing the final mesh quality.

[0043] This invention will describe specific embodiments using a block-based AMR scheme. Specifically, the block form in two-dimensional and three-dimensional space is selected as quadrilateral and hexahedron, respectively. After refinement, these can be divided into four and eight sub-blocks, respectively. Subsequently, the interior of the leaf block is discretized into... Ne D 1 grid, of which Ne The number of grid cells on each boundary of the leaf block. D The dimension is denoted by . It should be noted that the core of this invention lies in achieving smoothness by modifying the configuration nodes of the curved boundary. Therefore, the above definition is only used for the specific embodiments of this invention. The curved boundary smoothing method of this invention is also applicable to AMR systems composed of other block forms such as two-dimensional triangular shapes, three-dimensional tetrahedrons, and other discrete forms of internal meshes. Figure 2 Showing when Ne A schematic diagram of leaf blocks and their internal mesh configurations at three different refinement levels in a 2D scene when set to 4.

[0044] In the AMR scheme, for the initial unstructured block adjacent to the curved boundary, such as Figure 3 As shown in (a), although its configuration nodes are located on the actual curved boundary, its block boundary (straight line or plane) cannot perfectly fit the computational domain curved boundary, exhibiting sharp edges or gaps. If it is directly used as a leaf block for meshing, the configuration nodes of the curved boundary mesh will also deviate. If AMR is performed on it, the configuration nodes of the subsequent corresponding new sub-blocks and internal meshes will also deviate, such as... Figure 3 As shown in (b). Therefore, this invention proposes an adaptive refinement and smoothing method for computational domain curvature boundaries, which dynamically adjusts the configuration nodes during the refinement process to achieve the following: Figure 3 (c) shows the high-precision fitting effect, and the fitting accuracy can be improved synchronously with the increase of refinement level. The specific technical flowchart can be seen here. Figure 1 .

[0045] Curved Boundary Smoothing Scheme In the technical approach of this invention, selecting and implementing a suitable curved boundary smoothing scheme is a crucial step. This invention provides two schemes: the Newton-Raphson iterative projection method and the second-order non-uniform rational B-spline reconstruction method. For ease of subsequent description, the configuration node coordinates of the block or mesh to be corrected, which deviates from the actual curved boundary, will be uniformly represented as X. The smoothing principles and implementation steps of the two schemes will be explained below.

[0046] Option 1: Newton-Raphson Iterative Projection Method This method is applicable to cases where the boundary of a computational domain has a well-defined analytical equation. Let the analytical equation of the boundary be... f If point X lies on the boundary of the curve, then the following condition is satisfied: Otherwise, the point deviates from the curved boundary and needs to be mapped onto the actual curved boundary using a projection algorithm. The specific iterative projection steps are as follows: (1) Determine the projection direction: The projection direction is taken as the function value. The direction of the unit vector of the gradient, i.e. ; (2) Determine the projection step size: The signed distance from point X to the boundary of the curve is determined by the function value. Characterization, and As a projection correction amount; (3) Iterative update: X is iteratively projected and updated using the following formula until the preset convergence accuracy requirement is met, such as ,in It is a very small number greater than zero.

[0047] (1) in, k This indicates the number of iterations. Because this method exhibits quadratic convergence, it typically converges quickly to a satisfactory result with only a few iterations.

[0048] It should be noted that if the curved boundary itself has sharp inflection points (two-dimensional) or polyline segments (three-dimensional), its analytical equation usually needs to be represented in piecewise form. Under the framework of the present invention, the algorithm logic still applies when performing gradient calculation and projection operations independently for each segment boundary. Therefore, this scheme does not require additional special processing for inflection points or polyline segments.

[0049] Option 2: Second-order non-uniform rational B-spline reconstruction method This method is applicable when there is no explicit analytical equation for the boundary of the computation domain. Due to the lack of a global implicit equation to guide the implementation, the implementation of this scheme depends on the distribution of the initial blocks near the boundary, specifically on the coordinates of the configured nodes in the initial blocks that fall precisely on the boundary. Figure 4This diagram illustrates the reconstruction of block configuration nodes that deviate from the curved boundary using this smoothing scheme in two-dimensional space. The diagram shows partial views of three initial blocks adjacent to the curved boundary of the red computational domain. Taking the middle block as an example, its two initial configuration nodes X1 and X2 are precisely located on the curved boundary. When this middle block is refined once, four sub-blocks are generated within it through linear interpolation. At this point, the midpoint X of the block boundary closest to the curved boundary... m The configuration nodes of the newly formed sub-blocks will deviate significantly from the actual curved boundaries. The purpose of the second-order non-uniform rational B-spline reconstruction method is to smooth these deviated nodes. The specific reconstruction steps of this method are as follows: (1) Determine the normal vector: First, it is necessary to determine the normal vector at the location of the newly created and initially configured nodes, where n m For X m The average normal vector at the initial configuration nodes X1 and X2, n1 and n2, can be obtained by the weighted average of the normal vectors of the surrounding block boundary surfaces, as follows: j and A j These are the adjacent nodes of the currently configured node. j The normal vector and area of ​​each boundary surface; (2) (2) Determine auxiliary control points: Determine the auxiliary control points X3 and X4 required for reconstruction. These two points are respectively the vertical extensions of n1 and n2 drawn through X1 and X2, and the lines intersecting n1 and n2. m The intersection of the directional straight lines; (3) Perform reconstruction: Reconstruct X using the following formula m The process involves reconstructing and smoothing the process, ultimately resulting in the updated red configuration node X.

[0050] (3) in This is the scaling factor, and it has In this embodiment, take .

[0051] The smoothing principle is similar for three-dimensional cases, and the updated configuration node coordinates can be represented as: (4) in N i and X ij These are the bilinear interpolation weights and the control points of the non-uniform rational B-spline surface, respectively.

[0052] It should be noted that the smoothing effect of the second-order non-uniform rational B-spline reconstruction method is highly dependent on the configuration node positions of the initial block of the curved boundary. That is, when determining the normal vector at the configuration node in step 1, the normal vector information of the surrounding adjacent boundary surfaces is required. Therefore, if the curved boundary itself has sharp inflection points (two-dimensional) or polyline segments (three-dimensional), it is necessary to use these configuration nodes located at the inflection points to truncate the original curved boundary, divide it into mutually independent curved boundaries, define virtual boundaries for them, and then reconstruct and smooth each segment of the curved boundary separately. Figure 5 This demonstrates a special processing procedure for inflection points (blue) in two-dimensional space. Node X is configured using the newly formed sub-block created by refining the block containing the inflection point in the diagram. m For example, it can be seen that if the inflection point is not used to truncate and partition the curved boundary at this point, directly based on... Figure 4 The red configuration node X obtained by conventional reconstruction methods deviates significantly from the actual curved boundary. This is because the normal vectors on both sides of the inflection point change drastically, severely affecting the weighted calculation of the normal vector n2 at X2, causing the obtained control point X4 to be far from the actual curved boundary. To avoid reconstruction anomalies caused by the inflection point effect, this invention proposes to truncate the curved boundary at the inflection point into independent upper and lower curved boundaries, and set adjacent virtual boundaries for each. Taking the upper curved boundary as an example, X1 is symmetrically extended along X2 to form a virtual point. This results in a new normal vector. Perpendicular to the line Thus, the control point X4 obtained is the same as the target point X. m Overlapping, thus obtaining a new red configuration node that better meets the requirements of geometric smoothing. .

[0053] The smoothing process for mesh configuration nodes that deviate from the curved boundary in both schemes is the same as the implementation process for block configuration nodes described above, and will not be repeated here.

[0054] Test case: Two-dimensional curved boundary Circular and elliptical curved boundaries with clearly defined analytical equations were selected for testing. Their analytical equations are as follows: and For the two types of regular curve boundaries mentioned above, adaptive refinement and smoothing verification can be performed using the smoothing scheme one (Newton-Raphson iterative projection method).

[0055] To test the projection smoothing effect of Smoothing Scheme 1, iterative projection verification was performed on the curved boundaries of circles and ellipses in the first quadrant. First, using... x Six scattered points (solid black centers) are selected on the elliptic boundary with an equal spacing of 0.4 along the axial direction as initial configuration nodes deviating from the circular boundary (red), as follows. Figure 6As shown. Based on equation (1), three iterative projections are performed on each scattered point. The dashed lines in the figure represent the iterative paths of each scattered point, and their directions basically conform to the normal (radial) of the circle. The results show that the corrected red solid scattered point positions can quickly converge to the true red circular curved boundary. Similarly, Figure 7 The iterative projection process of scattered points around the elliptical boundary is demonstrated. The scattered points are selected along the first quadrant at equal intervals of 15 degrees on the circular boundary, and their iteration path basically represents the normal direction of the ellipse. The above results show that the smaller the distance of the initially configured nodes from the actual boundary, the faster the convergence speed. Overall, the smoothing scheme 1 can achieve a significant correction effect with only a few iterations.

[0056] Furthermore, circular and elliptical computational domains were established in ABAQUS to test the smoothing performance of Smoothing Scheme 1 in actual AMR processes. Figure 8 and Figure 9 The adaptive refinement and smoothing processes of both methods are demonstrated. Taking a circular computational domain as an example: it initially consists of 12 initial blocks, and the circular curved boundary consists of 8 block boundaries. All its initial configuration nodes are precisely located on the actual red curved boundary, such as... Figure 8 As shown in (a), the refinement level of the curved boundary block is set. L AMR =5, Mesh parameter Ne =2. If the AMR operation is performed directly, the configuration nodes of the boundary-generated block and its internal mesh will generally deviate from the actual boundary, such as... Figure 8 As shown in (b). The correction strategy of the smoothing scheme one proposed in this invention can effectively solve the above problems. The specific steps are as follows: First, perform AMR operation on the block, and correct the configuration nodes of the newly generated boundary block to the actual boundary through iterative projection; then, perform mesh generation inside the block, and continue to iteratively project the configuration nodes of the boundary mesh to the actual boundary. Through this process, high-precision adaptive refinement and smoothing of the curved boundary of the circular computational domain is finally completed, as shown in (b). Figure 8 As shown in (c). Combined with Figure 9 middle L AMR =4, Ne The results of smoothing the elliptical computational domain boundary with 2 show that, after processing by this invention, the computational domain boundary and the actual curved boundary match well, and the fitting accuracy of the refined mesh is significantly improved.

[0057] To test the second smoothing scheme (second-order non-uniform rational B-spline reconstruction method), a cardioid boundary without a clearly defined analytical equation was selected as the test object. Sixteen initial points were chosen to describe the cardioid boundary, which was then divided into 19 initial blocks, as shown below. Figure 10 As shown in (a), the concave point above and the convex point below the heart-shaped boundary are both geometric inflection points. The heart-shaped boundary needs to be truncated at these inflection points, dividing it into two independent curved boundary segments for further processing. LAMR =5, Ne =2, Figure 10 (b) and (c) compare the block and mesh distribution of directly performing AMR and combining it with the second smoothing scheme, respectively. It is evident that this invention achieves excellent smoothing of the cardioid boundary. The specific steps are as follows: first, perform AMR on the block to reconstruct and correct the configuration nodes of the newly created boundary block; then, mesh the area within the block and continue to reconstruct the configuration nodes of the boundary mesh. This process effectively completes the adaptive refinement and smoothing of the cardioid computational domain boundary. It can also be seen that the inflection points are properly handled and do not adversely affect the overall smoothing effect.

[0058] The smoothing effect of the second smoothing scheme depends on the distribution of the initial configuration nodes of the curved boundary. If the initial configuration node distribution of the curved boundary is relatively uniform, the second smoothing scheme can be used even for some curved boundaries with analytical equations. Figure 11 The adaptive refinement and smoothing effects of two smoothing schemes on the curved boundary of a circular computational domain are demonstrated, and the results show that both can achieve considerable mesh fitting accuracy.

[0059] 3D curved boundary: To further verify the applicability and robustness of this invention in complex three-dimensional spaces, a challenging three-dimensional curved boundary model is used for testing. First, a standard three-dimensional sphere computational domain is selected for testing, with its analytical equation being: Set the boundary refinement level. L AMR =2, mesh parameter Ne =2. Figure 12 The results of adaptive refinement smoothing of the sphere under this setting using two different smoothing schemes are shown. The visualization results demonstrate that the initially sharp geometric edges on the sphere's surface are effectively eliminated, and the smoothing effect of the mesh fitting the sphere's surface is ideal, proving the high accuracy of this invention in basic three-dimensional surface fitting.

[0060] Subsequently, two typical rotating body structures were introduced to test the algorithm's ability to handle complex topologies and continuous surfaces: a three-dimensional gourd-shaped computational domain (with continuous curvature changes) and a blunt body structure computational domain (containing multiple geometric cross-sections). Figure 13The adaptive refinement and smoothing process of the gourd-shaped computational domain based on Smoothing Scheme 2 is demonstrated. It can be seen that this scheme successfully reconstructs the configuration nodes of the newly formed blocks at the curved boundaries and the mesh, eliminating the originally sharp, protruding edges, and achieving high-quality mesh fit to the gourd's curved boundaries. In the smoothing process of the blunt body computational domain using Smoothing Scheme 2, since the blunt body surface is divided into four independent surface regions by three circumferential broken line segments, this invention effectively reconstructs and smooths three of these surfaces without affecting the flatness of the base. Furthermore, while maintaining the surface fitting accuracy of each region, this invention accurately preserves the broken line features at the intersection of different surfaces and merges adjacent surface boundaries without generating non-physical distortions.

[0061] A toroidal computational domain with external stretching characteristics is further introduced. The initial block distribution of this model results in multiple sharp edges composed of circumferentially zigzag segments. AMR and reconstruction results based on the smoothing scheme 2 show that the complex sharp features are effectively smoothed, generating a high-quality smooth surface mesh. Finally, the method of this invention is further tested in a more complex Pierre Star-shaped computational domain, which exhibits complex and large curvature variations. AMR results based on the smoothing scheme 2 show that even in regions with excessive curvature variations, the mesh achieves a smooth transition, and the final refined mesh achieves excellent global fitting to the entire complex curved boundary.

[0062] In summary, the adaptive refinement and smoothing method for computational domain curved boundaries based on unstructured meshes proposed in this invention can effectively eliminate unnecessary sharp edges on complex geometric curved boundaries. This method not only maintains a smooth curvature transition effect and significantly improves the fitting accuracy of the refined mesh to the curved boundaries of complex geometric computational domains, but also fundamentally meets the high-resolution numerical simulation requirements for physical quantities near the curved boundaries of complex computational domains.

[0063] Implementation Method 2 This embodiment provides an adaptive refinement and smoothing system for the curved boundary of a computational domain based on an unstructured mesh. The system uses the adaptive refinement and smoothing method for the curved boundary of a computational domain based on an unstructured mesh as described in Embodiment 1. The system specifically includes: Leaf block refinement level unit: Identifies the initial unstructured block adjacent to the curved boundary in the computational domain and sets its target refinement level as [value missing]. L AMR = N That is, it needs to go through N -1 refinement yields the final refinement level of the leaf block adjacent to the curved boundary. N ; Smoothing scheme selection: Determine whether the curvilinear boundary of the computational domain has a definite analytical equation, and select the corresponding smoothing scheme to correct the configuration nodes that deviate from the curvilinear boundary; if so, the Newton-Raphson iterative projection method is used; if not, the second-order non-uniform rational B-spline reconstruction method is used. The smoothing scheme execution unit performs the first refinement on the initial unstructured blocks of the curved boundary identified by the blade block refinement level unit. Subsequently, based on the smoothing scheme selected by the smoothing scheme selection unit, it corrects the configuration nodes in the newly formed sub-blocks adjacent to the curved boundary that deviate from the actual curved boundary. This refinement and correction process is repeated cyclically until the refinement level of the curved boundary blade block is reached. L AMR Reach the target level N ; Final Correction Unit: After the smoothing scheme execution unit completes the refinement, the entire computational domain consists of a series of leaf blocks. Each leaf block is discretized into several grids through linear interpolation. Based on the smoothing scheme selected by the smoothing scheme selection unit, the configuration nodes in the grids adjacent to the curved boundary that deviate from the curved boundary are finally corrected, thereby completing the complete and high-precision refined smoothing fitting of the entire curved boundary from block to grid.

[0064] Furthermore, the system also includes: Single-grid execution unit: After the smoothing scheme execution unit has completed the refinement, the entire computational domain consists of a series of leaf blocks. If its internal structure is discretized into only one grid, the grid configuration node is the same as the leaf block configuration node. There is no need to modify the configuration node of the curved boundary grid again. The grid is the basic execution unit of AMR. Therefore, the final correction unit can be omitted, thereby completing the complete and high-precision smoothing and refinement fitting of the entire curved boundary from block to grid.

[0065] Furthermore, the initial refinement level of the initial block in the leaf block refinement level unit. L AMR =1, setting its target refinement level to... L AMR = N ,in N ≥1, meaning the initial block needs to be processed. N -1 refinement results in the final refinement level of the leaf blocks adjacent to the curved boundary being... N .

[0066] Furthermore, when the smoothing scheme selection unit selects the Newton-Raphson iterative projection method, this method is applicable to the case where the curved boundary has a clear analytical equation. This method iteratively projects the configuration nodes that deviate from the actual curved boundary obtained by linear interpolation to the precise boundary position defined by the analytical equation. When the smoothing scheme selection unit selects the second-order non-uniform rational B-spline reconstruction method, this method is applicable to the case where the curved boundary has no explicit analytical equation and is only described by a few scattered points. This method uses the existing configuration node information on the curved boundary to reconstruct and smooth the configuration nodes that deviate from the actual curved boundary by constructing a second-order non-uniform rational B-spline curve (surface).

[0067] Both of the above schemes can be integrated into various AMR frameworks. As the refinement level increases, the fitting accuracy to the real geometric boundaries is continuously improved by correcting the boundary configuration nodes. The universality and effectiveness of this method are verified through boundary smoothing tests on various 2D and 3D models.

[0068] Taking a block-based AMR scheme as an example, to improve the fitting accuracy of curved boundaries while ensuring mesh quality and avoiding distortion of the internal mesh of leaf blocks due to over-correction of configuration nodes, the smoothing method of this invention follows a specific execution order: first, correct the configuration nodes of newly formed leaf blocks adjacent to curved boundaries; then, based on the corrected leaf block boundaries, generate the internal mesh configuration nodes through linear interpolation; finally, correct the mesh configuration nodes adjacent to curved boundaries. This process ensures progressive smoothing from block to mesh, thereby guaranteeing the final mesh quality.

[0069] Implementation Method 3 This embodiment provides an adaptive refinement and smoothing method for computational domain curved boundaries based on unstructured meshes, as described in Embodiment 1. The method is applied to all AMR frameworks. During the AMR process, leaf blocks or mesh configuration nodes adjacent to curved boundaries are smoothed to eliminate geometric deviations caused by linear interpolation, thereby dynamically improving the fitting accuracy of the refined mesh to the curved boundaries.

Claims

1. A method for adaptive refinement and smoothing of the curved boundary of a computational domain based on unstructured meshes, characterized in that, The method involves first correcting the configuration nodes of newly formed blade blocks in adjacent curved boundary structures in fluid dynamics; then generating internal mesh configuration nodes based on the corrected blade block boundaries through linear interpolation; and finally correcting the mesh configuration nodes of adjacent curved boundary structures in fluid dynamics, ensuring a progressive smoothness from block to mesh to guarantee the final mesh quality.

2. The method according to claim 1, characterized in that, The method specifically includes the following steps: Step 1: Identify the initial unstructured blocks adjacent to the curved boundary in the computational domain and set their target refinement level as [value missing]. L AMR = N That is, it needs to go through N -1 refinement yields the final refinement level of the leaf block adjacent to the curved boundary. N ; Step 2: Determine whether the boundary of the computational domain has a definite analytical equation. If it does, use the Newton-Raphson iterative projection method; if not, use the second-order non-uniform rational B-spline reconstruction method. Step 3: Perform the first refinement on the initial unstructured blocks of the curved boundary identified in Step 1; then, based on the smoothing scheme selected in Step 2, correct the configuration nodes in the newly formed sub-blocks adjacent to the curved boundary that deviate from the actual curved boundary; repeat this refinement and correction process cyclically until the refinement level of the curved boundary leaf blocks is reached. L AMR Reach the target level N ; Step 4: After step 3 is completed, the entire computational domain consists of a series of leaf blocks. Each leaf block is discretized into several grids through linear interpolation. Based on the smoothing scheme selected in step 2, the configuration nodes in the grids adjacent to the curved boundary that deviate from the curved boundary are finally corrected, thereby completing the complete and high-precision refined smoothing fitting of the entire curved boundary from block to grid.

3. The method according to claim 1, characterized in that, The method further includes the following steps: Step 5: After step 3 is completed, the entire computational domain consists of a series of leaf blocks. If the internal structure is discretized into a single grid, the grid configuration nodes are the same as the leaf block configuration nodes. There is no need to modify the configuration nodes of the curved boundary grid again. The grid is the basic execution unit of AMR. Therefore, step 4 can be omitted, thus completing the complete, high-precision, refined, and smooth fitting of the entire curved boundary from block to grid.

4. The method according to claim 2, characterized in that, The initial refinement level of the initial block in step 1 L AMR =1, setting its target refinement level to 1. L AMR = N ,in N ≥1, meaning the initial block needs to be processed. N -1 refinement results in the final refinement level of the leaf blocks adjacent to the curved boundary being... N .

5. The method according to claim 2, characterized in that, Step 2 specifically involves, The Newton-Raphson iterative projection method iteratively projects the configuration nodes that deviate from the actual curved boundary obtained by linear interpolation to the precise boundary position defined by the analytical equation. The second-order non-uniform rational B-spline reconstruction method utilizes the existing configuration node information on the curved boundary to reconstruct and smooth the curve by constructing a second-order non-uniform rational B-spline curve or by facing configuration nodes that deviate from the actual curved boundary.

6. A computational domain boundary adaptive refinement and smoothing system based on unstructured meshes, characterized in that, The system uses an adaptive refinement and smoothing method for the boundary of a computational domain curve based on an unstructured mesh as described in any one of claims 1-5, and the system specifically includes: Leaf block refinement level unit: Identifies the initial unstructured block adjacent to the curved boundary in the computational domain and sets its target refinement level as [value missing]. L AMR = N That is, it needs to go through N -1 refinement yields the final refinement level of the leaf block adjacent to the curved boundary. N ; Smoothing scheme for selecting elements: Determine whether the curvature boundary of the computational domain has a definite analytical equation. If it does, use the Newton-Raphson iterative projection method; if not, use the second-order non-uniform rational B-spline reconstruction method. The smoothing scheme execution unit performs the first refinement on the initial unstructured blocks of the curved boundary identified by the blade block refinement level unit. Subsequently, based on the smoothing scheme selected by the smoothing scheme selection unit, it corrects the configuration nodes in the newly formed sub-blocks adjacent to the curved boundary that deviate from the actual curved boundary. This refinement and correction process is repeated cyclically until the refinement level of the curved boundary blade block is reached. L AMR Reach the target level N ; Final Correction Unit: After the smoothing scheme execution unit completes the refinement, the entire computational domain consists of a series of leaf blocks. Each leaf block is discretized into several grids through linear interpolation. Based on the smoothing scheme selected by the smoothing scheme selection unit, the configuration nodes in the grids adjacent to the curved boundary that deviate from the curved boundary are finally corrected, thereby completing the complete and high-precision refined smoothing fitting of the entire curved boundary from block to grid.

7. The system according to claim 6, characterized in that, The system also includes: Single-grid execution unit: After the smoothing scheme execution unit has completed the refinement, the entire computational domain consists of a series of leaf blocks. If its internal structure is discretized into only one grid, the grid configuration node is the same as the leaf block configuration node. There is no need to modify the configuration node of the curved boundary grid again. The grid is the basic execution unit of AMR. Therefore, the final correction unit can be omitted, thereby completing the complete and high-precision smoothing and refinement fitting of the entire curved boundary from block to grid.

8. The system according to claim 6, characterized in that, The initial refinement level of the initial block in the blade refinement level unit. L AMR =1, setting its target refinement level to 1. L AMR = N ,in N ≥1, meaning the initial block needs to be processed. N -1 refinement results in the final refinement level of the leaf blocks adjacent to the curved boundary being... N .

9. The system according to claim 6, characterized in that, When the smoothing scheme selection unit selects the Newton-Raphson iterative projection method, iteratively projects the configuration nodes that deviate from the actual curved boundary obtained by linear interpolation to the precise boundary position defined by the analytical equation. When the smoothing scheme selection unit selects the second-order non-uniform rational B-spline reconstruction method, it utilizes the existing configuration node information on the curved boundary to reconstruct and smooth the curve by constructing a second-order non-uniform rational B-spline curve or by facing configuration nodes that deviate from the actual curved boundary.

10. A method for adaptive refinement and smoothing of computational domain curved boundaries based on unstructured meshes as described in any one of claims 1-9, characterized in that, The method is applied to all AMR frameworks. During the AMR process, leaf blocks or mesh configuration nodes adjacent to curved boundaries are smoothed to eliminate geometric deviations caused by linear interpolation, thereby dynamically improving the fitting accuracy of the refined mesh to the curved boundaries.