A method for predicting heat flux on corner flow wall under hypersonic rarefied flow
By constructing a sample library and a Gaussian process regression neural network, the hot flow recirculation area on the corner flow wall under hypersonic thin flow is predicted, which solves the problem of difficulty in accurately predicting the recirculation area in the existing technology and achieves high-precision aerodynamic design and aircraft performance evaluation.
Patent Information
- Application Number
- CN202410822944.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2044-06-25
AI Technical Summary
It is difficult to accurately predict the recirculation area of corner flow wall heat flow under hypersonic rarefied flow with existing technology, especially the location and size of the peak heat flow, resulting in uncertainty in aerodynamic heating research.
By constructing a sample library based on flow field sample point parameters, and using Gaussian process regression to construct a neural network, the fitting formula for the recirculation area is obtained, and the existence and size of the heat flow recirculation area on the corner flow wall are predicted.
It achieves accurate prediction of the heat flow recirculation area on the corner flow wall under hypersonic rarefied flow, reduces the uncertainty of aerodynamic design, improves the reliability of aircraft performance evaluation, reduces the number of simulations, and reduces research and development costs.
Smart Images

Figure CN118378364B
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of separation flow prediction, and in particular relates to a method for predicting the wall heat flux of a corner flow under a hypersonic rarefied flow. Background Art
[0002] Previous researchers proposed the classic two-dimensional compression corner model of hypersonic turbulence and have done a lot of research work over the past few decades. They used methods such as perturbation expansion or experimental data fitting to obtain many flow laws of corner flow. However, these results are limited to flow field descriptions, such as the length of the separation zone, the pressure platform of the separation zone, etc., and rarely involve the aerodynamic heating problem after the reattachment point. Most of the only aerodynamic heat research focuses on numerical simulation. However, there is a lot of uncertainty in the aerodynamic heating results calculated using CFD, and how to accurately calculate the peak heat flux has not been solved so far. More importantly, there has been no good progress in theoretically analyzing why the peak heat flux is generated and how to reliably predict its size and position. In this regard, existing experimental and numerical studies have qualitatively analyzed the structural characteristics of the corner flow field, pointing out that the hypersonic incoming flow is lifted up after the separation point to form a shear layer, which is deflected by the reattachment shock wave and thus hits the wall obliquely. The temperature and pressure of the fluid rise sharply under the strong compression, and the wall heat flux rises sharply, and a peak value appears at the minimum value of the boundary layer thickness after the reattachment point. These studies point out that the position of the peak heat flux is closely related to the variation law of the boundary layer thickness, but there is still a lack of clear theoretical analysis results. On the other hand, for the size of the peak heat flux, predecessors have fitted the analog formula of the peak heat flux and pressure based on a large number of CFD numerical calculations and experimental results. By accurately calculating the pressure, a reliable estimate of the heat flux is indirectly obtained. This method is widely used. However, the analog formula that has received good reviews today contains physical parameters such as the distance from the reattachment point to the peak heat flux point, and there is no reliable estimation method for this parameter so far. Therefore, it is recognized that theoretically predicting the position of the peak heat flux after the reattachment point, that is, the distance from the reattachment point to the peak heat flux point, is undoubtedly of great significance for in-depth understanding of the flow physics of severe aerodynamic heating in the compression corner and for estimating the magnitude of the peak heat flux after the reattachment point. Summary of the invention
[0003] In view of the above-mentioned deficiencies in the prior art, the method for predicting the wall heat flux of a corner flow under a hypersonic rarefied flow provided by the present invention solves the problem that it is difficult to accurately estimate the existing recirculation zone.
[0004] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is: a method for predicting the wall heat flux of a corner flow under a hypersonic rarefied flow, comprising the following steps:
[0005] S1. Based on the flow field sample point parameters, the size of the flow field recirculation area is calculated and a sample library is constructed;
[0006] Among them, the sample point parameters include Mach number, Ramp angle and altitude;
[0007] S2, based on the sample library, build and train the neural network through Gaussian process regression;
[0008] S3, fitting the output results of the neural network to obtain a fitting formula for the recirculation zone based on the flow field sample point parameters;
[0009] S4. Substitute the sample point parameters of the flow field to be predicted into the recirculation zone fitting formula to predict the corresponding corner flow wall heat recirculation zone.
[0010] Furthermore, the step S1 is specifically as follows:
[0011] S11. Based on the flow field sample point parameters, determine the geometric shape, boundary conditions and initial conditions of the flow field simulation area; meanwhile, define the initial position, velocity and energy of the gas molecules in the flow field simulation area, and set the simulation parameters;
[0012] S12, in the flow field simulation area, making each simulated particle move in a uniform straight line and interact with different types of wall surfaces;
[0013] S13, re-identifying the simulated particles, and for the re-identified simulated particles, in each time step, randomly selecting simulated particles in the same grid to collide with other simulated particles or particle walls, and redistributing energy, so that the positions and velocities thereof change;
[0014] S14, after the simulated particles collide and the flow field stabilizes, the macroscopic parameters of the flow field are sampled based on the microscopic parameters of the simulated particles in each grid, and then the size of the recirculation zone is calculated, and a sample library is constructed;
[0015] Among them, macroscopic parameters include molecular number density, velocity and temperature.
[0016] Furthermore, the step S2 is specifically as follows:
[0017] S21, taking the flow field sample point parameters in the sample library as input variables and the recirculation zone size as output variables;
[0018] S22, based on input variables and output variables, neural network modeling is performed through Gaussian process regression;
[0019] S23. Train the constructed neural network to obtain a trained neural network.
[0020] Furthermore, in step S22, during the modeling process of the neural network, the overall trend of the input variables is described by the mean function, and the similarity between the input variables is measured by the covariance function.
[0021] Furthermore, in step S23, the parameters of the neural network, including the parameters of the mean function and the covariance function, are estimated by maximizing the likelihood function or minimizing the empirical error function.
[0022] Furthermore, in the step S23, during the training process of the neural network, the hyperparameters of the neural network are adjusted by a cross-validation algorithm.
[0023] Furthermore, in step S3, the reflow zone fitting formula is:
[0024]
[0025] In the formula, is the fitting parameter. When x>0, sign(x)=1; when x=0, sign(x)=0; when x<0, sign(x)=-1. The superscript T is the transposition operator. is the Mach number, is the height, is the Ramp angle, and x is the fitting data.
[0026] Furthermore, in step S4, the sample point parameters of the flow field to be predicted are substituted into the recirculation zone fitting formula, and when the obtained y When the value is 0 or -1, it means that there is no recirculation zone. y When the value of is 1, it indicates that a recirculation zone occurs.
[0027] Furthermore, in the recirculation zone fitting formula, the Mach number The value range is 5-10, the height The value is 50-70km, Ramp angle The value is 20-40 degrees.
[0028] The beneficial effects of the present invention are:
[0029] (1) The recirculation zone prediction method provided by the present invention can directly predict the recirculation zone through Mach number, altitude, and ramp angle, and achieves a relatively high accuracy, indicating that it is extremely feasible to establish a three-dimensional model and has great potential engineering value for military and defense systems.
[0030] (2) The distribution of the recirculation area of the corner flow directly affects the aerodynamic characteristics. The prediction method provided by the present invention accurately predicts the wall heat recirculation area, which helps to improve the aerodynamic design and reduce the adverse effects of the corner flow on the performance of the aircraft.
[0031] (3) Under hypersonic conditions, the existence of corner flow poses severe difficulties to aircraft control. Based on the accurate prediction of the wall reflow area by the method of the present invention, designers can better evaluate the aircraft and reduce mission risks.
[0032] (4) The application of the reflow zone fitting formula provided by the present invention can reduce the dependence on simulation programs. Through effective prediction methods, the number of simulations can be reduced, thereby reducing R&D costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 A flow chart of the method for predicting the wall heat flux of a corner flow under a hypersonic rarefied flow provided by the present invention. DETAILED DESCRIPTION
[0034] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.
[0035] The embodiment of the present invention provides a method for predicting the wall heat flux of a corner flow under a hypersonic rarefied flow. Figure 1 As shown, the following steps are included:
[0036] S1. Based on the flow field sample point parameters, the size of the flow field recirculation area is calculated and a sample library is constructed;
[0037] Among them, the sample point parameters include Mach number, Ramp angle and altitude;
[0038] S2, based on the sample library, build and train the neural network through Gaussian process regression;
[0039] S3, fitting the output results of the neural network to obtain a fitting formula for the recirculation zone based on the flow field sample point parameters;
[0040] S4. Substitute the sample point parameters of the flow field to be predicted into the recirculation zone fitting formula to predict the corresponding corner flow wall heat recirculation zone.
[0041] In step S1 of the embodiment of the present invention, a numerical simulation method based on the DSMC model is used to calculate the size of the recirculation zone of the flow field. The numerical simulation method of the DSMC model mainly includes the following aspects: first, constructing the initialization state and boundary conditions of the gas molecules; second, using random sampling technology to simulate the collision process of the gas molecules; third, calculating the motion trajectory and speed of the gas; fourth, counting macro quantities such as the number of molecules in different regions and the average molecular speed. Based on this, step S1 of the embodiment of the present invention is specifically:
[0042] S11. Based on the flow field sample point parameters, determine the geometric shape, boundary conditions and initial conditions of the flow field simulation area; meanwhile, define the initial position, velocity and energy of the gas molecules in the flow field simulation area, and set the simulation parameters;
[0043] S12, in the flow field simulation area, making each simulated particle move in a uniform straight line and interact with different types of wall surfaces;
[0044] S13, re-identifying the simulated particles, and for the re-identified simulated particles, in each time step, randomly selecting simulated particles in the same grid to collide with other simulated particles or particle walls, and redistributing energy, so that the positions and velocities thereof change;
[0045] S14, after the simulated particles collide and the flow field stabilizes, the macroscopic parameters of the flow field are sampled based on the microscopic parameters of the simulated particles in each grid, and then the size of the recirculation zone is calculated, and a sample library is constructed;
[0046] Among them, macroscopic parameters include molecular number density, velocity and temperature.
[0047] In step S11 of this embodiment, the flow field is in equilibrium, and the speed of the simulated particles (representing real gas molecules of the order of 1020) in the same grid is given according to the Maxwell-Boltzmann distribution in equilibrium, and the simulated particles are randomly distributed in each grid.
[0048] Step S2 of the embodiment of the present invention is specifically as follows:
[0049] S21, taking the flow field sample point parameters in the sample library as input variables and the recirculation zone size as output variables;
[0050] S22, based on input variables and output variables, neural network modeling is performed through Gaussian process regression;
[0051] S23. Train the constructed neural network to obtain a trained neural network.
[0052] In the embodiment, Gaussian process regression is a non-parametric regression method that uses Gaussian process to model the probability relationship between input and output; in the Gaussian process, the input and output are regarded as random variables, and it is assumed that the output is generated by a Gaussian process, which can be described as a mean function and a covariance function; based on this, in step S22 of the present embodiment, in the modeling process of the neural network, the overall trend of the input variables is described by the mean function, and the similarity between the input variables is measured by the covariance function. Among them, the mean function can be a constant function or a linear function, and the covariance function can be a Gaussian kernel, a linear kernel, a polynomial kernel, etc.
[0053] In step S23 of this embodiment, the parameters of the neural network, including the parameters of the mean function and the covariance function, are estimated by maximizing the likelihood function or minimizing the empirical error function.
[0054] In step S23 of this embodiment, during the training process of the neural network, the hyperparameters of the neural network are adjusted by a cross-validation algorithm. In this embodiment, the fitting ability and generalization ability of the model are improved by adjusting the hyperparameters of the neural network.
[0055] In this embodiment, for a trained neural network, the prediction error of the neural network is calculated by comparing the predicted output and the actual observed value, and a performance evaluation is performed. Common performance evaluation indicators include root mean square error and mean absolute error.
[0056] In this embodiment, the output results of the trained neural network are visualized, including drawing the predicted mean and confidence interval, so as to intuitively understand the output of the neural network.
[0057] In step S3 of the embodiment of the present invention, the reflow zone fitting formula obtained is:
[0058]
[0059] In the formula, is the fitting parameter. When x>0, sign(x)=1; when x=0, sign(x)=0; when x<0, sign(x)=-1. The superscript T is the transposition operator. is the Mach number, is the height, is the Ramp angle, and x is the fitting data, that is, , , and 23.452271.
[0060] In this embodiment, the above reflow zone fitting formula can be regarded as Y = sign (-1.38411177* X 1-0.56900348* X 2+0.8919629* X 3+23.452271).
[0061] In step S4 of the embodiment of the present invention, the sample point parameters of the flow field to be predicted are substituted into the recirculation zone fitting formula. When the obtained y When the value is 0 or -1, it means that there is no recirculation zone. y When the value of is 1, it indicates that a recirculation zone occurs.
[0062] In the recirculation zone fitting formula of the embodiment of the present invention, the Mach number The value range is 5-10, the height The value is 50-70km, Ramp angle The value is 20-40 degrees.
[0063] The present invention uses specific embodiments to illustrate the principles and implementation methods 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 methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
[0064] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A method for predicting the wall heat flux of corner flow under hypersonic rarefied flow, characterized in that: The following steps are involved: S1. Based on the flow field sample point parameters, the size of the flow field recirculation area is calculated and a sample library is constructed; Among them, the sample point parameters include Mach number, Ramp angle and altitude; S2, based on the sample library, build and train the neural network through Gaussian process regression; S3, fitting the output results of the neural network to obtain a fitting formula for the recirculation zone based on the flow field sample point parameters; S4, substituting the sample point parameters of the flow field to be predicted into the recirculation zone fitting formula to predict the corresponding corner flow wall heat recirculation zone; The step S1 is specifically as follows: S11. Based on the flow field sample point parameters, determine the geometric shape, boundary conditions and initial conditions of the flow field simulation area; meanwhile, define the initial position, velocity and energy of the gas molecules in the flow field simulation area, and set the simulation parameters; S12, in the flow field simulation area, making each simulated particle move in a uniform straight line and interact with different types of wall surfaces; S13, re-identifying the simulated particles, and for the re-identified simulated particles, in each time step, randomly selecting simulated particles in the same grid to collide with other simulated particles or particle walls, and redistributing energy, so that the positions and velocities thereof change; S14, after the simulated particles collide and the flow field stabilizes, the macroscopic parameters of the flow field are sampled based on the microscopic parameters of the simulated particles in each grid, and then the size of the recirculation zone is calculated, and a sample library is constructed; Among them, macroscopic parameters include molecular number density, velocity, and temperature; In step S3, the reflow zone fitting formula is: In the formula, is the fitting parameter. When x>0, sign(x)=1; when x=0, sign(x)=0; when x<0, sign(x)=-1. The superscript T is the transposition operator. is the Mach number, is the height, is the Ramp angle, x is the fitting data; In the recirculation zone fitting formula, the Mach number The value range is 5-10, the height The value is 50-70km, Ramp angle The value is 20-40 degrees.
2. The method for predicting the wall heat flux of corner flow under hypersonic rarefied flow according to claim 1 is characterized in that: The step S2 is specifically as follows: S21, taking the flow field sample point parameters in the sample library as input variables and the recirculation zone size as output variables; S22, based on input variables and output variables, neural network modeling is performed through Gaussian process regression; S23. Train the constructed neural network to obtain a trained neural network.
3. The method for predicting the wall heat flux of corner flow under hypersonic rarefied flow according to claim 2, characterized in that: In step S22, during the modeling process of the neural network, the overall trend of the input variables is described by the mean function, and the similarity between the input variables is measured by the covariance function.
4. The method for predicting the wall heat flux of corner flow under hypersonic rarefied flow according to claim 3 is characterized in that: In step S23, the parameters of the neural network, including the parameters of the mean function and the covariance function, are estimated by maximizing the likelihood function or minimizing the empirical error function.
5. The method for predicting the wall heat flux of corner flow under hypersonic rarefied flow according to claim 4, characterized in that: In the step S23, during the training process of the neural network, the hyperparameters of the neural network are adjusted by a cross-validation algorithm.
6. The method for predicting the wall heat flux of corner flow under hypersonic rarefied flow according to claim 1, characterized in that: In step S4, the sample point parameters of the flow field to be predicted are substituted into the recirculation zone fitting formula. y When the value is 0 or -1, it means that there is no recirculation zone. y When the value of is 1, it indicates that a recirculation zone occurs.
