Macro-mesoscopic coupling simulation method and device for flow around surface of near-space vehicle

By combining convolutional neural networks and long short-term memory networks, the problem of large prediction error and long computation time in the surface heat flux density distribution of near-space vehicles in existing technologies is solved, realizing fast and accurate cross-basin heat flux simulation and supporting rapid iterative design of thermal protection systems.

CN123159031APending Publication Date: 2026-11-24NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing technologies for simulating the surface heat flux density distribution of near-space vehicles suffer from problems such as large prediction errors and divergent boundary conditions in macroscopic methods in transitional watersheds, and excessive computation time in mesoscopic methods in low Knudsen number watersheds, making it impossible to achieve fast and accurate unified solutions across watersheds.

Method used

A method combining convolutional neural networks and long short-term memory networks is used to extract non-equilibrium features from flow field time history data and perform dimensionality reduction to predict macroscopic parameters and velocity distribution functions for future time steps. These parameters serve as the initial input to the mesoscopic Shakhov model equations, driving the mesoscopic solver to perform iterative calculations. The macroscopic R26 moment equations are then combined to adaptively determine the location and thickness of the coupling layer.

Benefits of technology

It significantly improves the accuracy of heat flux density calculation, shortens simulation time from weeks to hours, reduces computational resource consumption, and provides reliable data support for the design of thermal protection systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159031A_ABST
    Figure CN123159031A_ABST
Patent Text Reader

Abstract

This invention relates to the field of aerodynamics and thermal simulation technology. Addressing the problems of large prediction errors and excessive computation time in existing methods, it provides a macroscopic-mesoscopic coupled simulation method and apparatus for flow around the surface of near-space vehicles. The method includes: acquiring macroscopic parameters of the flow field around the vehicle at multiple time steps to form time-history data; inputting the time-history data into a CNN to extract non-equilibrium flow field features and reduce dimensionality to obtain a low-dimensional feature sequence; inputting the low-dimensional feature sequence into an LSTM to predict macroscopic parameters and velocity distribution functions for future time steps; using the predicted velocity distribution function as the initial input to the mesoscopic Shakhov model equations to drive iterative calculations by the mesoscopic solver; and calculating and outputting the surface heat flux density distribution based on the iteration results. This invention uses a mechanism-data dual-driven approach, coupling deep learning with mesoscopic equations to achieve high-precision and rapid simulation across flow domains, reducing computational consumption and providing crucial data support for thermal protection design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of aerodynamics and thermal simulation technology, specifically relating to a macroscopic-mesoscopic coupled simulation method and apparatus for flow around the surface of a near-space vehicle. Background Technology

[0002] The multi-scale nonequilibrium flow field characteristics of rarefied gases mainly study the mesoscopic motion characteristics and macroscopic flow laws of gases after the continuous flow assumption fails. This is reflected in the nonequilibrium statistical distribution of gas molecules and the scale relationship between flow time and relaxation time. It is widely used in numerical simulation studies of near-space vehicle reentry flow, internal flow of microelectromechanical systems (MEMS), and porous media transport. For near-space vehicle reentry, the flow field spans continuous flow, slip flow, and even the transition region, with significant differences in local Knudsen numbers across different regions. In the transition region, accurate prediction of wall heat flux density directly determines the reliability and economy of thermal protection system design. However, the Navier-Stokes-Fourier (NSF) equations and Fourier's law of thermal conduction, based on the continuous flow assumption, no longer hold in this region. Furthermore, the rarefied gas kinetic theory methods based on solving the Boltzmann equations require enormous computational resources, making it difficult to meet the needs of rapid flow field evaluation and iterative optimization in aircraft development. Therefore, developing an accurate, efficient, and fast-converging numerical method to simulate the transport mechanism and complex flow characteristics of multi-scale non-equilibrium flow fields, especially to accurately obtain the heat flux density distribution on the surface of aircraft, has important theoretical significance and engineering application prospects.

[0003] Sparse flows across scales can be described at both macroscopic and mesoscopic levels. At the macroscopic scale, the classical NSF equations effectively describe gas transport characteristics in continuous and near-continuous flow domains. As the Knudsen number (Kn) increases, higher-order moment methods such as the Burnett equation, super-Burnett equation, or R26 are generally used, combined with higher-order boundary conditions to approximate the non-equilibrium flow field characteristics. At the mesoscopic scale, the Discrete Velocity Method (DVM) or Direct Simulation Monte Carlo (DSMC) method is used to solve the Boltzmann model equations, simulating the non-equilibrium flow field characteristics through the velocity distribution function. However, in the near-continuous flow, slip flow, and early transition flow regions of concern in near-space vehicle thermal protection design, the mesoscopic methods DSMC and DVM consume enormous computational resources and have extremely slow iterative convergence speeds; a complete wall heat flux assessment often requires weeks or even longer of computation time. While macroscopic methods are computationally efficient, their fundamental equations and wall boundary conditions fail at high Kn numbers, making it impossible to accurately determine the heat flux density on the aircraft surface.

[0004] In existing technologies, macroscopic methods, represented by the NSF equation, Burnett / super-Burnett equation, and R26 moment method, have significant drawbacks in engineering applications: (1) In the transitional flow domain, the flow field parameters calculated by these macroscopic equations, especially the wall heat flux density, deviate significantly from the actual physical values, resulting in serious prediction errors; (2) In the large Knudsen number domain, the macroscopic equations are prone to divergence between the wall boundary conditions and the overall flow field calculation due to strong non-equilibrium effects; (3) The wall boundary conditions of the macroscopic equations are usually approximated by truncation, which significantly deteriorates the calculation accuracy near the aircraft wall, further amplifying the heat flux prediction error. Among mesoscopic methods, DSMC has relatively high computational efficiency for high-speed rarefied flows, while DVM has better numerical simulation efficiency for low-speed rarefied flows. However, both DSMC and DVM face extremely high computational costs and extremely low iteration efficiency in slip flow and early transitional flow regions, and cannot provide a unified and efficient solution capability across flow domains for rapid assessment of the aerodynamic and thermal environment of aircraft.

