An automatic optimization design system for aerodynamic shape of hypersonic aircraft
Through the hypersonic aircraft aerodynamic shape automatic optimization design system, we can independently define the CST function and generate a sample library, conduct CFD calculations and multi-factor variance analysis, solve the complex problems of hypersonic aircraft aerodynamic calculation and optimization design in the existing technology, and realize the internal system The automated design and streamlined optimization process.
Patent Information
- Application Number
- CN202111482766.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-06
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-12-06
AI Technical Summary
Existing commercial software cannot effectively perform aerodynamic calculations and optimal design of hypersonic aircraft, resulting in sample preparation and optimization requiring multiple complex human-computer interactions, which increases the workload of optimization design workers.
Design an automatic optimization design system for the aerodynamic shape of hypersonic aircraft. It obtains design variables and inflow conditions through self-defined CST functions, generates a sample library, estimates aerodynamic coefficients, automatically generates CFD calculation grid files, and performs calculations on a remote server. Build a surrogate model based on multi-factor variance analysis to display the optimization results.
Completing the sample preparation and optimization work of the aircraft in one system reduces the number of human-computer interactions, simplifies the optimization process, reduces the workload of the optimization workers, and improves the efficiency and accuracy of the design.
Smart Images

Figure CN114329765B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of aircraft aerodynamic optimization design, and in particular to an automatic optimization design system for the aerodynamic shape of a hypersonic aircraft. Background Art
[0002] Currently, there is no software specifically designed for hypersonic aircraft when optimizing the design of hypersonic aircraft. Commercial software such as iSight, which is widely used in the field of optimization, is designed for the optimization of low Mach number aircraft. It cannot perform aerodynamic calculations under hypersonic conditions and cannot complete the sample preparation work before optimization. If the sample preparation and optimization work of hypersonic aircraft are separated and performed in different software, it will need to be completed through repeated and complex human-computer interactions. Human-computer interaction is highly dependent on the experience of optimization design workers, and requires a full understanding of the usage details and skills of many software, which increases the workload of optimization workers and makes the optimization process more complicated. Summary of the invention
[0003] In view of the above problems, the purpose of the present invention is to provide an automatic optimization design system for the aerodynamic shape of a hypersonic aircraft, which can complete the sample preparation and subsequent optimization work required for the optimization design of a hypersonic aircraft in the same system, and can display the optimization results visually in the window. First, a CST function is preset in the system, and the design variable values and incoming flow conditions contained in the CST function are obtained from the user end. A sample library is generated according to the input design variables, and the aerodynamic coefficients of all samples in the sample library are estimated based on the panel method. A model file corresponding to each sample is generated according to the CST function, and a grid file for CFD calculation is automatically generated based on the model. The grid file is imported into the server connected to the remote terminal to carry out CFD calculation. Multifactor variance analysis is carried out based on the calculated aerodynamic data, and a proxy model is constructed based on the variance analysis results, and the multifactor variance analysis results and the proxy model are displayed in a visualization window. The present invention only needs to give the design variable values, and the system can automatically complete the construction of the sample library before optimization, the generation of the model, and the drawing of the CFD calculation grid, which greatly reduces the repeated and complex human-computer interaction work in sample preparation. At the same time, after obtaining the aerodynamic calculation results, a proxy model based on the multi-factor variance analysis results can be constructed to integrate the sample preparation and optimization work of the hypersonic aircraft optimization design into the same system, which is convenient and quick and reduces the workload of the optimizers.
[0004] To achieve the above object, the present invention adopts the following technical solutions:
[0005] A hypersonic vehicle aerodynamic shape automatic optimization design system, specifically comprising:
[0006] S1: According to the self-defined CST function required to generate the aerodynamic shape of the aircraft, the value of each design variable contained in the function and the incoming flow conditions of the optimized design are obtained from the user side;
[0007] S2: according to the design variable values, the number of levels corresponding to each design variable is obtained, and a design sample library is generated according to the experimental design scheme of the complete factorial design;
[0008] S3: according to the design sample library, the aerodynamic coefficients of all samples are estimated by using an engineering estimation method based on Newton's method and a cutting cone / cutting wedge method;
[0009] S4: according to the design sample library, using the CST function pre-established by the system to generate shape data point files and model files corresponding to all samples;
[0010] S5: Based on the model file, the system calls the grid drawing software to automatically generate the unstructured grid file required for CFD calculation of each sample;
[0011] S6: The system uploads the grid file to the remote terminal, and the terminal calls software dedicated to numerical calculation of hypersonic aircraft to carry out CFD calculation;
[0012] S7: Based on the aerodynamic data obtained by the CFD calculation, a multi-factor variance analysis is performed on all samples;
[0013] S8: According to the multi-factor variance analysis result, a proxy model is constructed based on the sample library and the aerodynamic data obtained by the CFD calculation, and the optimization result is displayed in a visualization window.
[0014] Furthermore, the step S1 specifically includes: the CST function is defined by the user and pre-set in the system. The design variables change with the CST function, and different functions have different design variables. The incoming flow conditions include incoming flow velocity, incoming flow pressure, incoming flow temperature, angle of attack, and sideslip angle.
[0015] Furthermore, the step S2 specifically includes: generating a sample library according to the experimental design principle of full factorial design, ensuring that all possible combinations of all levels of all design variables appear in the sample library. where n v is the number of design variables, n i The number of levels for each design variable.
[0016] Furthermore, the step S3 specifically includes:
[0017] (1) Estimate aerodynamic forces based on the panel method by estimating the pressure coefficient C of the panel. p , get the aerodynamic coefficient of the aircraft;
[0018] (2) The panel method is to divide the aircraft surface into many panels and estimate the pressure coefficient C of each panel. p , accumulate the C of all facets p , the aerodynamic coefficient of the entire aircraft is calculated by the following formula:
[0019]
[0020]
[0021]
[0022]
[0023]
[0024] C L =C N ·cosα-C A ·sinα
[0025] C D =C N ·sinα+C A ·cosα
[0026] K=C L / C D
[0027] (3) C p It is defined as a one-dimensional function related only to the impact angle θ, which is the angle between the plane element and the incoming flow velocity vector. Calculate, where is the unit vector of the plane element, is the incoming flow velocity vector;
[0028] (4) The unit vector When the surface element is located on the upper surface of the aircraft is positive, and the surface element is negative when it is located on the lower surface of the aircraft;
[0029] (5) Pressure coefficient C p The modified Newton method and the wedge / cone method are used to estimate C. p for:
[0030] C p =Ksin 2 θ
[0031] K=C pmax
[0032]
[0033] Estimate C using the wedge / cone method p Using the empirical formula, the expression is:
[0034] C p =2e ξ sin 2 θ.
[0035] ξ=0.18145-0.20923n+0.09092n 2 +0.006876η 3 -0.006225η 4 -0.000971η 5
[0036] Furthermore, the step S6 of performing CFD calculations across platforms specifically includes: setting up examples according to the incoming flow conditions and the CFD algorithm pre-built by the system, automatically allocating the spare nodes of the blade server to which the remote terminal is connected, and simultaneously running multiple examples on the server in a multi-threaded manner. After the example calculation is completed, the aerodynamic coefficients are exported and the aerodynamic coefficients are batch-processed and output to the same file.
[0037] Furthermore, the step S7 specifically includes:
[0038] (1) Multi-factor variance analysis is carried out on the design variables and aerodynamic data of the sample library. The factors of the multi-factor variance analysis are the design variables that change with the CST function, and the dependent variables are the axial force coefficient, normal force coefficient, lateral force coefficient, pitch moment coefficient, yaw moment coefficient, roll moment coefficient, lift coefficient, drag coefficient, lift-to-drag ratio, and pressure center;
[0039] (2) When the sideslip angle given by the incoming flow condition is 0, since the aircraft generated by the CST function is a symmetrical aircraft along the XZ plane, the lateral force coefficient, yaw moment coefficient, and roll moment coefficient are all 0 and do not participate in the multi-factor variance analysis;
[0040] (3) The significance level of multi-factor analysis of variance was α=0.05.
[0041] Furthermore, the step S8 specifically includes:
[0042] The construction of the proxy model will be based on the results of multi-factor variance analysis. Through multi-factor variance analysis, we can obtain the factors that have a major impact on each dependent variable and the factors that have significant interactions between each other. Based on this, we can construct Y k =a k x i +b k x m x n +c kThe proxy model, where Y k is the dependent variable, k = 1 to 10, a k 、b k 、c k is the fitting coefficient of the corresponding dependent variable proxy model, x i is the design variable with significant main effect, x m 、x n The interaction effect is significant for the design variables. Finally, the results of the multi-factor ANOVA and the surrogate model are displayed in the visualization window at the same time.
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] The present invention can complete the sample preparation and optimization of the aircraft within one system, and integrate the optimization work of traditional hypersonic aircraft into the same system. It avoids the repeated and complex human-computer interaction work in the previous sample preparation work, greatly simplifies the existing optimization work, and reduces the workload. The aircraft shape is generated based on the parametric design of the CST function. By changing the CST function expression pre-established in the system, it can realize the rapid automatic modeling and optimization of multiple types of aircraft. It has good scalability and can be widely used in the optimization design of multiple types of aircraft. The proxy model is constructed based on the results of multi-factor variance analysis. The multi-factor variance analysis eliminates certain factors that have little effect on the dependent variable to achieve dimensionality reduction, reduce the impact of invalid data on the corresponding dependent variable proxy model, and improve the accuracy of the constructed proxy model. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 The present invention provides a flowchart of a hypersonic vehicle aerodynamic shape automatic optimization design system.
[0046] Figure 2 A system operation flow chart of a system for automatic optimization design of aerodynamic shape of a hypersonic aircraft provided in an embodiment of the present invention.
[0047] Figure 3 This is a schematic diagram of design parameters of a hypersonic aircraft provided in an embodiment of the present invention.
[0048] Figure 4 The aerodynamic coefficients of the sample library obtained by engineering estimation according to the embodiment of the present invention.
[0049] Figure 5 Schematic diagram of aircraft data points and model generated according to the CST function in an embodiment of the present invention.
[0050] Figure 6 This is a schematic diagram of a hypersonic aircraft model that automatically generates a sample library after given design variables in an embodiment of the present invention.
[0051] Figure 7 A schematic diagram of a grid drawn for an embodiment of the present invention.
[0052] Figure 8 This is a schematic diagram of node usage and node allocation displayed by the current system according to an embodiment of the present invention.
[0053] Fig. 9 This is a screenshot of the aerodynamic coefficients of each sample in the sample library after CFD calculation according to an embodiment of the present invention are output to Excel.
[0054] Fig.10 The multi-factor variance analysis results and proxy model of the embodiment of the present invention. DETAILED DESCRIPTION
[0055] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be noted that the accompanying drawings and embodiments are provided only for a better understanding of the present invention, but this should not be understood as the implementation scope of the content of the present invention being limited to the following embodiments, and all technologies implemented based on the content of the present invention belong to the scope of the present invention.
[0056] like Figure 1 As shown, in the embodiment of the present invention, a hypersonic aircraft aerodynamic shape automatic optimization design system is proposed. The detailed operation process of the system in this embodiment is as follows: Figure 2 As shown, the system specifically includes the following steps:
[0057] Step S1, according to the self-defined CST function required to generate the aerodynamic shape of the aircraft, obtain the value of each design variable contained in the function and the incoming flow condition of the optimized design from the user end. In the embodiment of the present invention, the CST function preset in the system for constructing the aircraft shape is:
[0058] H upi =tan(θ u )·l i
[0059] H downi =tan(θ l )·l i
[0060]
[0061]
[0062] The CST function contains five design variables: the upper cone angle θ u 、lower half cone angle θ l , upper surface profile control parameter N u , lower surface profile control parameter N l, contour curve control parameter n, the physical meaning of each design variable of the aircraft in this embodiment is as follows Figure 3 As shown, the aircraft is composed of multiple sections that change along the axial direction. The aircraft takes sections along the axial direction, and the upper half of each section is the upper surface profile. The parameter that controls the shape of the upper surface profile is the upper surface profile parameter N u The lower half of each section is the lower surface profile, and the parameter controlling the shape of the lower surface profile is the lower surface profile parameter N l The upper cone angle is the angle between the midpoints of the cross-sectional lines on the upper surface of the aircraft and the horizontal direction, and the lower cone angle is the angle between the midpoints of the cross-sectional lines on the lower surface and the horizontal direction. The shape of the fuselage from the top view is the fuselage contour, which is controlled by the fuselage contour curve control parameter n. A screenshot of each design variable value and the given optimized design inflow condition is read in the system. The inflow condition is:
[0063]
[0064] Step S2: According to the design variable values, obtain the number of levels corresponding to each design variable, and generate a design sample library according to the experimental design scheme of the complete factorial design. In this embodiment, there are 5 design variables, each of which takes 3 different values. Therefore, the number of samples in the sample library is Number = 4. 4 ·3 = 768, which includes all possible combinations of the levels of the design variables.
[0065] Step S3 estimates the aerodynamic coefficients of all samples based on the design sample library using an engineering estimation method based on Newton's method and the cone / wedge method. The aerodynamic force is estimated using the panel method. The aerodynamic forces on the upper and lower surfaces of the aircraft are estimated separately. Based on the data point file when the aircraft is generated, the upper and lower surfaces of the aircraft are divided into many panels. By estimating the pressure coefficient C of each panel, the pressure coefficient C of each panel is estimated. p , get the force on each surface element, and calculate the aerodynamic coefficient of the entire aircraft through the following formula:
[0066]
[0067]
[0068]
[0069]
[0070]
[0071]
[0072] C L =C N ·cosα-CA ·sinα
[0073] C D =C N ·sinα+C A ·cosα
[0074] K=C L / C D
[0075] C per bin p is a one-variable function related only to the impact angle θ, which is the angle between each plane element and the incoming flow velocity vector. Calculate. is the unit normal vector of the plane element, is the incoming flow velocity vector, when the surface element is located on the upper surface of the aircraft is positive, and is negative when the surface element is located on the lower surface of the aircraft.
[0076] System pressure coefficient C p The modified Newton method and the wedge / cone method based on the empirical formula are used to estimate C. p The expression is:
[0077] C p =Ksin 2 θ
[0078] K=C pmax
[0079]
[0080] Estimate C using the wedge / cone method based on empirical formulas p The expression is:
[0081] C p =2e ξ sin 2 θ
[0082] ξ=0.18145-0.20923n+0.09092n 2 +0.006876η 3 -0.006225η 4 -0.000971η 5
[0083]
[0084] The aerodynamic coefficients of the engineering estimation sample library are automatically output to the file, such as Figure 4 shown.
[0085] Step S4 generates the shape data point files and model files corresponding to all samples according to the design sample library using the CST function pre-established by the system. In this embodiment, the data points and model files of a certain aircraft are as follows: Figure 5 As shown, the schematic diagram of the aircraft model in the sample library of this embodiment is as follows Figure 6 shown.
[0086] Step S5: Based on the model file described in step S4, the system calls the grid drawing software to automatically generate the unstructured grid file required for each sample CFD calculation. Figure 7 A schematic diagram of a certain aircraft grid drawn for this embodiment.
[0087] Step S6: The system uploads the grid file to the remote terminal, and the terminal calls the software dedicated to the numerical calculation of hypersonic aircraft to carry out CFD calculation. According to the incoming flow conditions described in step S1 and the CFD algorithm set up in advance by the system, the free nodes of the blade server connected to the remote terminal are automatically allocated, such as Figure 8 As shown in the figure, the system shows that the free nodes on the current server are computer1, 2, 4, 5, 8, 9, 12, 19, 24, 25, and 26. These eleven nodes are assigned to Number = 768 calculation cases. Multiple calculation cases are run on the server in multi-threaded mode at the same time. It is set to export aerodynamic data and end the calculation case when the aerodynamic coefficients converge. After all calculation cases are completed, the aerodynamic coefficients are batch processed and output to the same file. The resulting aerodynamic coefficient file "Data.xlsx" is as follows Fig. 9 shown.
[0088] Step S7 performs a multi-factor variance analysis on all samples based on the aerodynamic data obtained by CFD calculation in step 6. The multi-factor variance analysis is performed on the design variables and aerodynamic data of the sample library. In this embodiment, the factors of the multi-factor variance analysis are the upper half cone angle θ u 、lower half cone angle θ l , upper surface profile control parameter N u , lower surface profile control parameter N l , contour curve control parameter n, the dependent variables are axial force coefficient CA, normal force coefficient CN, pitch moment coefficient Cm, lift coefficient CL, drag coefficient CD, lift-to-drag ratio K, and pressure center PL.
[0089] like Fig.10 This is the result of the multi-factor variance analysis of this embodiment. The results of the middle main window show that θ l 、N u 、N l The responses of all dependent variables are significantly different when taking different levels. u *N lThe interaction of is significant for all dependent variables. The construction of the proxy model is based on the results of multi-factor variance analysis and Y = ax i +bx k x j+ c expression to construct a proxy model, the main effect is in the first term, the interaction effect is in the second term, and the factors without main effects will be eliminated. Therefore, in this embodiment, the proxy model of the dependent variable CA will eliminate the factor θ u , n, CL, CD proxy model elimination factor θ u , the proxy models of the dependent variables CN, Cm, K, and PL include all factors. The upper window shows the proxy models constructed for different dependent variables.
[0090] Step S8 constructs a proxy model based on the sample library and the aerodynamic data obtained by the CFD calculation according to the multi-factor variance analysis results, and displays the results in a visualization window.
[0091] The above is only a specific implementation of the present invention, and does not limit the concept and scope of the present invention. The protection scope of the present invention is not limited to this. Various substitutions, modifications and improvements made by those skilled in the art without departing from the principle and scope of the present invention should be included in the protection scope of the present invention.
Claims
1. A hypersonic vehicle aerodynamic shape automatic optimization design system, characterized in that: Specifically include: S1: Define a CST (Class function / Shape function Transformation) function based on the type function / shape function transformation technology required to generate the aerodynamic shape of the aircraft, and obtain the value of each design variable contained in the function and the incoming flow conditions for the optimized design from the user end; S2: according to the value of the design variable, obtain the number of levels corresponding to each design variable, and generate a design sample library according to the experimental design scheme of the complete factorial design; S3: According to the design sample library, the aerodynamic coefficients of all samples are estimated by using an engineering estimation method based on Newton's method and cone / wedge cutting method; the engineering estimation method: the aircraft surface is divided into a plurality of face elements, and the pressure coefficient C of each face element is estimated. p , by accumulating the C of all face elements p , get the aerodynamic coefficient of the entire aircraft; the C p It is defined as a one-dimensional function that is only related to the impact angle θ. The impact angle θ is the angle between the plane element and the incoming flow velocity vector. Calculate, where is the unit vector of the plane element, is the incoming flow velocity vector; the unit vector When the surface element is located on the upper surface of the aircraft is positive, and when the surface element is located on the lower surface of the aircraft, the surface element is negative; estimate the pressure coefficient C p Using the modified Newton method and the wedge / cone method, the modified Newton method estimates C p for: C p =Ksin 2 i K=C pmax Among them, C p is the pressure coefficient, K is the unknown coefficient for estimating the pressure coefficient in Newton's theory, and the Newton method is corrected by correcting K. θ is the impact angle, and K in the corrected Newton method is C pmax , C pmax is the pressure coefficient of the stagnation point after the normal shock wave, γ is the specific heat ratio, Ma ∞ is the incoming flow Mach number; Estimate C using the wedge / cone method p Using the empirical formula, the expression is: C p =2e ξ sin 2 i ξ=0.18145-0.20923η+0.09092η 2 +0.006876th 3 -0.006225th 4 -0.000971th 5 Among them, ∞ is the incoming flow Mach number, η and ξ are both process quantities in the calculation; S4: According to the design sample library, the CST function described in step S1 is used to generate shape data point files and model files corresponding to all samples; S5: Based on the model file, calling the grid drawing software to automatically generate the unstructured grid file required for CFD calculation of each sample; S6: Upload the grid file to the terminal, and the terminal performs CFD calculation; S7: Based on the aerodynamic data obtained by the CFD calculation, a multi-factor variance analysis is performed on all samples; S8: According to the multi-factor variance analysis result, a proxy model is constructed based on the sample library and the aerodynamic data obtained by the CFD calculation, and the optimization result is displayed in a visualization window.
2. The hypersonic vehicle aerodynamic shape automatic optimization design system according to claim 1, characterized in that: The CST function described in step S1 is defined by the user and pre-set in the system. The design variables change with the CST function, and different functions have different design variables. The incoming flow conditions include incoming flow velocity, incoming flow pressure, incoming flow temperature, angle of attack, and sideslip angle.
3. The hypersonic vehicle aerodynamic shape automatic optimization design system according to claim 1, characterized in that: The design variables in step S2 generate a sample library based on the complete factorial design, including all possible combinations of all levels of all design variables. The number of samples in the sample library where n v is the number of design variables, n i The number of levels for each design variable.
4. The hypersonic vehicle aerodynamic shape automatic optimization design system according to claim 1, characterized in that: The CFD calculation described in step S6 specifically includes: setting up a calculation example according to the incoming flow conditions and the CFD algorithm pre-built by the system, automatically allocating the spare nodes of the blade server connected to the remote terminal, running multiple calculation examples on the server simultaneously in multi-threaded manner, and deriving the aerodynamic coefficients after the calculation of the calculation examples and batch-processing and outputting the aerodynamic coefficients to the same file.
5. The hypersonic vehicle aerodynamic shape automatic optimization design system according to claim 1, characterized in that: The multi-factor variance analysis factors in step S7 are the design variables, and the dependent variables include the axial force coefficient, the normal force coefficient, the lateral force coefficient, the pitch moment coefficient, the yaw moment coefficient, the rolling moment coefficient, the lift coefficient, the drag coefficient, the lift-to-drag ratio, and the center of pressure.
6. The hypersonic vehicle aerodynamic shape automatic optimization design system according to claim 5, characterized in that: When the sideslip angle is 0, the lateral force coefficient, yaw moment coefficient, and roll moment coefficient are 0 and do not participate in the multi-factor variance analysis.
7. The hypersonic vehicle aerodynamic shape automatic optimization design system according to claim 1, characterized in that: The construction of the proxy model in step S8 will be based on the results of multi-factor variance analysis: k =a k x i +b k x m x n +c k , and display the results in the visualization window; where Y k is the dependent variable, k = 1 to 10, a k 、b k 、c k is the fitting coefficient of the corresponding dependent variable proxy model, x i is the design variable with significant main effect, x m 、x n are design variables with significant interaction effects.
