CFD (computational fluid dynamics) method for hypersonic speed near-continuous flow simulation
By introducing linear constitutive correction model and wall slip conditions in the CFD method, the problem of large prediction error and calculation amount in the simulation of nearly continuous flow of hypersonic speed is solved, and efficient wall aerodynamic and thermal simulation is achieved, which is suitable for complex engineering actual.
Patent Information
- Application Number
- CN202411107291.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2044-08-13
AI Technical Summary
The existing CFD method has errors in predicting the aerodynamic and heat of the aircraft wall in hypersonic near-continuous flow simulation, and the dynamic theory method has a huge calculation amount and is difficult to meet the actual engineering needs.
Based on the macroscopic conservation equation, a linear constitutive correction model and wall slip condition are introduced to form macroscopic control equations and boundary conditions suitable for nearly continuous flow of hypersonic speed, and the finite difference format and LU-SGS format are used for solving.
It significantly improves the prediction capability of near-continuous flow, reduces the calculation amount, and realizes efficient wall aerodynamic and thermal simulation, which is suitable for practical problems in complex engineering.
Smart Images

Figure CN119005058A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of rarefied gas dynamics, in particular to a computational fluid dynamics (CFD) method for simulating hypersonic near-continuous flow. Background Art
[0002] The flight Mach number of near-space hypersonic vehicles is usually 5-20, and the flight altitude is 20-100km. During the flight, due to the rarefied incoming gas and strong shear in the boundary layer, the flow field often has a local rarefied gas effect, which will seriously affect the aerodynamic characteristics and thermal protection design of the aircraft. Accurately and quickly predicting the wall aerodynamics and heat of the aircraft is crucial to the design of the aircraft.
[0003] For continuous medium flow, the Navier-Stokes-Fourier (NSF) equations can usually be used to accurately describe it and solve it using the CFD method. However, as the gas becomes thinner, the continuous medium assumption gradually fails, making the linear constitutive relationship and no-slip boundary assumption of the NSF equation no longer valid. At this time, the errors of aircraft drag and thermal flow predicted by the traditional CFD method gradually increase. Generally speaking, the dynamic theory Boltzmann equation can be directly solved or the DSMC particle method can be used to directly simulate the rarefied gas flow. However, in the near-continuous flow domain, the amount of calculation and storage required by the dynamic theory method is often very large, which exceeds the limit that engineering applications can bear. Other rarefied gas simulation methods also include solving high-order fluid dynamics equations, such as the Grad moment equation and the Burnett equation. However, such high-order equations may have instability themselves or high-order boundary conditions are difficult to propose, which limits their application in engineering. In general, for the flow field simulation and wall aerodynamic thermal prediction of hypersonic near-continuous flow, the traditional CFD method is no longer accurate and the dynamic theory method requires a huge amount of calculation. There is currently a lack of methods with accurate models and calculations that meet engineering practice. Summary of the invention
[0004] The object of the present invention is to provide a CFD method which can be used for simulating hypersonic near-continuous flow and whose calculation amount meets engineering practice.
[0005] The technical solution of the present invention is as follows:
[0006] A CFD method for simulating hypersonic near-continuum flow comprises the following steps:
[0007] Step 1: Based on the macroscopic conservation equation, a linear constitutive correction model is introduced to close the shear stress and heat flow, and a wall slip condition is introduced to describe the wall velocity slip and temperature jump phenomenon, so as to obtain the macroscopic control equation and boundary conditions applicable to the hypersonic near-continuum flow.
[0008] Step 2: discretize the macro control equation obtained in step 1 using finite difference format;
[0009] Step 3: Based on the discrete format and boundary processing of step 2, CFD solution is performed for the calculated shape;
[0010] Step 4: Post-process the solution of step 3 to obtain the flow field, wall aerodynamic force and heat of the calculated shape. The calculation of wall heat flux takes into account the work done by sliding friction.
[0011] Step 1 is as follows:
[0012] 1) The conservation equation describing the motion of compressible gas is
[0013]
[0014] Where t is time, ρ is density, T is temperature, p is pressure, E is total energy, subscripts i and j are 1, 2, and 3, (x1, x2, x3) = (x, y, z) are Cartesian coordinates, (u1, u2, u3) = (u, v, w) are velocities, and τ ij and q j are the shear stress tensor and heat flow vector, respectively, and δ is the Kronecker operator;
[0015] 2) A linear constitutive correction model is introduced to close the shear stress τ and heat flow q in the above conservation equations, which is:
[0016]
[0017] where μ e and κ e are the equivalent viscosity coefficient and the equivalent thermal conductivity coefficient, respectively, and their calculation formula is
[0018] μ e =A μ (Zh)·μ, κ e =A κ (Zh)·κ (3)
[0019] where μ and κ are the gas viscosity coefficient and thermal conductivity coefficient, respectively, Zh is the characteristic parameter describing the degree of local shear non-equilibrium, and A μ and A κ They are the viscosity correction function and the heat conduction correction function, and the calculation formula is as follows
[0020]
[0021] Where coth is the hyperbolic cotangent function. The coefficients a1, a2, and a3 in the above formula are obtained by simulating rarefied shear non-equilibrium flow using the DSMC method. The expression of Zh is:
[0022]
[0023] in is the most probable speed of local molecular thermal motion, R is the gas constant, is the gas velocity The derivative along the streamline normal n, λ is the molecular mean free path, and the calculation formula is
[0024]
[0025] 3) The velocity slip and temperature jump phenomena at the wall are described by applying the Maxwell slip boundary condition on the solid wall.
[0026]
[0027] Let u be the tangential coordinate along the wall, and y be the normal coordinate along the wall, where u slip and T jump are the gas slip velocity and jump temperature, u w and T w are the wall velocity and temperature, σ u and σ T are the wall tangential momentum adaptation coefficient and thermal adaptation coefficient, λ T is the molecular mean free path in equivalent form:
[0028]
[0029] where γ is the specific heat ratio, c v is the specific heat at constant volume;
[0030] 4) The above conservation equation (1) combined with the linear constitutive correction model (2)-(4) and the wall slip condition (7) constitutes the macroscopic control equation and boundary conditions describing the hypersonic near-continuum flow.
[0031] In step 2, the wall slip boundary condition obtained in step 1 is processed by single-sided implicit difference method as follows:
[0032]
[0033] Where u1, T1 are the velocity and temperature of the first layer of grids near the wall, Δy is the first layer grid spacing, C u =λ(2-σ u ) / σ u , C T =λ T (2-σ T ) / σ T .
[0034] In step 2, time marching uses the LU-SGS format.
[0035] The process of step three is as follows:
[0036] 1) Grid division: divide the computational flow field into structure-fitting grids;
[0037] 2) Set the initial parameters, including the incoming flow Mach number, Reynolds number, angle of attack, boundary type, and set the initial flow field;
[0038] 3) Discretize the macroscopic control equations in space, impose boundary conditions, and iterate along time;
[0039] 4) During the time advancement process, determine whether the flow field converges or reaches the maximum calculation time at a certain number of steps. If "yes", stop the calculation and output the calculation results.
[0040] In step 4, the wall shear stress and wall heat flux are calculated as follows:
[0041]
[0042] The beneficial effects of the present invention compared with the prior art are as follows:
[0043] (1) The present invention establishes a CFD method suitable for simulating hypersonic near-continuous flow, which is more suitable for complex engineering practical problems of near-space flight than existing methods;
[0044] (2) The present invention takes into account the influence of the local rarefaction effect of the boundary layer, and significantly improves the prediction ability of near-continuous flow compared with the traditional CFD method;
[0045] (3) The present invention has high computational efficiency, which is more than one order of magnitude faster than the kinetic theory DSMC particle simulation method;
[0046] (4) The present invention is easy to implement and can be easily implanted into any existing CFD solver. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a flowchart of the steps of the present invention
[0048] Figure 2 The velocity profile of the Mach 12.7 rarefied flat plate flow at x = 25 mm calculated by the present invention and the comparison with other methods
[0049] Figure 3 The wall cumulative drag of Mach 15 thin flat plate flow calculated by this invention and compared with other methods
[0050] Figure 4 The wall heat flux coefficient of the Mach 10, Knudsen number 0.05 cylinder flow calculated by the present invention and the comparison DETAILED DESCRIPTION
[0051] The present invention is described in detail below in conjunction with specific embodiments and accompanying drawings. In the following description, for the purpose of explanation and not limitation, specific details are set forth to help fully understand the present invention. However, it is apparent to those skilled in the art that the present invention may also be practiced in other embodiments that depart from these specific details.
[0052] It should be noted that, in order to avoid obscuring the present invention due to unnecessary details, only the device structure and / or processing steps closely related to the solution according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.
[0053] The embodiment of the present invention provides a CFD method for simulating hypersonic near-continuous flow, which overcomes the shortcomings of the prior art and mainly solves the following technical problems: overcoming the failure of the prior CFD method for high-speed rarefied gas flow, providing a linear constitutive correction model that can take into account the local rarefied gas effect in the boundary layer and the corresponding wall slip boundary conditions, and achieving a stable and efficient solution. Figure 1 As shown, the following steps are included:
[0054] Step 1: Based on the macroscopic conservation equation, a linear constitutive correction model is introduced to close the shear stress and heat flow, and the wall slip condition is introduced to describe the wall velocity slip and temperature jump phenomenon, thereby obtaining the macroscopic control equations and boundary conditions applicable to hypersonic near-continuum flow, including the following:
[0055] 1) The conservation equation describing the motion of compressible gas is
[0056]
[0057] Where t is time, ρ is density, T is temperature, p is pressure, E is total energy, subscripts i and j are 1, 2, and 3, (x1, x2, x3) = (x, y, z) are Cartesian coordinates, (u1, u2, u3) = (u, v, w) are velocities, and τ ij and q j are the shear stress tensor and heat flow vector, respectively, and δ is the Kronecker operator;
[0058] 2) A linear constitutive correction model is introduced to close the shear stress τ and heat flow q in the above conservation equations, which is:
[0059]
[0060] where μ e and κ e are the equivalent viscosity coefficient and the equivalent thermal conductivity coefficient, respectively, and their calculation formula is
[0061] μ e =A μ(Zh)·μ, κ e =A κ (Zh)·κ (3)
[0062] where μ and κ are the gas viscosity coefficient and thermal conductivity coefficient, respectively, Zh is the characteristic parameter describing the degree of local shear non-equilibrium, and A μ and A κ They are the viscosity correction function and the heat conduction correction function, and the calculation formula is as follows
[0063]
[0064] Where coth is the hyperbolic cotangent function. The coefficients a1, a2, and a3 in the above formula are obtained by simulating a large number of rarefied shear non-equilibrium flows using the DSMC method. The expression of Zh is:
[0065]
[0066] in is the most probable speed of local molecular thermal motion, R is the gas constant, is the gas velocity The derivative along the streamline normal n, λ is the molecular mean free path, and the calculation formula is
[0067]
[0068] In this step, the viscosity coefficient μ and the thermal conductivity coefficient κ in formula (3) are only related to temperature and can be calculated by the power law formula:
[0069]
[0070] Where T ref is the reference temperature, μ ref is the viscosity coefficient at the reference temperature, ω is the temperature index, Pr is the Prandtl number, c p is the specific heat at constant pressure.
[0071] In this step, the equivalent viscosity coefficient μ in formula (3) is e and the equivalent thermal conductivity κ e The calculation requires simultaneous equations (3)(5)(6) to form the following implicit equation:
[0072]
[0073] Among them Zh NS It is directly calculated from the flow field variables and their gradients. According to equation (8), the Newton iteration method is first used to calculate Zh, and then the obtained Zh is substituted into equation (4) to obtain the viscosity correction function A and the heat conduction correction function A, and the equivalent viscosity coefficient and the equivalent heat conduction coefficient are further calculated by equation (3).
[0074] Furthermore, if the Newton iteration method is used to solve the equivalent viscosity coefficient and the equivalent heat conduction coefficient in each step of time advancement, the calculation efficiency will be reduced. The viscosity correction function and the heat conduction correction function can be pre-solved according to equation (8) and an interpolation table can be made. After that, they can be directly interpolated and used in the time advancement process, thereby avoiding iteration at each step.
[0075] In this step, the velocity gradient in equation (5) is calculated as follows. For two-dimensional flow, the direction of the streamline is s = (u / V, v / V), and the velocity gradient along the streamline normal can be directly written as
[0076]
[0077] For three-dimensional flow, the streamline direction is s = (u / V, v / V, w / V). There are usually infinite directions perpendicular to the streamline. At this time, the maximum gradient along the streamline normal can be given based on the velocity gradient and its derivative along the streamline.
[0078]
[0079] Furthermore, for the simulation of rarefied boundary layer flow, since the velocity gradient along the normal direction of the streamline in the boundary layer is generally much larger than its gradient along the streamline, the local velocity gradient can be used to approximate the velocity gradient along the normal direction of the streamline, that is, In this way, Zh NS The calculation is more convenient and direct.
[0080] 3) Apply Maxwell slip boundary conditions on the solid wall to describe the velocity slip and temperature jump phenomena at the wall, which is
[0081]
[0082] Here we assume that u is tangential to the wall, and y is the normal coordinate along the wall, where u slip and T jump are the gas slip velocity and jump temperature, u w and T w are the wall velocity and temperature, σ u and σ T are the wall tangential momentum adaptation coefficient and thermal adaptation coefficient, λ T is the equivalent form of the molecular mean free path
[0083]
[0084] where γ is the specific heat ratio, c v is the specific heat at constant volume.
[0085] 4) The above conservation equation (1) combined with the linear constitutive correction model (2)-(4) and the wall slip condition (11) constitutes the macroscopic control equations and boundary conditions describing the hypersonic near-continuum flow.
[0086] Step 2: The control equations obtained in step 1 are discretized using a high-precision finite difference format, where the convection term is discretized using the fifth-order WENO format, the viscosity term is discretized using the sixth-order central difference format, and the time advancement uses the LU-SGS format. The calculation format is detailed in (Yan Chao. Computational Fluid Dynamics Methods and Applications [M]. Beijing University of Aeronautics and Astronautics Press, 2006.). In addition, the wall slip boundary condition obtained in step 1 is processed using a single-sided implicit difference to ensure the stability of the calculation.
[0087] In this step, other formats may be used for spatial discretization and time advancement, such as the finite volume format for spatial discretization and the Runge-Kutta format for time advancement.
[0088] In this step, if the wall slip condition is directly implemented as formula (11), it may cause computational instability. Here, a single-sided implicit difference format is used, that is,
[0089]
[0090] Substituting into equation (11), the implementation form of the slip boundary is obtained as
[0091]
[0092] Where u1, T1 are the velocity and temperature of the first layer of grids near the wall, Δy is the first layer grid spacing, C u =λ(2-σ u ) / σ u , C T =λ T (2-σ T ) / σ T .
[0093] Step 3: Based on the discrete format and boundary processing of step 2, CFD solution is performed for the given calculated shape. The process is as follows:
[0094] 1) Grid division: divide the computational flow field into structure-fitting grids;
[0095] 2) Set initial parameters, such as incoming flow Mach number, Reynolds number, angle of attack, boundary type, etc., and set the initial flow field;
[0096] 3) Discretize the control equations in space and impose boundary conditions, iterating along time;
[0097] 4) During the time advancement process, determine whether the flow field converges or reaches the maximum calculation time at a certain number of steps. If "yes", stop the calculation and output the calculation results.
[0098] In this step, the calculated shape can be a simple shape, such as a plate, a cylinder, or a blunt cone, or a three-dimensional complex shape or a flying shape.
[0099] Step 4: Post-process the solution of step 3 to obtain the flow field and wall aerodynamic force / heat of the calculated shape, where the flow field quantity (gas density, velocity, temperature, etc.) and wall pressure p w Directly from the simulation results, the wall shear stress and wall heat flux are calculated as follows:
[0100]
[0101] The calculation of wall heat flux here takes into account the work done by sliding friction, that is, u slip τ w .
[0102] Two embodiments of calculating hypersonic near-continuous flow using the method of the present invention are given below:
[0103] In the first embodiment, the calculation object is a rarefied hypersonic flat plate flow.
[0104] Specifically, the working condition of this embodiment is zero angle of attack, the incoming flow Mach numbers are 12.7 and 15 respectively, and the traditional NSF method, the method of the present invention (DiNS) and the dynamic theory DSMC method are used for calculation respectively. The calculation results are as follows Figure 2 and Figure 3 As shown, the velocity profile comparison of the Mach 12.7 example at x=25mm and the wall drag comparison of the Mach 15 example are respectively given. It can be seen that the boundary layer flow field profile and wall drag calculated by the present invention are in good agreement with the DSMC results, which is a significant improvement over the traditional NSF method. In addition, in terms of calculation time, the traditional NSF method and the method of the present invention are both around 2.5 hours, and the calculation time of the DSMC method is around 41 hours. The calculation efficiency of the present invention is more than one order of magnitude faster than the DSMC particle simulation method. For three-dimensional near-continuous flows, the improvement in calculation efficiency will be even more obvious, and can reach more than two or three orders of magnitude.
[0105] In the second specific embodiment, the calculation object is the rarefied hypersonic flow around a circular cylinder.
[0106] Specifically, the working conditions of this embodiment are that the incoming flow Mach number is 10 and the Knudsen number is 0.05. The wall heat flux coefficient calculated by the present invention is compared with the results of the traditional NSF equation and the DSMC method. Figure 4As shown. It can be seen that the wall heat flux of the cylinder flow calculated by the present invention is in good agreement with DSMC, which is a significant improvement over the traditional NSF method. In summary, the CFD method proposed in the present invention can accurately simulate hypersonic near-continuous flow, including boundary layer profile, wall resistance, and heat flux, and is much more efficient than the DSMC particle simulation method in terms of computational efficiency, and can be quickly applied in engineering.
[0107] Features described and / or illustrated above for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with or used in place of features in other embodiments.
[0108] It should be emphasized that the term "include / comprises" when used herein refers to the presence of features, integers, steps or components, but does not exclude the presence or addition of one or more other features, integers, steps, components or combinations thereof.
[0109] The above devices and methods of the present invention can be implemented by hardware, or by hardware combined with software. The present invention relates to such a computer-readable program, which, when executed by a logic component, enables the logic component to implement the above-mentioned devices or components, or enables the logic component to implement the above-mentioned various methods or steps. The present invention also relates to a storage medium for storing the above-mentioned program, such as a hard disk, a magnetic disk, an optical disk, a DVD, a flash memory, etc.
[0110] The many features and advantages of these embodiments are apparent from this detailed description, and thus the appended claims are intended to cover all such features and advantages of these embodiments that fall within their true spirit and scope. Furthermore, since numerous modifications and changes will readily occur to those skilled in the art, it is not intended that the embodiments of the invention be limited to the exact construction and operation illustrated and described, but rather all suitable modifications and equivalents falling within the scope thereof are intended to be covered.
[0111] Parts of the present invention that are not described in detail are well known to those skilled in the art.
Claims
1. A CFD method for simulating hypersonic near-continuum flow, comprising the following steps: Step 1: Based on the macroscopic conservation equation, a linear constitutive correction model is introduced to close the shear stress and heat flow, and a wall slip condition is introduced to describe the wall velocity slip and temperature jump phenomenon, so as to obtain the macroscopic control equation and boundary conditions applicable to the hypersonic near-continuum flow. Step 2: discretize the macro control equation obtained in step 1 using finite difference format; Step 3: Based on the discrete format and boundary processing of step 2, CFD solution is performed for the calculated shape; Step 4: Post-process the solution of step 3 to obtain the flow field, wall aerodynamic force and heat of the calculated shape. The calculation of wall heat flux takes into account the work done by sliding friction.
2. The CFD method for hypersonic near-continuum flow simulation according to claim 1, characterized in that: Step 1 is as follows: 1) The conservation equation describing the motion of compressible gas is Where t is time, ρ is density, T is temperature, p is pressure, E is total energy, subscripts i and j are 1, 2, and 3, (x1, x2, x3) = (x, y, z) are Cartesian coordinates, (u1, u2, u3) = (u, v, w) are velocities, and τ ij and q j are the shear stress tensor and heat flow vector, respectively, and δ is the Kronecker operator; 2) A linear constitutive correction model is introduced to close the shear stress τ and heat flow q in the above conservation equations, which is: where μ e and κ e are the equivalent viscosity coefficient and the equivalent thermal conductivity coefficient, respectively, and their calculation formula is m e =A μ (Zh)·m, k e =A κ (Zh)·k (3) where μ and κ are the gas viscosity coefficient and thermal conductivity coefficient, respectively, Zh is the characteristic parameter describing the degree of local shear non-equilibrium, and A μ and A κ They are the viscosity correction function and the heat conduction correction function, and the calculation formula is as follows Where coth is the hyperbolic cotangent function. The coefficients a1, a2, and a3 in the above formula are obtained by simulating rarefied shear non-equilibrium flow using the DSMC method. The expression of Zh is: in is the most probable speed of local molecular thermal motion, R is the gas constant, is the gas velocity The derivative along the streamline normal n, λ is the molecular mean free path, and the calculation formula is 3) The velocity slip and temperature jump phenomena at the wall are described by applying the Maxwell slip boundary condition on the solid wall. Let u be the tangential coordinate along the wall, and y be the normal coordinate along the wall, where u slip and T jump are the gas slip velocity and jump temperature, u w and T w are the wall velocity and temperature, σ u and σ T are the wall tangential momentum adaptation coefficient and thermal adaptation coefficient, λ T is the molecular mean free path in equivalent form: where γ is the specific heat ratio, c v is the specific heat at constant volume; 4) The above conservation equation (1) combined with the linear constitutive correction model (2)-(4) and the wall slip condition (7) constitutes the macroscopic control equation and boundary conditions describing the hypersonic near-continuum flow.
3. The CFD method for hypersonic near-continuum flow simulation according to claim 1, characterized in that: In step 2, the wall slip boundary condition obtained in step 1 is processed by single-sided implicit difference method as follows: Where u1, T1 are the velocity and temperature of the first layer of grids near the wall, Δy is the first layer grid spacing, C u =λ(2-σ u ) / σ u , C T =λ T (2-σ T ) / σ T .
4. The CFD method for hypersonic near-continuum flow simulation according to claim 1, characterized in that: In step 2, time marching uses the LU-SGS format.
5. The CFD method for hypersonic near-continuum flow simulation according to claim 1, characterized in that: The process of step three is as follows: 1) Grid division: divide the computational flow field into structure-fitting grids; 2) Set the initial parameters, including the incoming flow Mach number, Reynolds number, angle of attack, boundary type, and set the initial flow field; 3) Discretize the macroscopic control equations in space, impose boundary conditions, and iterate along time; 4) During the time advancement process, determine whether the flow field converges or reaches the maximum calculation time at a certain number of steps. If "yes", stop the calculation and output the calculation results.
6. The CFD method for hypersonic near-continuum flow simulation according to claim 2, characterized in that: In step 4, the wall shear stress and wall heat flux are calculated as follows:
Citation Information
Patent Citations
Simulation analysis method for pressure separation of spacecraft
CN108388742A
Numerical method for simulating subsonic flows based on euler equations in lagrangian formulation
US20120065950A1
Numerical method to simulate compressible vortex-dominated flows
US20140350899A1
Cited By
Finite difference solving method for plate laminar flow self-similar boundary layer equation
CN120874492A
A finite difference method for solving the equations of a flat-plate laminar self-similar boundary layer
CN120874492B
Boundary slip velocity resolving method and sensing system based on numerical simulation and data driving
CN122217575A