[0005] In summary, in engineering applications of multi-scale non-equilibrium rarefied flows, especially in the accurate prediction of surface heat flux of near-space vehicles, existing technologies suffer from a dual dilemma: large prediction errors and divergent boundary conditions in the transition domain for macroscopic equations, and extremely slow convergence and excessive computation time for mesoscopic equations in the low Knudsen number domain. Therefore, utilizing deep learning to process flow field time history data to accurately extract non-equilibrium flow field features, and then establishing a unified macroscopic / mesoscopic coupled modeling method under multi-scale conditions, is of paramount theoretical and practical importance for obtaining the surface heat flux density distribution of spacecraft at low cost, high accuracy, and rapid speed, thereby shortening the design iteration cycle of thermal protection systems. Summary of the Invention

[0006] To address the aforementioned technical problems, this invention proposes a macroscopic-mesoscopic coupled simulation method and apparatus for flow around the surface of a near-space vehicle. The method acquires time-history data of macroscopic parameters of the flow field around the vehicle, extracts non-equilibrium flow field features using a convolutional neural network, and reduces the dimensionality to obtain a low-dimensional feature sequence. This low-dimensional feature sequence is then input into a long short-term memory network to predict macroscopic parameters, local Knudsen numbers, and velocity distribution functions at future time steps. The predicted velocity distribution function is used as the initial input to the mesoscopic Shakhov model equations to drive iterative calculations by the mesoscopic solver. Simultaneously, a macroscopic solver is constructed based on the macroscopic R26 moment equations, and the coupling layer position and thickness between the macroscopic and mesoscopic solvers are adaptively determined according to the predicted local Knudsen numbers. Finally, the heat flux density distribution on the vehicle surface is calculated and output.

[0007] This invention provides a macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle, comprising: Step S110: Obtain macroscopic parameters of the flow field around the near-space vehicle at multiple time steps to form flow field time history data; Step S120: Input the flow field time history data into a convolutional neural network, extract the non-equilibrium flow field features and perform dimensionality reduction to obtain a low-dimensional feature sequence; Step S130: Input the low-dimensional feature sequence into a long short-term memory network to predict the macroscopic parameters and velocity distribution function of the flow field in future time steps; Step S140: The predicted velocity distribution function is used as the initial input to the mesoscopic Shakhov model equation to drive the mesoscopic solver to perform iterative calculations. Step S150: Based on the iterative calculation results, calculate and output the heat flux density distribution on the surface of the near-space spacecraft.

[0008] On the other hand, the present invention also provides a macroscopic-mesoscopic coupling simulation device for flow around the surface of a near-space vehicle, comprising: The first module is used to acquire macroscopic parameters of the flow field around a near-space vehicle at multiple time steps, forming flow field time history data; The second module is used to input the flow field time history data into a convolutional neural network, extract non-equilibrium flow field features and perform dimensionality reduction to obtain a low-dimensional feature sequence. The third module is used to input the low-dimensional feature sequence into a long short-term memory network to predict the macroscopic parameters and velocity distribution function of the flow field in future time steps; The fourth module is used to use the predicted velocity distribution function as the initial input to the mesoscopic Shakhov model equations to drive the mesoscopic solver to perform iterative calculations. The fifth module is used to calculate and output the heat flux density distribution on the surface of the near-space spacecraft based on the iterative calculation results.

[0009] Compared with the prior art, the beneficial effects of the present invention include: (1) This invention uses a mechanism-data dual-drive architecture to use the velocity distribution function predicted by deep learning as the initial input of the mesoscopic Shakhov model equation for iterative solution, which effectively overcomes the defect of large prediction error of heat flux density on the wall of the transition flow domain by the pure macroscopic method and significantly improves the calculation accuracy of heat flux density on the surface of near-space spacecraft.

[0010] (2) The macroscopic parameters and velocity distribution function of the flow field are predicted by using convolutional neural networks and long short-term memory networks, and the prediction results are used as the initial field or boundary conditions of the mesoscopic solver. This greatly accelerates the iterative convergence speed of the mesoscopic method in the near-continuous flow, slip flow and early transition flow regions, shortens the cross-basin heat flow simulation time from several weeks to several hours, and effectively reduces the consumption of computing resources.

[0011] (3) By continuously collecting new flow field time history data during the online simulation phase, the convolutional neural network and long short-term memory network are fine-tuned and updated, so that the prediction model can continuously correct the prediction error as the calculation progresses, further ensuring the solution accuracy and stability during the long-term simulation process, and providing reliable data support for the rapid iterative design of the thermal protection system of near-space vehicles. Attached Figure Description

[0012] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0013] Figure 1 This is a flowchart illustrating the steps of a macroscopic-mesoscopic coupling simulation method for flow around the surface of a near-space vehicle in one embodiment of the present invention. Figure 2 This is a flowchart of flow field feature extraction and reconstruction based on convolutional neural network in one embodiment of the present invention; Figure 3 This is a schematic diagram of an LSTM cell structure in one embodiment of the present invention; Figure 4 This is a schematic diagram of the overall framework for mechanism-data dual-driven coupled macroscopic / mesoscopic simulation in one embodiment of the present invention; Figure 5 This is a schematic diagram of the data-driven prediction module structure for flow field temporal prediction and reconstruction based on T-CNN and LSTM in one embodiment of the present invention. Detailed Implementation

