Structural grid deformation method and device suitable for local aerodynamic thermal optimization
By using the control frame and the tightly supported radial basis RBF interpolation method for grid deformation in aerodynamic thermal adjoint optimization, the problems of grid discontinuity, non-orthogonality and unevenness under large deformations of the traditional FFD method are solved, and the High-quality mesh deformation support for aerothermal environments.
Patent Information
- Application Number
- CN202411076321.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-08-07
AI Technical Summary
The traditional free-form surface deformation FFD method cannot meet the structural mesh deformation requirements of aerodynamic thermal optimization when the aerodynamic shape has a large deformation, resulting in grid discontinuity at the interface of the control frame, non-orthogonal grid normal to the wall, and The grid height of the first layer of the wall is uneven.
By obtaining the area to be deformed of the target aircraft, using the Cartesian coordinate system coordinate values of the control points in the control frame for coordinate transformation, combined with the tightly supported radial basis RBF interpolation method and iterative optimization, the orthogonality and normality of the wall normal grid are ensured. The uniformity of the first layer of grid is processed by numerical-algebraic hybrid grid to meet the calculation needs of aerodynamic and thermal environment.
It realizes the continuous, orthogonal and uniform deformation of the structural mesh when the aerodynamic shape has a large deformation, which meets the mesh deformation requirements of the aerodynamic thermal accompanying optimization, improves the mesh quality, and can effectively support the calculation of the aerodynamic thermal environment. .
Smart Images

