Anti-noise proxy optimization method capable of reducing numerical noise influence in design
Through the combination of support vector regression and ε-Kriging surrogate model, the problem of numerical noise influence in engineering optimization design is solved, efficient optimization design is achieved, and the optimization results are better than traditional methods.
Patent Information
- Application Number
- CN202410655001.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-09-06
AI Technical Summary
Numerical noise existing in engineering optimization design affects optimization efficiency and quality, leading to gradient calculation errors and optimization failures. Existing anti-noise optimization methods are computationally intensive and have limited applications.
The support vector regression model and ε-Kriging surrogate model are used to build a surrogate model of design variables with respect to the objective function and constraint function through hyperparameter optimization and generalization error estimation, filter out the influence of numerical noise, and optimize the design variables to achieve optimization convergence standards.
It effectively reduces the impact of numerical noise on optimal design, improves optimization efficiency, and obtains optimization results that meet design requirements. The optimization results are higher than the traditional Kriging model.
Smart Images

Figure CN118607356A
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of engineering optimization design, and in particular relates to an anti-noise proxy optimization method which can reduce the influence of numerical noise in design. Background Art
[0002] Numerical noise refers to the phenomenon that the objective function or constraint function presents irregular fluctuations around a smooth trend as the design variables change. It is widely present in engineering optimization design and is a key factor affecting the efficiency and quality of efficient global aerodynamic optimization. The main reasons for the generation of numerical noise include incomplete convergence, different solution formats, and differences in grid unit division of candidate solutions. It can be divided into low frequency and high frequency according to the frequency. Among them, the effect of low-frequency noise on optimization is relatively small and can be ignored, while the effect of high-frequency noise on optimization cannot be ignored. Although the amplitude of numerical noise is related to the specific optimization problem, it can be determined that numerical noise is inevitably generated in CFD analysis. Theoretical analysis and practice have proved that numerical noise will greatly reduce the optimization efficiency, significantly affect the optimization quality, and even lead to optimization failure in severe cases. At present, the problem of numerical noise is parallel to the curse of dimensionality, complex numerical analysis, continuous / discrete design space and other problems, becoming a key scientific issue that plagues the research of efficient global aerodynamic optimization design.
[0003] As the understanding of numerical noise deepens, researchers have proposed a series of noise-resistant optimization strategies based on evolutionary algorithms for optimization design problems with numerical noise. However, due to the large amount of computation, their application in engineering is limited. Gradient-based optimization methods are widely used in noise-free optimization design problems because of their fast convergence and high optimization efficiency. However, when the objective function fluctuates around a certain trend with the design variables due to numerical noise, it will cause gradient calculation errors, misleading the optimization process of gradient optimization and causing optimization failure.
[0004] Therefore, solving the optimization design problem containing numerical noise in engineering has important engineering value. Summary of the invention
[0005] In view of the defects of the prior art, the present invention provides an anti-noise proxy optimization method which can reduce the influence of numerical noise in the design, and can effectively solve the above problems.
[0006] The technical solution adopted by the present invention is as follows:
[0007] The present invention provides an anti-noise proxy optimization method that can reduce the influence of numerical noise in design, comprising the following steps:
[0008] Step 1, determine the optimization design problem, including design variables, objective function and constraint function;
[0009] Step 2: Construct sample set W:
[0010] Determine the design space X of the design variables, and sample n sample points x in the design space X (1) ,x (2) ,...,x (n) , forming a sample point set S = [x (1) ,x (2) ,...,x (n) ] T ;
[0011] Calculate the response value of each sample point, and obtain the corresponding n response values y (1) ,y (2) ,...,y (n) , forming the response value set y s =[y (1) ,y (2) ,...,y (n) ] T ; Wherein, the response value of the sample point includes the objective function response value and the constraint function response value;
[0012] The sample point set S and the response value set y s Form a sample set containing numerical noise W = (S, y s )=[(x (1) ,y (1) ),(x (2) ,y (2) ),...,(x (n) ,y (n) )] T ;
[0013] Step 3, establish a support vector regression model SVR of the design variables with respect to the objective function; take the sample set W as the training sample, use the hyperparameter optimization algorithm to optimize the hyperparameters of the support vector regression model SVR, and obtain the optimal value of the hyperparameter ε;
[0014] Step 4, according to the optimal value of the hyperparameter ε, using the sample set W as the training sample, constructing an ε-Kriging proxy model; the ε-Kriging proxy model includes an ε-Kriging proxy model of the design variables with respect to the objective function and an ε-Kriging proxy model of the design variables with respect to the constraint function;
[0015] The ε-Kriging surrogate model of the design variables with respect to the objective function is used to give the estimated value of the objective function at any unknown point x, as well as the mean square error estimate of the estimated value of the objective function;
[0016] The ε-Kriging surrogate model of the design variables with respect to the constraint function is used to give the constraint function estimate for any unknown point x, as well as the mean square error estimate of the constraint function estimate;
[0017] Step 5: construct the EI function based on the estimated value of the objective function, the mean square error estimate of the estimated value of the objective function, the estimated value of the constraint function, and the mean square error estimate of the estimated value of the constraint function; adopt the constrained EI point addition criterion, and find the new sample point to be added that maximizes the EI function on the ε-Kriging proxy model of the design variables with respect to the objective function to obtain the new sample point x (*) ;
[0018] Step 6: For the new sample point x obtained in step 5 (*) Perform CFD calculations to obtain the corresponding response values, including the objective function response value and the constraint function response value. (*) , and the obtained objective function response value and constraint function response value, form a sample, and add it to the sample set W to obtain the updated sample set;
[0019] Step 7: Use the updated sample set to reconstruct the support vector regression model SVR and the ε-Kriging surrogate model, and repeat steps 3 to 6 until the optimization convergence criterion is reached and a result that meets the optimization design goal is obtained.
[0020] Preferably, it is characterized in that, in step 2, the sampling method is a Latin hypercube sampling method or a uniform sampling method.
[0021] Preferably, it is characterized in that in step 3, the hyperparameter optimization algorithm is a genetic algorithm, a covariance matrix adaptive evolution strategy or a Bayesian optimization algorithm.
[0022] Preferably, it is characterized in that when the hyperparameter optimization algorithm is used to optimize the hyperparameters of the support vector regression model SVR, a generalization error estimation method is used to evaluate and determine the optimization effect; wherein the generalization error estimation method includes cross-validation and leave-one-bound method.
[0023] Preferably, the method for constructing the ε-Kriging surrogate model of the design variables with respect to the objective function is:
[0024] Step 4.1, determine the correlation matrix R according to the optimal value of the hyperparameter ε ε , the expression is:
[0025]
[0026] in:
[0027] R(x (1) ,x (n) ) represents the sample point x (1) and sample point x (n) The correlation function value between ;
[0028] R(x(n) ,x (1) ) represents the sample point x (n) and sample point x (1) The correlation function value between ;
[0029] Step 4.2, based on the correlation matrix R ε , taking the sample set W as the training sample, constructing the ε-Kriging surrogate model of the design variables with respect to the objective function, including the estimated expression and mean square error estimation of the ε-Kriging surrogate model of the design variables with respect to the objective function;
[0030] The estimated expression of the ε-Kriging surrogate model of the design variable with respect to the objective function is:
[0031]
[0032] Mean square error estimation for:
[0033]
[0034] in:
[0035] is the estimated value of the response value of the smooth prediction expression at any unknown point x;
[0036] β 0 is a constant representing the global trend of the ε-Kriging surrogate model of the design variable with respect to the objective function, β 0 =(F T R ε -1 F) -1 F T R ε -1 y s ;
[0037] r(x) represents any unknown point x and n sample points x (1) ,x (2) ,...,x (n) The correlation vector formed by the correlation function values between is expressed as:
[0038]
[0039] Where: R(x (1) ,x),R(x (2) ,x),…,R(x (n) ,x), representing any unknown point x and sample point x respectively. (1) The correlation function value between the predicted sample point x and the sample point x (2)The correlation function value between,…, predicts the sample point x and the sample point x (n) The correlation function value between ;
[0040] T represents the transpose of the matrix;
[0041] F represents the n-dimensional identity matrix, which is in the form of: F = [1 1 … 1] T ;
[0042] σ is the process variance of the ε-Kriging surrogate model of the design variables with respect to the objective function.
[0043] The present invention provides an anti-noise proxy optimization method that can reduce the influence of numerical noise in design and has the following advantages:
[0044] The present invention provides an anti-noise proxy optimization method which can reduce the influence of numerical noise in design, can filter out the influence of numerical noise in optimization design, and obtain optimization results that meet design requirements while ensuring optimization efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 A schematic flow chart of an anti-noise proxy optimization method provided by the present invention that can reduce the influence of numerical noise in design;
[0046] Figure 2 This is the noise filtering diagram and EI function distribution diagram when the first sample is added by the traditional Kriging-based method;
[0047] Figure 3 It is a noise filtering schematic diagram and EI function distribution diagram when the first sample is added based on the ε-Kriging method of the present invention;
[0048] Figure 4 This is the noise filtering diagram and EI function distribution diagram when the second sample is added by the traditional Kriging-based method;
[0049] Figure 5 It is a noise filtering schematic diagram and EI function distribution diagram when a second sample is added based on the ε-Kriging method of the present invention;
[0050] Figure 6 This is the noise filtering diagram and EI function distribution diagram when the third sample is added in the traditional Kriging-based method;
[0051] Figure 7 It is a noise filtering schematic diagram and EI function distribution diagram when the third sample is added based on the ε-Kriging method of the present invention;
[0052] Figure 8This is the noise filtering schematic diagram and EI function distribution diagram when the fourth sample is added in the traditional Kriging-based method;
[0053] Fig. 9 It is a noise filtering schematic diagram and EI function distribution diagram when the fourth sample is added based on the ε-Kriging method of the present invention;
[0054] Fig.10 This is the noise filtering schematic diagram and EI function distribution diagram when the fifth sample is added by the traditional Kriging-based method;
[0055] Fig.11 It is a noise filtering schematic diagram and EI function distribution diagram when the fifth sample is added based on the ε-Kriging method of the present invention;
[0056] Fig.12 It is the RAE2822 reference airfoil and optimized design space diagram;
[0057] Fig.13 This is a schematic diagram of the noise of the drag coefficient value during the RAE2822 airfoil optimization process;
[0058] Fig.14 This is a schematic diagram of the lift coefficient noise during the RAE2822 airfoil optimization process;
[0059] Fig.15 This is a schematic diagram of the noise of the moment coefficient value during the RAE2822 airfoil optimization process;
[0060] Fig.16 This is a comparison of the geometric shapes of the RAE2822 airfoil optimization results;
[0061] Fig.17 This is a comparison chart of the pressure distribution of the RAE2822 airfoil optimization results. DETAILED DESCRIPTION
[0062] In order to make the technical problems, technical solutions and beneficial effects solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0063] For optimization design problems with numerical noise in the response value, traditional methods cannot effectively filter out the influence of numerical noise and cannot obtain optimization results that meet the design requirements. The present invention provides an anti-noise proxy optimization method that can reduce the influence of numerical noise in the design, and applies it to airfoil optimization design problems. The method of the present invention can filter out the influence of numerical noise in the optimization design, and obtain optimization results that meet the design requirements while ensuring the optimization efficiency.
[0064] Based on the noise-filtering proxy model proposed by the inventor, the ε-Kriging proxy model, the present invention develops an anti-noise proxy optimization method that can eliminate the influence of numerical noise, and takes the airfoil drag reduction optimization design problem as an example to briefly introduce the main content of the invention. It should be noted that the present invention is a general method applied to proxy optimization. The present invention only takes the airfoil drag reduction optimization design problem as an example for explanation, but the actual application scope of the present invention is not limited to this. It mainly includes the following steps:
[0065] The efficient engineering design method for resisting numerical noise provided by the present invention has the following advantages:
[0066] (1) When the present invention is used to optimize the drag reduction design of an airfoil, a significant drag reduction optimization effect can be achieved when the response value contains numerical noise, and the invention has strong engineering applicability.
[0067] (2) The proxy optimization method based on the ε-Kriging proxy model proposed in the present invention has a strong ability to filter out numerical noise during the optimization process, and its optimization results are higher than those based on the traditional Kriging model. The specific results are shown in the example in the attached figure.
[0068] (3) The proxy optimization method based on the ε-Kriging proxy model proposed in the present invention creatively introduces the hyperparameter ε in the support vector regression model into the Kriging model training process, and then develops a corresponding noise-resistant proxy optimization method, which effectively filters out the influence of numerical noise in the response value on the optimization result.
[0069] See also Figure 1 The present invention provides an anti-noise proxy optimization method that can reduce the influence of numerical noise in design, comprising the following steps:
[0070] Step 1, determine the optimization design problem, including design variables, objective function and constraint function;
[0071] Step 2: Construct sample set W:
[0072] Determine the design space X of the design variables, and sample n sample points x in the design space X (1) ,x (2) ,...,x (n) , the sampling method is Latin hypercube sampling method or uniform sampling method, forming a sample point set S = [x (1) ,x (2) ,...,x (n) ] T ;
[0073] Calculate the response value of each sample point, and obtain the corresponding n response values y (1) ,y (2) ,...,y(n) , forming the response value set y s =[y (1) ,y (2) ,...,y (n) ] T ; Wherein, the response value of the sample point includes the objective function response value and the constraint function response value;
[0074] The sample point set S and the response value set y s Form a sample set containing numerical noise W = (S, y s )=[(x (1) ,y (1) ),(x (2) ,y (2) ),...,(x (n) ,y (n) )] T ;
[0075] Step 3, establish a support vector regression model SVR of the design variables with respect to the objective function; take the sample set W as the training sample, and use the hyperparameter optimization algorithm to optimize the hyperparameters of the support vector regression model SVR to obtain the optimal value of the hyperparameter ε; specifically, the hyperparameter optimization algorithm is a genetic algorithm, a covariance matrix adaptive evolution strategy or a Bayesian optimization algorithm. When the hyperparameter optimization algorithm is used to optimize the hyperparameters of the support vector regression model SVR, a generalization error estimation method is used to evaluate and determine the optimization effect; wherein, the generalization error estimation method includes cross validation and leave-one-bound method.
[0076] Step 4, according to the optimal value of the hyperparameter ε, using the sample set W as the training sample, constructing an ε-Kriging proxy model; the ε-Kriging proxy model includes an ε-Kriging proxy model of the design variables with respect to the objective function and an ε-Kriging proxy model of the design variables with respect to the constraint function;
[0077] The ε-Kriging surrogate model of the design variables with respect to the objective function is used to give the estimated value of the objective function at any unknown point x, as well as the mean square error estimate of the estimated value of the objective function;
[0078] The ε-Kriging surrogate model of the design variables with respect to the constraint function is used to give the constraint function estimate for any unknown point x, as well as the mean square error estimate of the constraint function estimate;
[0079] The construction method of the ε-Kriging surrogate model of the design variables with respect to the objective function is:
[0080] Step 4.1, determine the correlation matrix R according to the optimal value of the hyperparameter ε ε , the expression is:
[0081]
[0082] in:
[0083] R(x (1) ,x (n) ) represents the sample point x (1) and sample point x (n) The correlation function value between ;
[0084] R(x (n) ,x (1) ) represents the sample point x (n) and sample point x (1) The correlation function value between ;
[0085] Step 4.2, based on the correlation matrix R ε , taking the sample set W as the training sample, constructing the ε-Kriging surrogate model of the design variables with respect to the objective function, including the estimated expression and mean square error estimation of the ε-Kriging surrogate model of the design variables with respect to the objective function;
[0086] The estimated expression of the ε-Kriging surrogate model of the design variable with respect to the objective function is:
[0087]
[0088] Mean square error estimation for:
[0089]
[0090] in:
[0091] is the estimated value of the response value of the smooth prediction expression at any unknown point x;
[0092] β 0 is a constant representing the global trend of the ε-Kriging surrogate model of the design variable with respect to the objective function, β 0 =(F T R ε -1 F) -1 F T R ε -1 y s ;
[0093] r(x) represents any unknown point x and n sample points x (1) ,x (2) ,...,x (n) The correlation vector formed by the correlation function values between is expressed as:
[0094]
[0095] Where: R(x (1) ,x),R(x (2) ,x),…,R(x (n) ,x), representing any unknown point x and sample point x respectively. (1) The correlation function value between the predicted sample point x and the sample point x (2) The correlation function value between,…, predicts the sample point x and the sample point x (n) The correlation function value between ;
[0096] T represents the transpose of the matrix;
[0097] F represents the n-dimensional identity matrix, which is in the form of: F = [1 1 … 1] T ;
[0098] σ is the process variance of the ε-Kriging surrogate model of the design variables with respect to the objective function.
[0099] It should be noted that the ε-Kriging surrogate model of the design variables with respect to the objective function is Represents the estimated value of the objective function of the smooth estimation expression at any unknown point x;
[0100] ε-Kriging surrogate model of design variables with respect to constraint functions, Represents the estimated value of the constraint function of the smooth estimate expression at any unknown point x. Other forms are the same.
[0101] Step 5: construct the EI function based on the estimated value of the objective function, the mean square error estimate of the estimated value of the objective function, the estimated value of the constraint function, and the mean square error estimate of the estimated value of the constraint function; adopt the constrained EI point addition criterion, and find the new sample point to be added that maximizes the EI function on the ε-Kriging proxy model of the design variables with respect to the objective function to obtain the new sample point x (*) ;
[0102] Step 6: For the new sample point x obtained in step 5 (*) Perform CFD calculations to obtain the corresponding response values, including the objective function response value and the constraint function response value. (*) , and the obtained objective function response value and constraint function response value, form a sample, and add it to the sample set W to obtain the updated sample set;
[0103] Step 7: Use the updated sample set to reconstruct the support vector regression model SVR and the ε-Kriging surrogate model, and repeat steps 3 to 6 until the optimization convergence criterion is reached and a result that meets the optimization design goal is obtained.
[0104] Therefore, the main innovation of the present invention is based on the numerical noise phenomenon that occurs in the process of engineering optimization design, and the problem that the existing optimization methods have weak ability to deal with numerical noise, and proposes an efficient proxy optimization method that is resistant to numerical noise. The proxy model uses the noise-filtering proxy model ε-Kriging. In specific optimization design problems, such as airfoil aerodynamic optimization design, if the response value is affected by numerical noise, it will mislead the point-adding process of the proxy model and cause optimization failure. The existing optimization methods cannot handle numerical noise well. Although these response values are affected by numerical noise, they can generally correctly reflect the changing trend of the design objectives with the design variables. The noise-resistant optimization method proposed in the present invention can adaptively filter out the influence of numerical noise in the process of constructing the proxy model and adding points, so as to achieve efficient and accurate optimization. Figures 2 to 11 As shown, the noise-resistant optimization method developed in the present invention achieves noise filtering and accurate point addition compared with the traditional Kriging-based method.
[0105] Based on the RAE2822 airfoil standard calculation example, the inventor carried out the optimization design of airfoils with numerical noise, where the source of numerical noise is incomplete convergence. In this case, the 8th-order CST parameterization method is used, and there are 18 design variables. Under the design state, the free flow Mach number is 0.734, and the Reynolds number Re=6.5×10 6 , the lift coefficient is 0.824.
[0106] Step 1: Determine the specific optimization problem, and the optimization target is the drag coefficient C d Minimum, the objective function of the optimal design is the resistance coefficient C d , constrained to be the lift coefficient C l is 0.824, the moment coefficient C m The absolute value of is not greater than 0.092, and the airfoil area Area is not less than the initial airfoil area Area baseline , the optimized mathematical model is:
[0107] min C d
[0108] sC l =0.824
[0109] |C m |≤0.092
[0110] Area≥Area baseline
[0111] Therefore, the objective function is the drag coefficient C d ; Constraint function is lift coefficient C l , torque coefficient C mAnd airfoil area Area.
[0112] Step 2: Construct sample set W:
[0113] Determine the design space X of the design variables. The design space X takes 0.5 times the lower limit and 1.5 times the upper limit of the initial airfoil design variables, such as Fig.12 As shown, the anti-noise proxy optimization algorithm proposed in the present invention is used for optimization design.
[0114] In the design space X, 50 sample points are selected using Latin hypercube sampling, and CFD calculations are performed on the sample points to obtain the corresponding aerodynamic coefficient response values, including the drag coefficient, lift coefficient, and moment coefficient. The airfoil area of each sample point is calculated at the same time. The drag coefficient, lift coefficient, moment coefficient, and airfoil area form a response value. The sample points and response values are used to construct a sample set containing numerical noise.
[0115] In this step, when performing CFD calculations for each sample point, the RANS equations are solved and the full turbulence calculation is performed. The conformal transformation method is used to generate a C-type grid with a first layer height of 2×10 -6 The far-field boundary is 140 times the chord length away from the object plane, and the number of grid cells is 512×256.
[0116] Step 3: To filter out the objective function (resistance coefficient C d ) in the numerical noise, establish the design variables about the objective function (drag coefficient C d ) is used as a support vector regression model SVR. The sample set W is used as the training sample. The Bayesian optimization algorithm is used to estimate the generalization error based on cross-validation to obtain the optimal value of the hyperparameter ε.
[0117] Step 4, construct an improved ε-Kriging surrogate model according to the optimal value of the hyperparameter ε;
[0118] Specifically, an ε-Kriging surrogate model of the design variables with respect to the objective function is established, and an ε-Kriging surrogate model of the design variables with respect to the constraint function is established, which together constitute an improved ε-Kriging surrogate model.
[0119] Therefore, in this embodiment, it is necessary to establish four ε-Kriging proxy models, namely: the ε-Kriging proxy model of the design variables regarding the drag coefficient, the ε-Kriging proxy model of the design variables regarding the lift coefficient, the ε-Kriging proxy model of the design variables regarding the moment coefficient, and the ε-Kriging proxy model of the design variables regarding the airfoil area.
[0120] The construction method of each ε-Kriging surrogate model is the same:
[0121] (1) Determine the correlation matrix R based on the optimal value of the hyperparameter ε ε , the expression is:
[0122]
[0123] in:
[0124] R(x (1) ,x (n) ) represents the sample point x (1) and sample point x (n) The correlation function value between ;
[0125] R(x (n) ,x (1) ) represents the sample point x (n) and sample point x (1) The correlation function value between ;
[0126] (2) Based on the correlation matrix R ε , taking the sample set W as the training sample, each ε-Kriging proxy model is constructed.
[0127] The estimated expression of the ε-Kriging surrogate model is:
[0128]
[0129] Mean square error estimation for:
[0130]
[0131] in:
[0132] is the estimated value of the response value of the smooth prediction expression at any unknown point x;
[0133] β 0 is a constant, representing the global trend of the ε-Kriging proxy model, β 0 =(F T R ε -1 F) -1 F T R ε -1 y s ;
[0134] r(x) represents any unknown point x and n sample points x (1) ,x (2) ,...,x (n) The correlation vector formed by the correlation function values between is expressed as:
[0135]
[0136] Where: R(x (1) ,x),R(x (2) ,x),…,R(x (n) ,x), representing any unknown point x and sample point x respectively. (1) The correlation function value between the predicted sample point x and the sample point x (2) The correlation function value between,…, predicts the sample point x and the sample point x (n) The correlation function value between ;
[0137] T represents the transpose of the matrix;
[0138] F represents the n-dimensional identity matrix, which is in the form of: F = [1 1 … 1] T ;
[0139] σ is the process variance of the ε-Kriging model;
[0140] Through the four ε-Kriging proxy models, the estimated value of the drag coefficient for any unknown point x can be obtained respectively: Estimated lift coefficient Moment coefficient estimate and the estimated airfoil area
[0141] The ε-Kriging surrogate model not only gives the estimated value of the corresponding response value of any unknown point x, but also can derive the mean square error estimate of the corresponding response value.
[0142] Step 5, constructing an EI function based on the estimated value of the objective function, the mean square error estimate of the estimated value of the objective function, the estimated value of the constraint function, and the mean square error estimate of the estimated value of the constraint function; using the point addition criterion of maximizing the EI function, searching for sample points to be added on the ε-Kriging proxy model of the objective function, that is, on the ε-Kriging proxy model of the resistance coefficient, the specific searching method is: using the quasi-Newton algorithm, the genetic algorithm and the Hooke-Jeeves pattern search method to search for sample points to be added on the ε-Kriging proxy model of the objective function, obtaining sample points that improve the accuracy of the ε-Kriging proxy model of the objective function, adding one sample point per iteration, and obtaining a new sample point x (*) .
[0143] Step 6: For the new sample point x obtained in step 5 (*) Perform CFD calculations to obtain the corresponding response values, including drag coefficient, lift coefficient, moment coefficient, and airfoil area. (*), and the obtained drag coefficient, lift coefficient, moment coefficient and airfoil area form a sample, and add it to the sample set W to obtain an updated sample set;
[0144] Step 7: Use the updated sample set to rebuild the SVR model and ε-Kriging proxy model, and repeat steps 3 to 6 until the optimization convergence criterion is reached. After 150 iterations and CFD analysis of a total of 200 sample points, the airfoil with the best drag reduction effect is obtained.
[0145] The airfoil design effects obtained by the method of the present invention are as follows:
[0146] Fig.13 , Fig.14 and Fig.15 The numerical noise of the aerodynamic coefficients during the optimization of the RAE2822 airfoil shows that the numerical noise can cause the observed values of the drag / lift / torque coefficients to fluctuate with the true response values. Fig.16 To verify the quality of the optimization results, the performance of the airfoil before and after the optimization design was evaluated. Table 1 compares the initial airfoil Baseline airfoil, the optimized airfoil obtained using the traditional Kriging based method, and the ε-Kriging based method of the present invention.
[0147] Table 1 RAE2822 noise-containing drag reduction optimization design results
[0148]
[0149] It can be seen from Table 1 that, under the condition of meeting the design constraints, the anti-noise optimization design method proposed in the present invention has an obvious drag reduction effect, and the drag coefficient of the optimized airfoil is significantly smaller than that of the optimized airfoil obtained by the traditional method.
[0150] Fig.17 Comparison of the geometrical shape and pressure distribution of the base airfoil and the airfoils optimized by different methods. Fig.17 It can be seen that the geometry of the optimized airfoil is slightly different, which indicates that there may be multiple extreme points in the aerodynamic optimization case, and the traditional method is trapped in the local optimum. In addition, the optimized airfoil becomes thinner near the leading edge, while the thickness of the middle and rear sections of the airfoil increases, which weakens the shock wave on the upper surface, which is the main reason for drag reduction.
[0151] The present invention uses the improved noise-filtering proxy model ε-Kriging by the inventors, and establishes a proxy model to make the optimization design process unaffected by numerical noise, and adaptively filter out the numerical noise in the optimization. The present invention introduces the noise filtering characteristics of support vector regression into the optimization based on the Kriging model, and realizes the filtering of numerical noise and global optimization design.
[0152] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be considered as the scope of protection of the present invention.
Claims
1. A noise-resistant proxy optimization method for reducing the impact of numerical noise in design, characterized in that: The following steps are involved: Step 1, determine the optimization design problem, including design variables, objective function and constraint function; Step 2: Construct sample set W: Determine the design space X of the design variables, and sample n sample points x in the design space X (1) ,x (2) ,...,x (n) , forming a sample point set S = [x (1) ,x (2) ,...,x (n) ] T ; Calculate the response value of each sample point, and obtain the corresponding n response values y (1) ,y (2) ,...,y (n) , forming the response value set y s =[y (1) ,y (2) ,...,y (n) ] T ; Wherein, the response value of the sample point includes the objective function response value and the constraint function response value; The sample point set S and the response value set y s Form a sample set containing numerical noise W = (S, y s )=[(x (1) ,y (1) ),(x (2) ,y (2) ),...,(x (n) ,y (n) )] T ; Step 3, establish a support vector regression model SVR of the design variables with respect to the objective function; take the sample set W as the training sample, use the hyperparameter optimization algorithm to optimize the hyperparameters of the support vector regression model SVR, and obtain the optimal value of the hyperparameter ε; Step 4, according to the optimal value of the hyperparameter ε, using the sample set W as the training sample, constructing an ε-Kriging proxy model; the ε-Kriging proxy model includes an ε-Kriging proxy model of the design variables with respect to the objective function and an ε-Kriging proxy model of the design variables with respect to the constraint function; The ε-Kriging surrogate model of the design variables with respect to the objective function is used to give the estimated value of the objective function at any unknown point x, as well as the mean square error estimate of the estimated value of the objective function; The ε-Kriging surrogate model of the design variables with respect to the constraint function is used to give the constraint function estimate for any unknown point x, as well as the mean square error estimate of the constraint function estimate; Step 5: construct the EI function based on the estimated value of the objective function, the mean square error estimate of the estimated value of the objective function, the estimated value of the constraint function, and the mean square error estimate of the estimated value of the constraint function; adopt the constrained EI point addition criterion, and find the new sample point to be added that maximizes the EI function on the ε-Kriging proxy model of the design variables with respect to the objective function to obtain the new sample point x (*) ; Step 6: For the new sample point x obtained in step 5 (*) Perform CFD calculations to obtain the corresponding response values, including the objective function response value and the constraint function response value. (*) , and the obtained objective function response value and constraint function response value, form a sample, and add it to the sample set W to obtain the updated sample set; Step 7: Use the updated sample set to reconstruct the support vector regression model SVR and the ε-Kriging surrogate model, and repeat steps 3 to 6 until the optimization convergence criterion is reached and a result that meets the optimization design goal is obtained.
2. A noise-resistant proxy optimization method for reducing the impact of numerical noise in design according to claim 1, characterized in that: In step 2, the sampling method is the Latin hypercube sampling method or the uniform sampling method.
3. A noise-resistant proxy optimization method for reducing the impact of numerical noise in design according to claim 1, characterized in that: In step 3, the hyperparameter optimization algorithm is a genetic algorithm, a covariance matrix adaptive evolution strategy or a Bayesian optimization algorithm.
4. A noise-resistant proxy optimization method for reducing the impact of numerical noise in design according to claim 3, characterized in that: When the hyperparameter optimization algorithm is used to optimize the hyperparameters of the support vector regression model SVR, the generalization error estimation method is used to evaluate and determine the optimization effect; wherein, the generalization error estimation method includes cross validation and leave-one-bound method.
5. The method for optimizing an anti-noise agent capable of reducing the influence of numerical noise in design according to claim 1, characterized in that: The construction method of the ε-Kriging surrogate model of the design variables with respect to the objective function is: Step 4.1, determine the correlation matrix R according to the optimal value of the hyperparameter ε ε , the expression is: in: R(x (1) ,x (n) ) represents the sample point x (1) and sample point x (n) The correlation function value between ; R(x (n) ,x (1) ) represents the sample point x (n) and sample point x (1) The correlation function value between ; Step 4.2, based on the correlation matrix R ε , taking the sample set W as the training sample, constructing the ε-Kriging surrogate model of the design variables with respect to the objective function, including the estimated expression and mean square error estimation of the ε-Kriging surrogate model of the design variables with respect to the objective function; The estimated expression of the ε-Kriging surrogate model of the design variable with respect to the objective function is: Mean square error estimation for: in: is the estimated value of the response value of the smooth prediction expression at any unknown point x; β0 is a constant representing the global trend of the ε-Kriging surrogate model of the design variable with respect to the objective function, β0 = (F T R ε - 1 F) -1 F T R ε -1 y s ; r(x) represents any unknown point x and n sample points x (1) ,x (2) ,...,x (n) The correlation vector formed by the correlation function values between is expressed as: Where: R(x (1) ,x),R(x (2) ,x),…,R(x (n) ,x), representing any unknown point x and sample point x respectively. (1) The correlation function value between the predicted sample point x and the sample point x (2) The correlation function value between,…, predicts the sample point x and the sample point x (n) The correlation function value between ; T represents the transpose of the matrix; F represents the n-dimensional identity matrix, in the form of: F = [1 1…1] T ; σ is the process variance of the ε-Kriging surrogate model of the design variables with respect to the objective function.