[0014] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0015] In one embodiment, such as Figure 1 As shown, this invention provides a macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle, comprising: Step S110: Obtain macroscopic parameters of the flow field around the near-space vehicle at multiple time steps to form flow field time history data; In step S120, the flow field time-history data is input into a Convolutional Neural Network (CNN) to extract non-equilibrium flow field features and perform dimensionality reduction, thereby obtaining a low-dimensional feature sequence; In step S130, the low-dimensional feature sequence is input into a Long Short-Term Memory (LSTM) network to predict the macroscopic parameters and Velocity Distribution Function (VDF) of the flow field at future time steps; In step S140, the predicted Velocity Distribution Function is used as the initial input for the mesoscopic Shakhov model equation to drive the mesoscopic solver for iterative calculation; In step S150, based on the iterative calculation results, the heat flux distribution on the surface of the near-space vehicle is calculated and output.

[0016] The present invention addresses the flow around trans-atmospheric vehicles in near space (approximately 20 km to 100 km above the ground). In this airspace, the typical flight Mach number of the vehicle can reach 5 to 20, and the incoming flow Knudsen number (Kn) is usually between 0.001 and 10, covering two rarefied gas flow regimes: slip flow (0.001<Kn<0.1) and transition flow (0.1<Kn<10).

[0017] To capture the unsteady evolution characteristics of the flow field, the macroscopic parameters of the flow field around the near-space vehicle at multiple time steps are first acquired to form flow field time-history data. Specifically, in step S110, the flow field around the near-space vehicle is discretized in time and space, and snapshot sampling of the macroscopic parameters at each grid point is performed over multiple consecutive time steps to form the flow field time-history data.

[0018] In one embodiment, the macroscopic parameters include at least fluid velocity, temperature, and gas pressure.

[0019] These macroscopic parameters can be obtained through existing numerical simulations (for example, solving Euler equations via the finite volume method) or wind tunnel test data, and serve as input for the subsequent deep learning model. Meanwhile, in the offline training phase, high-precision mesoscopic simulations are also required to synchronously acquire the Velocity Distribution Function at corresponding time steps as label data, so as to train the prediction capability of the subsequent network and establish a mapping relationship from macroscopic parameter sequences to mesoscopic Velocity Distribution Functions.

[0020] The step S110 provides low-dimensional and easily obtainable input features for subsequent deep learning prediction by acquiring time-history data of macroscopic parameters over a finite number of time steps, avoiding the difficulty of directly solving the high-dimensional Boltzmann equation and laying a foundation for data-driven acceleration.

[0021] Considering the powerful capabilities of this approach in feature extraction and nonlinear mapping representation, we propose combining deep learning models such as convolutional neural networks with feature extraction models such as short-time fast Fourier transform to capture snapshots of the spatial distribution data of flow field parameters and construct basis functions to characterize these parameters. We will employ dimensionality reduction methods to reduce the dimensionality of the time-history data of non-equilibrium flow, extracting the low-dimensional spatial-temporal mapping relationship. This will explicitly characterize the spatiotemporal coupling dynamics of the flow field using a series of basis functions and projection sequences, achieving feature extraction and compression of velocity distribution functions, boundary conditions, and other characteristics in the flow field, thus obtaining a dimensionality-reduced representation of complex flow data.

[0022] Furthermore, in step S120, non-equilibrium flow field features are extracted and dimensionality reduced using a CNN.

[0023] Especially under rarefied flow conditions, the mean free path of gas molecules can be comparable to or even greater than the characteristic scale of an aircraft, resulting in significant non-equilibrium flow field characteristics. Flows exhibiting non-equilibrium flow field characteristics display complex unsteady spatiotemporal evolution laws, making the computational efficiency and computational cost of solving the evolution law of the velocity distribution function in the Boltzmann equations for the entire flow field low.

[0024] Therefore, in order to extract key features from high-dimensional time history data, the flow field time history data is input into a trained convolutional neural network to extract non-equilibrium flow field features and perform dimensionality reduction to obtain a low-dimensional feature sequence.

[0025] Specifically, the entire flow field is first decomposed into the wall region and the central flow field. The macroscopic parameters of each grid point are sampled in a snapshot. The flow field time history data is preprocessed using Fourier transform to construct basis functions that characterize the flow field parameters. The preprocessed data is then input into a convolutional neural network, where spatial distribution features are extracted through multiple convolutional and pooling layers. Finally, pooling layers in a convolutional neural network are used to reduce the dimensionality of the spatial distribution features, and the spatiotemporal coupling dynamics of the flow field are dynamically characterized as a low-dimensional feature sequence composed of spatial basis functions and corresponding time coefficients.

[0026] In one embodiment, such as Figure 2 As shown, a Deformable Convolutional Network (DCN) is further used for non-equilibrium feature extraction and dimensionality reduction of the flow field. The specific process includes: (1) Computational Domain Partitioning and Discretization: The flow field around the near-space vehicle was divided into a wall region, a virtual computational domain, a mesoscopic computational domain, and a moment method computational domain. The virtual computational domain, located outside the wall, was used to construct wall boundary conditions (e.g., velocity slip and temperature jump models). The mesoscopic computational domain covered the strongly non-equilibrium region near the wall, using the Shakhov model equations. The moment method computational domain covered the near-continuous mainstream flow region, using the R26 moment equations. Boundary reconstruction points and boundary reconstruction corner points were constructed at the flow field boundaries, and the governing equations were spatially discretized using an upwind scheme to obtain a high-precision flow field snapshot.