Figure CN118607418B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of fluid mechanics calculation, and in particular to a structural grid deformation method and device suitable for local aerodynamic thermal optimization. Background Art
[0002] Unlike traditional aircraft, hypersonic aircraft need to consider not only aerodynamic forces but also the influence of aerodynamic heat. At the same time, the flight environment it faces has strong nonlinear characteristics, so it is difficult to effectively use the traditional shape optimization method based on trial and error. In addition to the trial and error method, the existing optimization algorithms can be roughly divided into two categories: gradient-dependent and gradient-independent. Faced with the huge design variables of aircraft shape optimization, non-gradient optimization methods will encounter the "dimensionality disaster". Even for gradient-dependent optimization methods, the calculation of gradients will still bring unacceptable computational costs to the optimization process. However, the emergence of adjoint methods has solved this problem well. The adjoint method is a purely mathematical gradient calculation method. Its characteristic that the amount of gradient calculation is independent of the number of design variables makes it, to a certain extent, the only feasible method for dealing with large-scale design variable aerodynamic shape optimization of hypersonic aircraft. Since adjoint optimization involves changes in aircraft shape, mesh deformation technology is a key link in the adjoint optimization method. Aerothermal optimization usually involves large local deformations. At the same time, thermal environment calculations have high requirements on the orthogonality, uniformity, and first-layer grid distance of the structural grid. Therefore, the conventional FFD (Free Form Deform) deformation method can no longer meet the structural grid deformation requirements of aerothermal optimization.
[0003] The traditional free-form surface deformation FFD method can meet most of the mesh deformation requirements of aerodynamic optimization when the aerodynamic shape deformation is small. However, when the aerodynamic shape has a large deformation, the deformed mesh obtained by the traditional FFD method will have problems such as mesh discontinuity at the interface of the control frame, non-orthogonal wall normal mesh, and uneven height of the first layer of wall mesh, which cannot meet the mesh deformation requirements of aerodynamic thermal optimization. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a structural grid deformation method and device suitable for local aerodynamic thermal optimization, which can realize the grid deformation requirements of aerodynamic thermal optimization when the aerodynamic shape has a large deformation, and meet the deformation requirements of the structural grid during the deformation process, such as the grid continuity at the interface of the control frame, the orthogonal wall normal grid, and the uniform height of the first layer of the wall grid. The specific scheme is as follows:
[0005] In a first aspect, the present application discloses a structural grid deformation method suitable for local aerodynamic thermal optimization, comprising:
[0006] Acquire the target aircraft's region to be deformed, and perform coordinate conversion on the Cartesian coordinate system coordinate values of the wall surface points to be deformed in the region to be deformed by using the Cartesian coordinate system coordinate values corresponding to the control points in the control frame, so as to obtain the local coordinates of the wall surface points to be deformed in the local coordinate system of the control frame; wherein the region to be deformed is a pre-selected flow field grid;
[0007] Calculate the deformed Cartesian coordinate system coordinate value of the wall point to be deformed by using the local coordinates, the Cartesian coordinate system coordinate value corresponding to the control point based on the target Cartesian coordinate system coordinate value updated by the deformation condition and the preset basis function, so as to obtain a first deformed area including the deformed wall point;
[0008] Interpolating and deforming the internal points of the first deformed region by a compactly supported radial basis function (RBF) interpolation method to obtain a second deformed region including deformed wall points and deformed internal points; wherein the internal points are non-controlled points in the first deformed region;
[0009] Iteratively optimizing the positions of the deformed internal points in the second deformed region until the wall normal grid of the second deformed region meets the orthogonality requirement between the grid and the wall, so as to obtain a numerical grid that meets the orthogonality requirement;
[0010] The coordinates of the grid points on each line in the normal direction of the wall are interpolated according to the proportional method to obtain a proportional interpolated grid;
[0011] Based on the weighted average processing of the grid after the equal-proportional interpolation and the numerical grid, a numerical-algebraic hybrid grid is obtained.
[0012] Optionally, after obtaining the area to be deformed of the target aircraft, the method further includes:
[0013] A control frame is drawn based on the size of the area to be deformed and the shape processing restriction conditions, so that all wall point grids of the area to be deformed are controlled to be located in the control frame and all control points of the control frame are controlled to be close to the shape of the area to be deformed.
[0014] Optionally, the coordinate transformation of the Cartesian coordinate system coordinate value of the wall surface point to be deformed in the area to be deformed by using the Cartesian coordinate system coordinate value corresponding to the control point in the control frame to obtain the local coordinate of the wall surface point to be deformed in the local coordinate system of the control frame includes:
[0015] Calculating the local coordinates of the wall point to be deformed in the local coordinate system of the control frame according to the first Cartesian coordinate system coordinate values of all the wall point grids in the control frame and the second Cartesian coordinate system coordinate values of all the control points;
[0016] The coordinate value of the second Cartesian coordinate system of the control point is calculated and updated based on the deformation condition of the area to be deformed to obtain the coordinate value of the target Cartesian coordinate system.
[0017] Optionally, the interpolation deformation of the internal points of the first deformed region by a compactly supported radial basis function (RBF) interpolation method to obtain a second deformed region including deformed wall points and deformed internal points comprises:
[0018] Based on the area occupied by the target radius length of the tight support radius covering all area boundary points of the first deformed area, calculating the coordinate difference of all the area boundary points before and after the deformation, and using the coordinate difference as the target offset;
[0019] The internal point offsets of the internal points of the first deformed area are calculated according to the target offset and using the radial basis function, and the internal point coordinates of all the internal points are updated using the internal point offsets to complete the internal point interpolation deformation, thereby obtaining a second deformed area including deformed wall points and deformed internal points.
[0020] Optionally, the iterative optimization of the position of the deformed internal point in the second deformed region until the wall normal grid of the second deformed region satisfies the orthogonality requirement between the grid and the wall, so as to obtain a numerical grid that satisfies the orthogonality requirement, comprises:
[0021] The second deformed region is used as the wall region to be optimized, and a wall optimization equation is constructed with orthogonality in the wall region to be optimized and the second-order derivative across the boundary being zero as constraints;
[0022] Solving the wall optimization equation using a line-by-line super-relaxation method to obtain the optimized coordinates of the deformed internal points in the wall region to be optimized, and completing the grid wall orthogonality optimization process;
[0023] Performing perturbation iteration on the source terms of the boundary points of the wall region to be optimized by the Higenstock2d2 method to obtain new source terms;
[0024] The source terms at all grid points are obtained by utilizing linear difference and based on the new source terms, so as to obtain a numerical grid that meets the orthogonality requirement.
[0025] Optionally, the interpolation process is performed on the grid point coordinates on each line in the normal direction of the wall surface according to the equal proportion method to obtain the equal proportion interpolation grid, including:
[0026] The coordinates of the grid points on each line in the normal direction of the wall are interpolated using the proportional method and the interpolation method with arc length as the independent variable to obtain the proportional interpolated grid.
[0027] Optionally, after obtaining the numerical-algebraic hybrid grid based on the weighted average processing of the grid after equal-proportional interpolation and the numerical grid, the method further includes:
[0028] The control frame is reconstructed according to the deformed Cartesian coordinate system coordinate values of the wall points in the first deformed region to obtain a target control frame for the next round of mesh deformation optimization.
[0029] In a second aspect, the present application discloses a structural grid deformation device suitable for local aerodynamic thermal optimization, comprising:
[0030] A coordinate conversion module is used to obtain a region to be deformed of the target aircraft, and to convert the Cartesian coordinate system coordinate values of the wall surface points to be deformed in the region to be deformed by using the Cartesian coordinate system coordinate values corresponding to the control points in the control frame, so as to obtain the local coordinates of the wall surface points to be deformed in the local coordinate system of the control frame; wherein the region to be deformed is a pre-selected flow field grid;
[0031] A first deformation region module is used to calculate the deformed Cartesian coordinate system coordinate value of the wall point to be deformed by using the local coordinates, the Cartesian coordinate system coordinate value corresponding to the control point based on the target Cartesian coordinate system coordinate value updated by the deformation condition and the preset basis function, so as to obtain a first deformed region including the deformed wall point;
[0032] A second deformation region module, used for interpolating and deforming the internal points of the first deformed region by a compactly supported radial basis function (RBF) interpolation method, so as to obtain a second deformed region including deformed wall points and deformed internal points; wherein the internal points are non-controlled points in the first deformed region;
[0033] A first mesh acquisition module is used to iteratively optimize the position of the deformed internal point in the second deformed region until the wall normal mesh of the second deformed region meets the orthogonality requirement between the mesh and the wall, so as to obtain a numerical mesh that meets the orthogonality requirement;
[0034] The second grid acquisition module is used to interpolate the grid point coordinates on each line in the normal direction of the wall surface according to the proportional method to obtain a proportional interpolated grid;
[0035] The grid optimization module is used to obtain a numerical-algebraic hybrid grid based on the weighted average processing of the grid after the equal-proportional interpolation and the numerical grid.
[0036] In a third aspect, the present application discloses an electronic device, comprising:
[0037] Memory, used to store computer programs;
[0038] A processor is used to execute the computer program to implement the steps of the structural grid deformation method disclosed above that is suitable for local aerodynamic thermal optimization.
[0039] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed structural grid deformation method suitable for local aerodynamic thermal optimization are implemented.
[0040] It can be seen that the present application discloses a structural grid deformation method suitable for local aerodynamic thermal optimization, including: obtaining a to-be-deformed region of a target aircraft, and performing coordinate transformation on the Cartesian coordinate system coordinate values of the to-be-deformed wall points of the to-be-deformed region through the Cartesian coordinate system coordinate values corresponding to the control points in the control frame, so as to obtain the local coordinates of the to-be-deformed wall points in the local coordinate system of the control frame; wherein the to-be-deformed region is a pre-selected flow field grid; and calculating the deformed Cartesian coordinate system coordinate values of the to-be-deformed wall points through the local coordinates, the Cartesian coordinate system coordinate values corresponding to the control points, based on the target Cartesian coordinate system coordinate values updated after the deformation conditions, and the preset basis functions, so as to obtain a first deformed region containing the deformed wall points; The internal points of the first deformed region are interpolated and deformed by a compactly supported radial basis RBF interpolation method to obtain a second deformed region including deformed wall points and deformed internal points; wherein the internal points are non-controlled points in the first deformed region; the positions of the deformed internal points in the second deformed region are iteratively optimized until the wall normal grid of the second deformed region meets the orthogonality requirement between the grid and the wall, so as to obtain a numerical grid that meets the orthogonality requirement; the coordinates of the grid points on each line in the wall normal direction are interpolated according to the proportional method to obtain a proportional interpolated grid; based on the weighted average processing of the proportional interpolated grid and the numerical grid, a numerical-algebraic hybrid grid is obtained. It can be seen that firstly, the control frame is used to deform the wall points of the deformed area, and then the interpolation deformation of the internal points ensures the uniform and smooth transition of the grid at the interface of the control frame, and then iterative optimization is performed to ensure the orthogonality of the wall normal grid; the grid after iterative optimization needs to further use the digital-algebraic method to adjust the grid points in the wall normal direction to ensure that the first layer of wall grid distance meets the aerodynamic thermal environment calculation requirements, and realizes that in the face of large deformation of the aerodynamic shape, the deformed structural grid still has good wall normal grid orthogonality and first layer grid distance, and the grid quality can still meet the calculation requirements of the aerodynamic thermal environment, and finally provides structural grid deformation technical support for local aerodynamic thermal optimization. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0042] Figure 1 A flow chart of a structural grid deformation method suitable for local aerodynamic thermal optimization disclosed in this application;
[0043] Figure 2 A ball head shape flow field grid diagram disclosed in this application;
[0044] Figure 3 This is an enlarged view of the flow field grid wall surface of a ball head shape disclosed in this application;
[0045] Figure 4 It is an initial control frame for mesh deformation of a ball head shape disclosed in the present application;
[0046] Figure 5 A control frame disclosed in the present application that has been adjusted according to the deformation amount;
[0047] Figure 6 A mesh after deforming the wall points according to the adjusted control frame disclosed in the present application;
[0048] Figure 7 A grid disclosed in the present application after the internal grid points are interpolated and deformed using RBF;
[0049] Figure 8 A grid disclosed in the present application that iteratively optimizes the orthogonality of the wall grid by solving an elliptic equation;
[0050] Fig. 9 A grid after adjusting the first layer distance of the wall obtained by a numerical-algebraic method disclosed in the present application;
[0051] Fig.10 A grid disclosed in the present application in which the grid points of the deformed wall are adjusted to have equal spacing;
[0052] Fig.11 A control frame before rebuilding the control frame disclosed in the present application;
[0053] Fig.12 A control frame after a rebuilt control frame disclosed in the present application;
[0054] Fig.13 A schematic diagram of a structural grid deformation device suitable for local aerodynamic thermal optimization disclosed in this application;
[0055] Fig.14 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION
[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0057] Unlike traditional aircraft, hypersonic aircraft need to consider not only aerodynamic forces but also the influence of aerodynamic heat. At the same time, the flight environment it faces has strong nonlinear characteristics, so it is difficult to effectively use the traditional shape optimization method based on trial and error. In addition to the trial and error method, the existing optimization algorithms can be roughly divided into two categories: gradient-dependent and gradient-independent. Faced with the huge design variables of aircraft shape optimization, non-gradient optimization methods will encounter "dimensionality disaster". Even for gradient-dependent optimization methods, the calculation of gradients will still bring unacceptable computational costs to the optimization process. However, the emergence of adjoint methods has solved this problem well. The adjoint method is a purely mathematical gradient calculation method. Its characteristic that the amount of gradient calculation is independent of the number of design variables makes it, to a certain extent, the only feasible method for dealing with large-scale design variable aerodynamic shape optimization of hypersonic aircraft. Since adjoint optimization involves changes in aircraft shape, mesh deformation technology is a key link in the adjoint optimization method. Since traditional aerodynamic adjoint optimization is usually a small overall deformation, and the aerodynamic calculation has relatively low requirements on the quality of the mesh, the conventional free-form deformation (FreeForm Deform) FFD technology can meet the needs. Aerodynamic thermal optimization usually requires large local deformations. At the same time, thermal environment calculations have high requirements for the orthogonality, uniformity, and first-layer grid distance of the structural grid. Therefore, conventional FFD deformation methods can no longer meet the structural grid deformation requirements of aerodynamic thermal optimization. Therefore, establishing a structural grid deformation method suitable for local aerodynamic thermal optimization is one of the key links in achieving aerodynamic thermal optimization. The traditional free-form deformation (Free Form Deform) FFD method, when the aerodynamic shape deformation is small, its grid deformation capability can meet most of the grid deformation requirements of aerodynamic optimization. However, when the aerodynamic shape has a large deformation, the deformed grid obtained by the traditional FFD method will have problems such as grid discontinuity at the interface of the control frame, non-orthogonal wall normal grid, and uneven height of the first layer of wall grid, which cannot meet the grid deformation requirements of aerodynamic thermal optimization.
[0058] To this end, the present invention provides a structural grid deformation scheme suitable for local aerodynamic-thermal optimization, which can achieve the grid deformation requirements of aerodynamic-thermal optimization when the aerodynamic shape has a large deformation amount, and meet the deformation requirements of the structural grid during the deformation process, such as grid continuity at the interface of the control frame, orthogonal wall normal grid, and uniform height of the first layer of wall grid.
[0059] Reference Figure 1 As shown, the embodiment of the present invention discloses a structural grid deformation method suitable for local aerodynamic thermal optimization, including:
[0060] Step S11: Acquire the target aircraft's area to be deformed, and perform coordinate transformation on the Cartesian coordinate system coordinate values of the wall points to be deformed in the area to be deformed by using the Cartesian coordinate system coordinate values corresponding to the control points in the control frame, so as to obtain the local coordinates of the wall points to be deformed in the local coordinate system of the control frame; wherein the area to be deformed is a pre-selected flow field grid.
[0061] In this embodiment, when the target aircraft to be deformed region is determined to be the aircraft's ball head with a radius of 1 mm based on the current ball head optimization request, a flow field grid with an overall radius of 10 mm is drawn according to the ball head shape. The flow field grid is as follows: Figure 2 As shown in the figure, the enlarged image near the wall is Figure 3 Then the flow field grid is intercepted according to the preset deformation area requirements to obtain the area to be deformed. In this embodiment, the area to be deformed is the area between 0.82 mm above and below the center of the ball head in the flow field grid as the origin.
[0062] In this embodiment, after obtaining the target aircraft's area to be deformed, the process further includes: drawing a control frame based on the size of the area to be deformed and the shape processing restriction conditions, so as to control all the wall point grids of the area to be deformed to be located in the control frame and control all the control points of the control frame to be close to the shape of the area to be deformed. It can be understood that, according to the size of the area to be deformed and the complexity of the shape processing, a 2×20 control frame is selected for grid deformation. The control frame is as follows: Figure 4As shown. It can be understood that the FFD method using non-uniform rational B-spline curves (NURBS) as the basis function draws the required control frame. The control frame needs to include the wall point grid of the area to be deformed inside the control frame, and all control points of the control frame need to be close to the shape of the area to be deformed. It should be noted that the wall point grid refers to a specific point set on the boundary of the flow field, which is used to describe the boundary conditions, that is, the boundary specific point set of the area to be deformed. The control points are a series of points of the control frame, which are used to define the shape and size of the control frame. Moreover, in this embodiment, the size of the control frame is restricted to be greater than or equal to the size of the entire area to be deformed, so that the boundary points (wall point grid) of the area to be deformed all fall within the range of the control frame, and the control points of the control frame are required to fit the shape of the area to be deformed as much as possible. It is convenient and accurate to perform related calculations on the subsequent mesh deformation of the area to be deformed.
[0063] In this embodiment, the local coordinates of the wall point to be deformed in the local coordinate system of the control frame are calculated according to the first Cartesian coordinate system coordinate values of all the wall point grids in the control frame and the second Cartesian coordinate system coordinate values of all the control points; the second Cartesian coordinate system coordinate values of the control points are calculated and updated based on the deformation conditions of the area to be deformed to obtain the target Cartesian coordinate system coordinate values. It can be understood that the local coordinates of the wall point to be deformed in the local coordinate system of the control frame are calculated according to the first Cartesian coordinate system coordinate values of the wall point grid to be deformed in the control frame and the second Cartesian coordinate system coordinate values of all the control points in the control frame. In this way, by converting the grid coordinates of the boundary points (wall point grid) of the area to be deformed into the local coordinates in the local coordinate system of the control frame, the coordinates of the wall point to be deformed (the wall point to be deformed in the wall point grid) can be replaced with the coordinates in the coordinate system of the control frame, so as to facilitate the subsequent large local deformation of the area to be deformed through the control points.
[0064] Step S12: Calculate the deformed Cartesian coordinate system coordinate value of the wall point to be deformed through the local coordinates, the Cartesian coordinate system coordinate value corresponding to the control point, the target Cartesian coordinate system coordinate value updated based on the deformation condition, and the preset basis function to obtain a first deformed area containing the deformed wall point.
[0065] In this embodiment, the Cartesian coordinate system coordinate values of all control points of the control frame are updated according to the deformation conditions of the area to be deformed. The updated control frame is as follows: Figure 5Then, the new Cartesian coordinate system coordinate value of the wall point to be deformed is calculated through the local coordinates obtained by the above transformation, the target Cartesian coordinate system coordinate value corresponding to the control point in the updated control frame, and the preset basis function with the cubic (fourth-order) non-uniform Bernstein polynomial as the basis function, that is, the Cartesian coordinate system coordinate value after deformation. At this point, the local deformation of the wall to be deformed is completed, and the first deformed area is obtained. The deformed grid is as follows Figure 6 shown.
[0066] Step S13: interpolating and deforming the internal points of the first deformed region by a compactly supported radial basis function (RBF) interpolation method to obtain a second deformed region including deformed wall points and deformed internal points; wherein the internal points are non-controlled points in the first deformed region.
[0067] In this embodiment, the area occupied by the target radius length based on the tight support radius covers all area boundary points of the first deformed area, and the coordinate differences of all the area boundary points before and after deformation are calculated, and the coordinate differences are used as the target offset; the internal point offsets of the internal points of the first deformed area are calculated based on the target offset and using the radial basis function, and the internal point coordinates of all the internal points are updated using the internal point offset to complete the internal point interpolation deformation, so as to obtain the second deformed area including the deformed wall points and the deformed internal points. It can be understood that the target radius length value of the tight support radius is set to 11mm; the tight support radius value is 11mm, which includes all the flow field boundary points, determines the control points of the RBF (Radial Basis Function) method, and all control points are all the flow field grid boundary points, that is, the regional boundary points. According to the coordinate values of these control points before and after deformation, their coordinate differences are calculated, and the coordinate differences are used as the target offsets; Wendland C2 is used as the radial basis function, and according to the target offsets of the RBF control points, the internal point displacements of all internal points in the first deformed region are calculated, and the internal point displacements are used to update the coordinates of all grid internal points to realize the interpolation deformation of the internal points. The deformed second deformed region is as shown in FIG. Figure 7 As shown; it can be seen that by setting the target radius length value of the tight support radius, the influence range of the wall point deformation is determined, and the internal point deformation step of the area to be deformed is further realized.
[0068] Step S14: iteratively optimizing the positions of the deformed internal points in the second deformed region until the wall normal grid of the second deformed region meets the orthogonality requirement between the grid and the wall, so as to obtain a numerical grid that meets the orthogonality requirement.
[0069] In this embodiment, the second deformed region is used as the wall region to be optimized, and a wall optimization equation is constructed with the constraints of orthogonality in the wall region to be optimized and the second-order derivative across the boundary being zero; the wall optimization equation is solved using the line-by-line super-relaxation method to obtain the optimized coordinates of the deformed internal points in the wall region to be optimized, and the grid wall orthogonality optimization process is completed; the source terms of the boundary points of the wall region to be optimized are perturbed and iterated using the Higenstock2d2 method to obtain new source terms; the source terms on all grid points are obtained using linear interpolation and based on the new source terms to obtain a numerical grid that meets the orthogonality requirements. Specifically, the elliptic equation used by the Thomas-Middlecoff method is selected as the optimization equation, and the equation is as follows:
[0070] ;
[0071] ;
[0072] , , ;
[0073] in, represents the coordinates of the grid points on the physical plane, represents the coordinates of the grid points on the parameter domain, Represents the coordinate vector of the grid point on the physical plane, that is , all subscripts in this invention represent partial derivatives, with For example, it means right Find the partial derivative, express right Find the second-order partial derivative, , , , , , , , Similar to the above, they represent right Seeking partial guidance, right Seeking partial guidance, right Seeking partial guidance, right Seeking partial guidance, right Seeking partial guidance, right Find the second-order partial derivative, right Find the second-order partial derivative, right Find the second-order partial derivative, and are two Poisson equations representing the transformation from the physical domain to the parameter domain, and The right-hand side terms of the two Poisson equations representing the transformation from the physical domain to the parameter domain, and They are used to replace and The source term.
[0074] Assume that there is orthogonality on the wall surface to be optimized and the second-order derivative across the boundary is zero, and then the source term of the following equation can be obtained at the corresponding boundary and , and then using linear interpolation, we can get the source terms at all grid points in the field and Specifically, the line-by-line super-relaxation method is used to solve the elliptic equation, obtain the optimized coordinates of the internal grid points, and complete a round of grid wall orthogonality optimization; the Higenstock2d2 method is used to optimize the source terms of the boundary points. and Perform perturbation iteration to obtain new boundary point source terms and , using linear interpolation, we can obtain the source terms at all grid points in the field and ; Repeatedly use the line-by-line super-relaxation method to solve the elliptic equation, obtain the optimized coordinates of the internal grid points, and complete a round of grid wall orthogonality optimization; and use the Higenstock2d2 method to optimize the source terms of the boundary points and Perform perturbation iteration to obtain new boundary point source terms and , using linear interpolation, we can obtain the source terms at all grid points in the field and , until the orthogonality of the wall normal grid meets the aerodynamic environment calculation requirements, so as to obtain a numerical grid that meets the orthogonality requirements, such as Figure 8 As shown. It can be seen that the deformation of the flow field grid is completed by the method of changing the wall points by FFD and changing the internal points by RBF interpolation. The deformed grid is not affected by the boundary of the control frame. The grid transition at the boundary of the control frame is uniform and smooth. The orthogonality of the wall normal grid is iteratively optimized by solving the elliptic equation to ensure that the orthogonality of the wall normal grid meets the requirements of the aerodynamic thermal environment calculation.
[0075] Step S15: interpolating the grid point coordinates on each line in the normal direction of the wall surface according to the proportional method to obtain a proportional interpolated grid.
[0076] In this embodiment, the coordinates of the grid points on each line in the normal direction of the wall are interpolated using the proportional method and the interpolation method with arc length as the independent variable to obtain the proportional interpolated grid. It can be understood that the proportional method is combined with the interpolation method with arc length as the independent variable to recalculate the coordinates of the grid points on each line in the normal direction of the wall to ensure that the first layer of grid distance meets the thermal environment calculation requirements, thereby obtaining a stretched grid, that is, the proportional interpolated grid. The numerical-algebraic method is used to adjust the first layer of wall grid distance to ensure that the first layer of grid distance meets the aerodynamic thermal environment calculation requirements.
[0077] Step S16: Obtain a numerical-algebraic hybrid grid based on the weighted average processing of the grid after the equal-proportional interpolation and the numerical grid.
[0078] In this embodiment, the numerical grid generated by solving the elliptic equation and the stretched grid obtained by proportional algebraic interpolation are weighted averaged to obtain a numerical-algebraic hybrid grid. The weighted average formula is as follows:
[0079] ;
[0080] in, represents the stretched grid obtained by proportional algebraic interpolation (the grid after proportional interpolation), Represents the numerical grid obtained by the elliptic equation; , ; is the attenuation coefficient, At this point, the current round of grid deformation is completed, such as Fig. 9 As shown in the figure, it is a numerical-algebraic hybrid grid, and then the grid is used as the initial grid (area to be deformed) for the next round of optimization. In this way, the wall normal grid points can be readjusted by numerical-algebraic methods so that the distance of the first layer of wall grid meets the calculation requirements. Finally, the deformed grid obtained by the method in this paper has uniform and smooth transition, good orthogonality between the wall normal grid and the wall, uniform distance of the first layer of wall grid, and the grid quality meets the requirements of aerodynamic thermal environment calculation, providing grid deformation technical support for the local aerodynamic thermal optimization of aircraft.
[0081] In this embodiment, after obtaining the numerical-algebraic hybrid grid based on the weighted average processing of the proportional interpolation grid and the numerical grid, it also includes: reconstructing the control frame according to the deformed Cartesian coordinate system coordinate values of the wall points in the first deformed area to obtain the target control frame for the next round of grid deformation optimization. It can be understood that by using the equal spacing method combined with the interpolation method with arc length as the independent variable, the deformation points in the first deformed area are evenly distributed on the new shape boundary, and the transition uniformity of the wall grid at the junction of the control frame and the wall is improved. The adjusted grid is as follows Fig.10As shown, the control frame is then re-established, and the number of wall grid points included in the control frame, the number of points in the control frame, and the degree of closeness between the control frame and the wall are kept consistent with the control frame in the first deformed area. The control frame before reconstruction is as follows Fig.11 As shown, rebuild the control frame as Fig.12 As shown. According to the new Cartesian coordinate system coordinate values of the deformed wall points in the reconstruction control frame and the new Cartesian coordinate system coordinate values of all control points in the reconstruction control frame, the new local coordinate values of the deformed wall points in the local coordinate system of the reconstruction control frame are calculated. At this point, the reconstruction of the deformed mesh control frame is completed for the next round of optimized mesh deformation. It can be seen that after the deformation of the wall points is realized by using the conventional free-form surface deformation FFD technology, the smooth transition of the wall points is realized by using the method of automatically reconstructing the control frame.
[0082] It can be seen that the present application discloses a structural grid deformation method suitable for local aerodynamic thermal optimization, including: obtaining a to-be-deformed region of a target aircraft, and performing coordinate transformation on the Cartesian coordinate system coordinate values of the to-be-deformed wall points of the to-be-deformed region through the Cartesian coordinate system coordinate values corresponding to the control points in the control frame, so as to obtain the local coordinates of the to-be-deformed wall points in the local coordinate system of the control frame; wherein the to-be-deformed region is a pre-selected flow field grid; and calculating the deformed Cartesian coordinate system coordinate values of the to-be-deformed wall points through the local coordinates, the Cartesian coordinate system coordinate values corresponding to the control points, based on the target Cartesian coordinate system coordinate values updated after the deformation conditions, and the preset basis functions, so as to obtain a first deformed region containing the deformed wall points; The internal points of the first deformed region are interpolated and deformed by a compactly supported radial basis RBF interpolation method to obtain a second deformed region including deformed wall points and deformed internal points; wherein the internal points are non-controlled points in the first deformed region; the positions of the deformed internal points in the second deformed region are iteratively optimized until the wall normal grid of the second deformed region meets the orthogonality requirement between the grid and the wall, so as to obtain a numerical grid that meets the orthogonality requirement; the coordinates of the grid points on each line in the wall normal direction are interpolated according to the proportional method to obtain a proportional interpolated grid; based on the weighted average processing of the proportional interpolated grid and the numerical grid, a numerical-algebraic hybrid grid is obtained. It can be seen that firstly, the control frame is used to deform the wall points of the deformed area, and then the interpolation deformation of the internal points ensures the uniform and smooth transition of the grid at the interface of the control frame, and then iterative optimization is performed to ensure the orthogonality of the wall normal grid; the grid after iterative optimization needs to further use the digital-algebraic method to adjust the grid points in the wall normal direction to ensure that the first layer of wall grid distance meets the aerodynamic thermal environment calculation requirements, and realizes that in the face of large deformation of the aerodynamic shape, the deformed structural grid still has good wall normal grid orthogonality and first layer grid distance, and the grid quality can still meet the calculation requirements of the aerodynamic thermal environment, and finally provides structural grid deformation technical support for local aerodynamic thermal optimization.
[0083] Reference Fig.13 As shown, the present invention also discloses a structural grid deformation device suitable for local aerodynamic thermal optimization, including:
[0084] A coordinate conversion module 11 is used to obtain a region to be deformed of the target aircraft, and to convert the Cartesian coordinate system coordinate values of the wall surface points to be deformed in the region to be deformed by using the Cartesian coordinate system coordinate values corresponding to the control points in the control frame, so as to obtain the local coordinates of the wall surface points to be deformed in the local coordinate system of the control frame; wherein the region to be deformed is a pre-selected flow field grid;
[0085] A first deformation region module 12 is used to calculate the deformed Cartesian coordinate system coordinate value of the wall point to be deformed by using the local coordinates, the Cartesian coordinate system coordinate value corresponding to the control point based on the target Cartesian coordinate system coordinate value updated by the deformation condition and the preset basis function, so as to obtain a first deformed region including the deformed wall point;
[0086] A second deformation region module 13 is used to interpolate and deform the internal points of the first deformed region by a compactly supported radial basis function (RBF) interpolation method, so as to obtain a second deformed region including deformed wall points and deformed internal points; wherein the internal points are non-controlled points in the first deformed region;
[0087] A first mesh acquisition module 14 is used to iteratively optimize the position of the deformed internal point in the second deformed region until the wall normal mesh of the second deformed region meets the orthogonality requirement between the mesh and the wall, so as to obtain a numerical mesh that meets the orthogonality requirement;
[0088] The second grid acquisition module 15 is used to perform interpolation processing on the grid point coordinates on each line in the normal direction of the wall surface according to the proportional method to obtain a proportional interpolated grid;
[0089] The grid optimization module 16 is used to obtain a numerical-algebraic hybrid grid based on a weighted average process of the grid after the equal-proportional interpolation and the numerical grid.
[0090] It can be seen that the present application discloses obtaining a region to be deformed of a target aircraft, and performing coordinate transformation on the Cartesian coordinate system coordinate values of the wall points to be deformed in the region to be deformed by using the Cartesian coordinate system coordinate values corresponding to the control points in the control frame, so as to obtain the local coordinates of the wall points to be deformed in the local coordinate system of the control frame; wherein the region to be deformed is a pre-selected flow field grid; the deformed Cartesian coordinate system coordinate values of the wall points to be deformed are calculated by using the local coordinates, the Cartesian coordinate system coordinate values corresponding to the control points based on the target Cartesian coordinate system coordinate values updated based on the deformation conditions, and the preset basis functions, so as to obtain the first deformed region including the deformed wall points; and the compactly supported radial basis function interpolation method is used to obtain the first deformed region including the deformed wall points. The internal points of the first deformed region are interpolated and deformed to obtain a second deformed region including deformed wall points and deformed internal points; wherein the internal points are non-controlled points in the first deformed region; the positions of the deformed internal points in the second deformed region are iteratively optimized until the wall normal grid of the second deformed region meets the orthogonality requirement between the grid and the wall, so as to obtain a numerical grid that meets the orthogonality requirement; the coordinates of the grid points on each line in the wall normal direction are interpolated according to the proportional method to obtain a proportional interpolated grid; based on the weighted average processing of the proportional interpolated grid and the numerical grid, a numerical-algebraic hybrid grid is obtained. It can be seen that firstly, the control frame is used to deform the wall points of the deformed area, and then the interpolation deformation of the internal points ensures the uniform and smooth transition of the grid at the interface of the control frame, and then iterative optimization is performed to ensure the orthogonality of the wall normal grid; the grid after iterative optimization needs to further use the digital-algebraic method to adjust the grid points in the wall normal direction to ensure that the first layer of wall grid distance meets the aerodynamic thermal environment calculation requirements, and realizes that in the face of large deformation of the aerodynamic shape, the deformed structural grid still has good wall normal grid orthogonality and first layer grid distance, and the grid quality can still meet the calculation requirements of the aerodynamic thermal environment, and finally provides structural grid deformation technical support for local aerodynamic thermal optimization.
[0091] Furthermore, the present application also discloses an electronic device. Fig.14 is a structural diagram of an electronic device 20 according to an exemplary embodiment. Fig.14 The content hereof cannot be considered as any limitation on the scope of use of this application.
[0092] Fig.14A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the structural grid deformation method for local aerodynamic thermal optimization disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0093] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
[0094] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0095] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0096] Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive data 223 in the memory 22 by the processor 21, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the structural grid deformation method suitable for local aerodynamic thermal optimization executed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can also further include a computer program that can be used to complete other specific tasks. In addition to data transmitted from an external device received by the electronic device, the data 223 can also include data collected by its own input and output interface 25, etc.
[0097] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the aforementioned disclosed structural grid deformation method suitable for local aerodynamic thermal optimization is implemented. The specific steps of the method can refer to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.
[0098] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0099] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application. The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be implemented directly with hardware, a software module executed by a processor, or a combination of the two. The software module can be placed in a random access memory RAM (Random Access Memory), memory, read-only memory ROM (Read Only Memory), electrically programmable EPROM (Electrically Programmable Read Only Memory), electrically erasable programmable EEPROM (ElectricErasable Programmable Read Only Memory), register, hard disk, removable disk, CD-ROM (CompactDisc-Read Only Memory), or any other form of storage medium known in the technical field.
[0100] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0101] The scheme provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A structural grid deformation method suitable for local aerodynamic thermal optimization, characterized in that: include: Acquire the target aircraft's region to be deformed, and perform coordinate conversion on the Cartesian coordinate system coordinate values of the wall surface points to be deformed in the region to be deformed by using the Cartesian coordinate system coordinate values corresponding to the control points in the control frame, so as to obtain the local coordinates of the wall surface points to be deformed in the local coordinate system of the control frame; wherein the region to be deformed is a pre-selected flow field grid; Calculate the deformed Cartesian coordinate system coordinate value of the wall point to be deformed by using the local coordinates, the Cartesian coordinate system coordinate value corresponding to the control point based on the target Cartesian coordinate system coordinate value updated by the deformation condition and the preset basis function, so as to obtain a first deformed area including the deformed wall point; Interpolating and deforming the internal points of the first deformed region by a compactly supported radial basis function (RBF) interpolation method to obtain a second deformed region including deformed wall points and deformed internal points; wherein the internal points are non-controlled points in the first deformed region; Iteratively optimizing the positions of the deformed internal points in the second deformed region until the wall normal grid of the second deformed region meets the orthogonality requirement between the grid and the wall, so as to obtain a numerical grid that meets the orthogonality requirement; The coordinates of the grid points on each line in the normal direction of the wall are interpolated according to the proportional method to obtain a proportional interpolated grid; Based on the weighted average processing of the grid after the equal-proportional interpolation and the numerical grid, a numerical-algebraic hybrid grid is obtained.
2. The structural grid deformation method suitable for local aerodynamic thermal optimization according to claim 1, characterized in that: After obtaining the area to be deformed of the target aircraft, the method further includes: A control frame is drawn based on the size of the area to be deformed and the shape processing restriction conditions, so that all wall point grids of the area to be deformed are controlled to be located in the control frame and all control points of the control frame are controlled to be close to the shape of the area to be deformed.
3. The structural grid deformation method suitable for local aerodynamic thermal optimization according to claim 2, characterized in that: The coordinate transformation of the Cartesian coordinate system coordinate value of the wall surface point to be deformed in the area to be deformed is performed by using the Cartesian coordinate system coordinate value corresponding to the control point in the control frame to obtain the local coordinates of the wall surface point to be deformed in the local coordinate system of the control frame, including: Calculating the local coordinates of the wall point to be deformed in the local coordinate system of the control frame according to the first Cartesian coordinate system coordinate values of all the wall point grids in the control frame and the second Cartesian coordinate system coordinate values of all the control points; The coordinate value of the second Cartesian coordinate system of the control point is calculated and updated based on the deformation condition of the area to be deformed to obtain the coordinate value of the target Cartesian coordinate system.
4. The structural grid deformation method suitable for local aerodynamic thermal optimization according to claim 1, characterized in that: The interpolation deformation of the internal points of the first deformed region by the compactly supported radial basis function (RBF) interpolation method to obtain the second deformed region including the deformed wall points and the deformed internal points comprises: Based on the area occupied by the target radius length of the tight support radius covering all area boundary points of the first deformed area, calculating the coordinate difference of all the area boundary points before and after the deformation, and using the coordinate difference as the target offset; The internal point offsets of the internal points of the first deformed area are calculated according to the target offset and using the radial basis function, and the internal point coordinates of all the internal points are updated using the internal point offsets to complete the internal point interpolation deformation, thereby obtaining a second deformed area including deformed wall points and deformed internal points.
5. The structural grid deformation method suitable for local aerodynamic thermal optimization according to claim 1, characterized in that: The iterative optimization of the position of the deformed internal point in the second deformed region until the wall normal grid of the second deformed region meets the orthogonality requirement between the grid and the wall, so as to obtain a numerical grid that meets the orthogonality requirement, comprises: The second deformed region is used as the wall region to be optimized, and a wall optimization equation is constructed with orthogonality in the wall region to be optimized and the second-order derivative across the boundary being zero as constraints; Solving the wall optimization equation using a line-by-line super-relaxation method to obtain the optimized coordinates of the deformed internal points in the wall region to be optimized, and completing the grid wall orthogonality optimization process; Performing perturbation iteration on the source terms of the boundary points of the wall region to be optimized by the Higenstock2d2 method to obtain new source terms; The source terms at all grid points are obtained by utilizing linear difference and based on the new source terms, so as to obtain a numerical grid that meets the orthogonality requirement.
6. The structural grid deformation method suitable for local aerodynamic thermal optimization according to claim 1, characterized in that: The interpolation process of the grid point coordinates on each line in the normal direction of the wall surface according to the equal proportion method to obtain the equal proportion interpolation grid includes: The coordinates of the grid points on each line in the normal direction of the wall are interpolated using the proportional method and the interpolation method with arc length as the independent variable to obtain the proportional interpolated grid.
7. The structural grid deformation method suitable for local aerodynamic thermal optimization according to any one of claims 1 to 6, characterized in that: After the weighted average processing based on the grid after equal-proportional interpolation and the numerical grid is performed to obtain the numerical-algebraic hybrid grid, the method further includes: The control frame is reconstructed according to the deformed Cartesian coordinate system coordinate values of the wall points in the first deformed region to obtain a target control frame for the next round of mesh deformation optimization.
8. A structural grid deformation device suitable for local aerodynamic thermal optimization, characterized in that: include: A coordinate conversion module is used to obtain a region to be deformed of the target aircraft, and to convert the Cartesian coordinate system coordinate values of the wall surface points to be deformed in the region to be deformed by using the Cartesian coordinate system coordinate values corresponding to the control points in the control frame, so as to obtain the local coordinates of the wall surface points to be deformed in the local coordinate system of the control frame; wherein the region to be deformed is a pre-selected flow field grid; A first deformation region module is used to calculate the deformed Cartesian coordinate system coordinate value of the wall point to be deformed by using the local coordinates, the Cartesian coordinate system coordinate value corresponding to the control point based on the target Cartesian coordinate system coordinate value updated by the deformation condition and the preset basis function, so as to obtain a first deformed region including the deformed wall point; A second deformation region module, used for interpolating and deforming the internal points of the first deformed region by a compactly supported radial basis function (RBF) interpolation method, so as to obtain a second deformed region including deformed wall points and deformed internal points; wherein the internal points are non-controlled points in the first deformed region; A first mesh acquisition module is used to iteratively optimize the position of the deformed internal point in the second deformed region until the wall normal mesh of the second deformed region meets the orthogonality requirement between the mesh and the wall, so as to obtain a numerical mesh that meets the orthogonality requirement; The second grid acquisition module is used to interpolate the grid point coordinates on each line in the normal direction of the wall surface according to the equal proportion method to obtain a grid after equal proportion interpolation; The grid optimization module is used to obtain a numerical-algebraic hybrid grid based on the weighted average processing of the grid after the equal-proportional interpolation and the numerical grid.