[0027] (2) Deformable convolution feature extraction: The collected flow field snapshots are input into a deformable convolutional neural network. The network uses a deformable convolutional kernel with an offset, which is learned through additional convolutional layers. This allows the convolutional kernel to adaptively adjust the sampling position, thereby accurately capturing typical non-equilibrium structures in the flow field, such as shock discontinuities, boundary layer separation, and strong non-equilibrium flow near the wall, and outputting high-dimensional flow field spatial features.

[0028] (3) Pooling dimensionality reduction: The extracted flow field spatial features are subjected to pooling operations (preferably max pooling, with a pooling window size of 2×2 and a step size of 2). While retaining the main non-equilibrium flow field features (such as local Knudsen number peak regions and heat flux concentration regions), the spatial dimension of the feature map is compressed to 1 / 4 of the original, resulting in a dimensionality-reduced low-dimensional feature sequence. This low-dimensional feature sequence is used as the input to the subsequent Long Short-Term Memory (LSTM) network for flow field temporal prediction.

[0029] The aforementioned dimensionality reduction process effectively reduces the computational load of subsequent time-series modeling while preserving the main non-equilibrium flow field features. By leveraging the powerful spatial feature extraction capabilities of CNNs, high-dimensional flow field time-history data is compressed into low-dimensional feature sequences, significantly reducing the computational complexity of subsequent time-series modeling and providing key technical support for shortening the overall simulation time.

[0030] Next, in step S130, LSTM is used to predict the macroscopic parameters and velocity distribution function of the flow field at future time steps.

[0031] The traditional Navier-Stokes (NS) equations based on the continuum assumption and their wall boundary conditions (no slip, no temperature jumps) are no longer accurate in slip and transitional flow regions. Specifically, significant velocity slip and temperature jumps occur at the wall, and the stress tensor and heat flux vector in the flow field no longer satisfy Newton's constitutive relations and Fourier's law of thermal conductivity. Higher-order nonequilibrium flow field characteristics (such as the coupling of higher-order moments of heat flux and stress) are significantly enhanced. Therefore, it is necessary to introduce a mesoscopic-scale velocity distribution function to describe the nonequilibrium transport process.

[0032] To this end, the low-dimensional feature sequence is input into a trained Long Short-Term Memory (LSTM) network to predict the macroscopic parameters and velocity distribution function of the flow field at future time steps. The LSM network is trained under supervised supervision on an offline database containing paired data of macroscopic parameters and mesoscopic velocity distribution functions, thus learning the mapping ability from the evolution sequence of macroscopic parameters to the velocity distribution function.

[0033] The Long Short-Term Memory (LSTM) network performs temporal modeling on the low-dimensional feature sequence through forget gate, input gate, and output gate, learns the dynamic evolution law of macroscopic parameters of the flow field and the feature transmission law of non-equilibrium flow field, and obtains the learning results.

[0034] LSTM is a temporal modeling method developed based on Recurrent Neural Networks (RNNs). By introducing memory units and gating mechanisms, it effectively alleviates the gradient vanishing and gradient exploding problems that traditional RNNs easily encounter during long sequence learning. The core idea of ​​LSTM is to selectively retain, update, and output historical information during temporal propagation, thereby enhancing the model's ability to capture long-term dependencies. LSTM mainly consists of a forget gate, input gate, output gate, and unit states, with the structure shown below. Figure 3 As shown.

[0035] Specifically, let's assume the LSTM is at the current time step... The input vector is the low-dimensional feature sequence obtained in step S120. The hidden state in the previous time step was The cell state at the previous time step was The state update process of LSTM can then be represented as: ①Gate of Oblivion (1) in, Output for the forget gate. For the Sigmoid activation function, and These are the forget gate weight matrix and the forget gate bias term, respectively. The forget gate controls how much of the state information from the previous time step is retained in the current time step.

[0036] ② Input gate and candidate cell state (2) (3) (4) in, For input gate output, and These are the input gate weight matrix and the input gate bias term, respectively; The candidate cell state is... and These are the state weight matrix and the state bias term, respectively; This represents the cell state at the current time step. This represents the Hadamard product. The input gate determines how much of the current input information is written into the new cell state.

[0037] ③ Output gate: (5) (6) in, For output gate output, and These are the output gate weight matrix and the output gate bias term, respectively. This represents the hidden state at the current time step. The output gate controls the proportion of the current cell state that is output to the outside. Compared to traditional RNNs, LSTMs can handle degenerate sequences with long-term dependencies more stably.

[0038] Then, based on the learning results of LSTM, the macroscopic parameters, local Knudsen numbers, and velocity distribution functions that need to be reconstructed at each grid point in the future time step are directly predicted.

[0039] The local Knudsen number is used to characterize the degree of non-equilibrium in the flow field.

[0040] The velocity distribution function is a key physical quantity connecting macroscopic and mesoscopic descriptions, and its prediction accuracy directly affects the accuracy of subsequent mesoscopic solutions.

[0041] Step S130 leverages the powerful time series modeling capabilities of LSTM to accurately predict the velocity distribution function for future time steps from historical macroscopic parameters, directly providing the distribution function that traditional mesoscopic methods require numerous iterations to obtain through a data-driven approach. This makes the initial field of the subsequent mesoscopic solver closer to the true solution, thereby significantly accelerating the iteration convergence speed and reducing the simulation time for cross-basin heat flow from weeks to hours, significantly reducing computational resource consumption.

[0042] In step S140, the predicted velocity distribution function is used as the initial input to the mesoscopic Shakhov model equation, driving the mesoscopic solver to perform iterative solutions and obtain a converged velocity distribution function.

[0043] To accurately predict the heat flux density distribution on the surface of an aircraft under rarefied flow (a key indicator of aerodynamic heating), the Boltzmann equation should theoretically be solved directly. However, the Boltzmann equation is a seven-dimensional integral-differential equation, and solving it directly is computationally extremely costly, failing to meet the needs of rapid iterative design in engineering. While existing macroscopic-mesoscopic coupling methods can balance accuracy and efficiency to some extent, they still suffer from slow convergence speed and high computational resource consumption in the slip flow and transition flow regions.

[0044] Therefore, this invention uses the predicted velocity distribution function as an initial guess to drive the mesoscopic solver to solve the velocity distribution function. Perform iterative solutions to make By satisfying the governing equations described by the mesoscopic method (e.g., the mesoscopic Shakhov model equations), a convergent velocity distribution function is finally obtained.

[0045] The mesoscopic method refers to a theoretical framework based on the mesoscopic Shakhov model equations to describe the evolution of the velocity distribution function.

[0046] First, the physical model is derived. The equations of the mesoscopic Shakhov model are given by the following formula: (7) in: Let be the velocity distribution function of gas molecules. and These represent physical space coordinates and molecular discrete velocity, respectively; subscript It is a tensor index that represents the spatial dimension direction and follows the Einstein summation convention, that is, repeated subscripts indicate summation over three dimensions. For relaxation time, For gas dynamic viscosity, This refers to the gas pressure. Here is the equilibrium distribution function in the Shakhov model: (8) in, For gas density, Let be the ideal gas constant. For gas temperature, For the macroscopic velocity components of the gas, For heat flow components, It is a Prandtl number; As a tensor index, the summation follows the Einstein summation convention. It represents the velocity component of molecular thermal motion.

[0047] The mesoscopic Shakhov model equations are the physical governing equations upon which the iterative calculations are based. The goal of the iterations is to find the distribution function that satisfies these equations. .

[0048] Then, a mesoscopic solver is used for numerical iterative solution.

[0049] In one embodiment, the mesoscopic solver employs the Discrete Velocity Method (DVM) and finite difference schemes to numerically solve the aforementioned mesoscopic Shakhov model equations. Its execution process includes: (1) Input: The predicted velocity distribution function is used as the initial guess (which can serve as the initial field or boundary condition), as well as the physical space grid, velocity space discrete points, etc.

[0050] (2) Perform iterative calculations: The velocity distribution function (VDF) is discretized into non-uniform velocity points in the velocity space, and the VDF is solved based on the Newton-Cotes numerical integration method. Within physical space, the finite difference method based on the second-order upwind scheme iterates the transition and collision terms of the Shakhov model equations at any grid point within physical space. The discrete format is shown in the following formula (9): ; (9) in, It is the iteration time step index. for For grid point coordinates in the direction, the evolution equation of VDF over time in the Shakhov model equations for unsteady problems can be written as: ; (10) in: For the time step, a dimensionless number is used as the stability criterion for explicit time-progression schemes. Perform the calculation: ,here This represents the Courant-Friedrichs-Lewy (CFL) condition (or the number of CFLs).

[0051] In a preferred embodiment, a macroscopic solver is introduced as an auxiliary computation module in the online simulation process to automatically identify regions of strong nonequilibrium effects and determine the location of the coupling layer. The macroscopic solver can quickly obtain approximate solutions to the flow field and adaptively divides the mesoscopic and macroscopic solution regions based on nonequilibrium indicator factors such as the local Knudsen number. The mesoscopic solver handles regions of strong nonequilibrium (e.g., shock layers, high Knudsen number regions near the walls), while the macroscopic solver handles near-continuous regions (low Knudsen number regions). The two exchange information through the adaptively determined coupling layer. This further accelerates the overall computation in low Knudsen number regions without affecting accuracy.

[0052] In one embodiment, the governing equations of the macroscopic solver adopt the R26 moment equations in extended fluid mechanics, as shown in equations (11) to (18).

[0053] (11) (12) (13) (14) (15) (16) (17) (18) in, It is also a tensor index, corresponding to different spatial coordinate components, and follows Einstein's summation convention in the summation; It is the volume force acceleration component; It is the stress tensor, which describes the portion of the shear and normal stresses caused by the thermal motion of gas molecules that deviate from the equilibrium state. It is symmetric and traceless (i.e., Heat flow components It represents the amount of heat transported through a unit area per unit time. It is a third moment, describing the transport effect of the stress tensor, symmetric and traceless for any two indices; second tensor form. It is part of the fourth moment, describing the coupled transport of heat flow and stress, and is symmetrical and traceless; It is a scalar moment, a higher-order correction describing temperature fluctuations or energy transport. For the source term, specifically: It is a higher-order source term of the stress tensor, which includes the coupling of velocity gradient and higher-order moments; This is a higher-order source term for the heat flux component; It is a higher-order source term of the third moment; It is a higher-order source term of the fourth moment; It is a higher-order source term of the scalar moment. The “…” in formulas (16) to (18) "or" "" indicates a symmetric unscented operation, which means that the tensor index within the parentheses is symmetricized and its trace contribution is subtracted.

[0054] The macroscopic R26 moment equation system composed of equations (11) to (18) incorporates the free variables in traditional fluid mechanics. Expand to By introducing higher-order moment information (such as stress tensor, higher-order moments of heat flux, etc.), the non-equilibrium flow field characteristics of fluids can be described more fully, including local Knudsen number and higher-order moment information.

[0055] In one embodiment, a macroscopic solver is first used to rapidly advance the low Knudsen number region over several time steps to obtain a relatively accurate macroscopic field. This is then converted into an initial guess of the distribution function, and the process switches to the mesoscopic solver in step S140 for fine iteration. The macroscopic solver can also provide non-equilibrium flow field characteristics in the coupling layer identification step, helping to determine the location and thickness of the coupling layer.

[0056] By introducing a macroscopic solver, the overall calculation of low Knudsen number regions can be further accelerated without affecting accuracy, which is especially suitable for mixed problems involving large-scale continuous / near-continuous watersheds.

[0057] Finally, in step S150, the surface heat flux density distribution is calculated and output.

[0058] Specifically based on the converged velocity distribution function After obtaining the velocity distribution functions at the wall surface and the outermost layer of mesh nodes, the temperature gradient and thermal conductivity are calculated using moment integrals. Then, the heat flux density distribution on the surface of the near-space vehicle is calculated and output. Wall heat flux density. Given by the rarefied correction form of Fourier's law: ; in, The total thermal conductivity of the gas mixture. This represents the normal temperature gradient along the wall.

[0059] This directly outputs the heat flux density distribution on the aircraft surface, which is of utmost concern in engineering, providing crucial data support for the design of thermal protection systems.

[0060] During the offline training phase, a flow field time history database needs to be pre-built for training convolutional neural networks (CNNs) and long short-term memory networks (LSTMs). This database is constructed as follows: For various incoming flow conditions (different Mach numbers, Knudsen numbers, angles of attack, etc.) and aircraft shapes, both mesoscopic and macroscopic methods are used for full flow field simulation. Specifically, in regions near the wall where strong non-equilibrium effects are significant, the mesoscopic Shakhov model equations are used for precise solutions; in regions where near-continuous flow characteristics are dominant in the mainstream region, the macroscopic R26 moment equations are used for efficient solutions. The two methods exchange information at the coupling layer to jointly generate time history data of macroscopic flow field parameters (velocity, temperature, pressure) and velocity distribution function (VDF).

[0061] A snapshot of the simulation results is taken to form a flow field time history data sample set. This sample set is used for subsequent supervised training of CNN and LSTM, enabling the data-driven model to learn the mapping relationship from historical macroscopic parameters to future velocity distribution functions. During the online simulation phase, the trained CNN and LSTM directly output the prediction results without needing to run the physics solver again.

[0062] In one embodiment, the present invention also provides a mechanism-data dual-driven coupled macroscopic / mesoscopic cross-domain unified modeling framework, which includes at least: a main control program module, a mechanism-driven calculation module, and a (flow field time history) data-driven prediction module.

[0063] By combining the boundary conditions of the macroscopic equations, a numerical solution method for simulating rarefied flows using the moment method can be obtained. In the multi-scale nonequilibrium flow field feature extraction using deep learning of time-history data, a coupled macroscopic / mesoscopic cross-domain unified modeling method based on deep learning of time-history data is further proposed, utilizing both mesoscopic and macroscopic scale solution methods for rarefied flows. This method analyzes the interaction relationships between spatial points in the flow field and their neighboring points, revealing the influence of strong nonequilibrium effects such as shock waves / expansion regions, thermal driving sources, and walls on the flow field. A rapid reconstruction method and propagation characteristics of the velocity distribution function under data-driven conditions are established. Addressing the "local-global" spatiotemporal distribution characteristics in the flow field, a deep learning model and particle swarm optimization algorithm are used to capture local regions with strong nonequilibrium characteristics and automatically allocate and reconstruct the coupling layer.

[0064] In one embodiment, the main control program module mainly includes: computational grid preprocessing, coordinate system selection and mutual transformation, MPI / OpenMP parallelism, etc., as well as building independent and complete functional modules to realize data communication and MPI parallelism between modules, which can provide support in numerical simulation and large-scale parallel computing.

[0065] In one embodiment, the mechanism-driven computation module comprises both the macroscopic solver and the mesoscopic solver. This module is responsible for describing the physical mechanism of rarefied gas flow, with the mesoscopic solver as the core and the macroscopic solver as an optional auxiliary acceleration module.

[0066] In one embodiment, the macroscopic R26 moment equations and the mesoscopic Shakhov model equations together constitute a mechanism-driven computational module.

[0067] In one embodiment, the data-driven prediction module consists of the convolutional neural network (CNN) and the long short-term memory network (LSTM). It is used to implement flow field snapshot and feature extraction functions, flow field feature compression and time series dimensionality reduction functions, and fully connected layer flow field prediction and reconstruction functions.

[0068] In a more specific embodiment, such as Figure 4 As shown, the hierarchical structure of the mechanism-data dual-driven coupled macroscopic / mesoscopic cross-domain unified modeling framework is clearly illustrated. This framework includes: (1) Main control program module: MAIN.F90 is used as the main control program, which is responsible for coordinate system setting (including coordinate transformation between physical space and velocity space) and MPI parallel management, and realizes task allocation and data communication for large-scale computing.

[0069] (2) Mechanism-driven computation module: It consists of mesoscopic methods (based on Shakhov model equations) and macroscopic equations (based on the R26 moment equations) to describe the physical mechanism of rarefied gas flow. The mesoscopic solver is the core, and the macroscopic solver is an auxiliary acceleration module.

[0070] (3) Data-driven prediction module: It consists of a convolutional neural network (CNN), a long short-term memory network (LSTM), and a Fourier transform, and is used to learn and predict non-equilibrium flow field characteristics from flow field time history data.

[0071] (4) The dual-drive coupling method between the data-driven prediction module and the mechanism-driven calculation module includes: using the data-driven prediction module to provide the mechanism-driven calculation module with the velocity distribution function of the future time step (as the initial guess or boundary condition of the mesoscopic solver in step S140) and coupling layer parameters, forming a mechanism-data dual-drive coupled iterative architecture (including the iterative closed loop of flow field prediction reconstruction and flow field snapshot feedback).

[0072] In one embodiment, such as Figure 5 As shown, the internal workflow structure of the data-driven prediction module is based on T-CNN and LSTM for flow field temporal prediction and reconstruction, specifically including: Input and feature extraction: Obtain a snapshot of the flow field and extract low-dimensional spatial features through feature extraction (including convolutional neural networks and Fourier transforms); Time series modeling: Low-dimensional spatial features are input into the time series model. This model employs a combination of T-CNN and LSTM, where: Represents a discrete time step; LSTM This indicates the prediction at the current time step; LSTM LSTM , ..., LSTM This represents information from multiple historical time steps; T-CNN is used to further extract spatiotemporal coupling features; Flow field reconstruction: After processing by the fully connected layer, the flow field is reconstructed, and the predicted macroscopic parameters and velocity distribution function of the flow field are output. The reconstructed flow field generates a flow field snapshot again, which is used for the next iteration or as input to the mechanism-driven computation module.

[0073] In one embodiment, the multi-scale non-equilibrium flow field feature characterization and reconstruction based on time-history data deep learning further includes: taking snapshots of the flow field characteristics based on Fourier transform and convolutional neural networks to obtain the macroscopic parameter characteristics of the flow field and perform dimensionality reduction. Simultaneously, the flow field data is learned based on a long short-term memory network, and the macroscopic parameters and mesoscopic velocity distribution function information of the flow field at the next time step are predicted, further refining the coupled macroscopic-mesoscopic method. This can significantly reduce the computation time and cost of solving the flow field using mesoscopic methods. Modules requiring manual calculation, such as the selection of coupling layers and the reconstruction of velocity distribution functions, are replaced with data-driven neural network training modules to reduce computational load.

[0074] To address the "local-global" spatiotemporal distribution characteristics of the flow field, based on the non-equilibrium flow field features (e.g., local Knudsen number, higher-order moment information), a deep learning model or particle swarm optimization algorithm is used to automatically identify regions with strong non-equilibrium effects. Then, based on these regions, the location and thickness of the coupling layer between the macroscopic solver and the mesoscopic solver are adaptively determined. Specifically, the mesoscopic solver handles the strong non-equilibrium regions (e.g., shock layers, high Knudsen number regions near the walls), while the macroscopic solver (if enabled) handles the near-continuous regions (low Knudsen number regions). The two exchange information through the adaptively determined coupling layer.

[0075] The convolutional neural network and the long short-term memory network are pre-trained, and the training samples are mesoscopic full flow field simulation time history data under various incoming flow conditions and aircraft shapes.

[0076] During the online simulation phase, new flow field time history data is continuously collected (e.g., a small amount of accurate results calculated using a mesoscopic solver) to fine-tune and update the convolutional neural network and the long short-term memory network, correcting prediction errors. Specifically, newly acquired high-fidelity flow field data is added to the training dataset, and the network is retrained with a small number of iterations to maintain prediction accuracy and adapt to new operating conditions. This constitutes a closed-loop iteration of "prediction-solution-feedback-correction," which can continuously improve the prediction accuracy for future time steps.

[0077] In one embodiment, the present invention also provides a macroscopic-mesoscopic coupling simulation device for flow around the surface of a near-space vehicle, comprising: The first module is used to acquire macroscopic parameters of the flow field around a near-space vehicle at multiple time steps, forming flow field time history data; The second module is used to input the flow field time history data into a convolutional neural network, extract non-equilibrium flow field features and perform dimensionality reduction to obtain a low-dimensional feature sequence. The third module is used to input the low-dimensional feature sequence into a long short-term memory network to predict the macroscopic parameters and velocity distribution function of the flow field in future time steps; The fourth module is used to use the predicted velocity distribution function as the initial input to the mesoscopic Shakhov model equations to drive the mesoscopic solver to perform iterative calculations. The fifth module is used to calculate and output the heat flux density distribution on the surface of the near-space spacecraft based on the iterative calculation results.

[0078] In summary, the flow field characterization method based on deep learning of time history data in this invention utilizes the idea of ​​"Fourier expansion" to characterize the spatiotemporal coupling characteristics of the flow field using spatial distribution functions and time models, respectively. The entire modeling process can be divided into two steps: (1) non-equilibrium flow feature extraction; (2) feature prediction and reconstruction of the flow field time series. Combining theoretical derivation and numerical simulation methods, based on deep learning, the dynamic transmission of macroscopic parameters and multi-feature behavior of the flow field in multi-scale non-equilibrium flow is extracted. A dynamic analytical method for the transmission of non-equilibrium effects of the flow field over time / space is proposed, the mapping relationship of different macroscopic parameters is studied, and the reconstruction mechanism of the mesoscale velocity distribution function is explored, providing mechanistic support for the dynamic reconstruction of multi-scale flow coupling relationships.

[0079] On the other hand, in one embodiment, the present invention provides a computer device including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps of the macroscopic-mesoscopic coupling simulation method for near-space vehicle surface flow provided in any of the above embodiments. The computer device may be a server. The computer device includes a processor, a memory, a network interface, and a database connected via a system bus. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the computer device stores sample data. The network interface of the computer device is used for communication with external terminals via a network connection.

[0080] On the other hand, in one embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the macroscopic-mesoscopic coupling simulation method for flow around the surface of a near-space vehicle provided in any of the above embodiments are implemented.

[0081] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0082] Matters not covered in this invention are common knowledge.

[0083] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0084] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these modifications and improvements all fall within the protection scope of this application.

[0085] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle, characterized in that, include: Step S110: Obtain macroscopic parameters of the flow field around the near-space vehicle at multiple time steps to form flow field time history data; Step S120: Input the flow field time history data into a convolutional neural network, extract the non-equilibrium flow field features and perform dimensionality reduction to obtain a low-dimensional feature sequence; Step S130: Input the low-dimensional feature sequence into a long short-term memory network to predict the macroscopic parameters and velocity distribution function of the flow field in future time steps; Step S140: The predicted velocity distribution function is used as the initial input to the mesoscopic Shakhov model equation to drive the mesoscopic solver to perform iterative calculations. Step S150: Based on the iterative calculation results, calculate and output the heat flux density distribution on the surface of the near-space spacecraft.

2. The macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle according to claim 1, characterized in that, Step S110 includes: The flow field around the near-space vehicle is discretized in time and space, and the macroscopic parameters of each grid point are sampled in snapshots at multiple consecutive time steps; The macroscopic parameters include at least fluid velocity, temperature, and pressure.

3. The macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle according to claim 1, characterized in that, Step S120 includes: The flow field time history data is preprocessed using Fourier transform to construct basis functions characterizing the flow field parameters. The preprocessed data is input into a convolutional neural network to extract spatial distribution features; The spatial distribution features are reduced in dimensionality by using pooling layers in a convolutional neural network, and the spatiotemporal coupling dynamics of the flow field are represented as a low-dimensional feature sequence composed of spatial basis functions and corresponding time coefficients.

4. The macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle according to claim 1, characterized in that, Step S130 includes: The Long Short-Term Memory network performs temporal modeling of the low-dimensional feature sequence through forget gate, input gate, and output gate, learns the dynamic evolution law of macroscopic parameters of the flow field and the transmission characteristics of non-equilibrium effects, and obtains learning results; Based on the learning results, the macroscopic parameters, local Knudsen numbers, and velocity distribution functions that need to be reconstructed at each grid point in future time steps are directly predicted.

5. The macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle according to claim 1, characterized in that, In step S140: The equations for the mesoscopic Shakhov model are given by the following: ; in, Let be the velocity distribution function of gas molecules; and These represent physical space coordinates and molecular discrete velocity, respectively. The tensor index represents the spatial dimension direction, and the summation follows Einstein's summation convention. For relaxation time, For gas dynamic viscosity, This refers to gas pressure; The equilibrium distribution function in the Shakhov model is given by the following equation: ; in, For gas density, Let be the ideal gas constant. For gas temperature, For the macroscopic velocity components of the gas, For heat flow components, It is a Prandtl number; For tensor indices, the summation follows Einstein's summation convention; The mesoscopic solver, based on the mesoscopic Shakhov model equations, uses the input velocity distribution function as a boundary condition or initial field to perform iterative solutions in physical space.

6. The macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle according to claim 1, characterized in that, The method further includes: A macroscopic solver is constructed based on the macroscopic R26 moment equation system; Higher-order moment information is introduced into the governing equations of the macroscopic solver to describe the non-equilibrium effects of the fluid and obtain the non-equilibrium flow field characteristics; the non-equilibrium flow field characteristics include at least the local Knudsen number and higher-order moment information.

7. The macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle according to claim 6, characterized in that: Based on the non-equilibrium flow field characteristics, deep learning models or particle swarm optimization algorithms are used to automatically identify regions with strong non-equilibrium effects. Based on the region of strong nonequilibrium effects, the location and thickness of the coupling layer between the macroscopic solver and the mesoscopic solver are adaptively determined.

8. The macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle according to claim 7, characterized in that: The macroscopic R26 moment equations and the mesoscopic Shakhov model equations constitute a mechanism-driven computational module. The convolutional neural network and the long short-term memory network constitute a data-driven prediction module; The data-driven prediction module provides the velocity distribution function and coupling layer parameters for future time steps to the mechanism-driven computation module, forming a mechanism-data dual-driven coupled iterative architecture.

9. The macroscopic-mesoscopic coupled simulation method for flow around the surface of a near-space vehicle according to claim 1, characterized in that: The convolutional neural network and the long short-term memory network are pre-trained, and the training samples are mesoscopic full flow field simulation time history data under various incoming flow conditions and aircraft shapes. During the online simulation phase, new flow field time history data are continuously collected to fine-tune and update the convolutional neural network and the long short-term memory network to correct prediction errors.

10. A macroscopic-mesoscopic coupled simulation device for flow around the surface of a near-space vehicle, characterized in that, include: The first module is used to acquire macroscopic parameters of the flow field around a near-space vehicle at multiple time steps, forming flow field time history data; The second module is used to input the flow field time history data into a convolutional neural network, extract non-equilibrium flow field features and perform dimensionality reduction to obtain a low-dimensional feature sequence. The third module is used to input the low-dimensional feature sequence into a long short-term memory network to predict the macroscopic parameters and velocity distribution function of the flow field in future time steps; The fourth module is used to use the predicted velocity distribution function as the initial input to the mesoscopic Shakhov model equations to drive the mesoscopic solver to perform iterative calculations. The fifth module is used to calculate and output the heat flux density distribution on the surface of the near-space spacecraft based on the iterative calculation results.