Large eddy simulation method, device, medium and system for calculating turbulence

By using the attenuation function and wall function method associated with turbulent Reynolds number in the LES model, combined with the wall attenuation function of the low Reynolds number, the problem of poor performance in the near-wall area is solved, and aerodynamic and eddy current flow is achieved. Accurate simulation, especially the precise calculation of vortex motion and pulsation amount in areas far away from the wall.

CN118657090BActive Publication Date: 2024-11-12CALCULATION AERODYNAMICS INST CHINA AERODYNAMICS RES & DEV CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411133494.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-12
Estimated Expiration
2044-08-19

AI Technical Summary

Technical Problem

现有LES模型在近壁区表现不佳,导致气动力模拟与实验结果存在差距,并在远离壁面区域的涡流流动及脉动量计算不够准确。

Method used

The attenuation function associated with the local turbulent Reynolds number combined with the wall function method to calculate the turbulent viscosity of the near wall area, and use the low Reynolds number wall attenuation function in the low Reynolds number zone to improve the near wall attenuation function to ensure the near wall simulation effect and distance. Accurate simulation of wall vortex motion pulsation.

Benefits of technology

The aerodynamic accuracy in the near wall area and the accurate simulation of vortex motion and pulsation amount in the space area away from the wall are achieved, giving full play to the advantages of turbulence mode theory and LES simulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657090B_ABST
    Figure CN118657090B_ABST
Patent Text Reader

Abstract

The present invention discloses a large eddy simulation method, device, medium and system for calculating turbulence, which belongs to the field of computational fluid dynamics, and includes the steps of: creating a flow field calculation grid for large eddy simulation based on a computer, using an attenuation function associated with the local turbulent Reynolds number, and combining the wall function method to calculate the turbulent viscosity of the near-wall area; using the wall function method to obtain the turbulent viscosity of the first layer of grids near the wall, and using the low Reynolds number wall attenuation function to calculate the turbulent viscosity when the grid leaves the first layer and is in a low Reynolds number area. The present invention not only ensures the accuracy of aerodynamics, but also can truly reflect the eddy flow and flow field pulsation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computational fluid dynamics, and more specifically, to a large eddy simulation method, device, medium and system for calculating turbulence. Background Art

[0002] The large eddy simulation (LES) model is a model used to simulate turbulence. It mainly decomposes turbulence into large-scale motion and small-scale motion through a certain filtering method. The large-scale motion is directly calculated by numerically solving differential equations, and the small-scale motion is calculated by establishing a model. This effect is similar to Reynolds stress and is called the compressed lattice Reynolds stress.

[0003] In the closest prior art, the standard LES model was proposed by Smagorinsky in the 1960s, and the turbulent viscosity expression is:

[0004]

[0005] in, represents the turbulent viscosity coefficient, represents the filtering scale, C s represents the Smagorinsky constant, represents the filtering scale, C s The value range is from 0.065 to 0.24. Indicates fluid density, filter width ,in represents the grid volume, , represents the size of the deformation rate tensor, represents the component of velocity in the i direction, represents the component of velocity in the j direction, represents the component of the x-axis in the i direction, represents the component of the x-axis in the j direction. s The value is not fixed, and its value is usually related to the distance from any spatial point in the flow field to the wall. The wall will significantly affect the turbulent flow, which is characterized by a large average velocity gradient, large turbulent energy, and large turbulent dissipation. In order to simulate the velocity distribution law of the turbulent boundary layer near the wall, the attenuation function is used. For the convenience of calculation, C s The value is fixed at 0.1, and the attenuation function is used to simulate its value range. There are various ways to calculate the attenuation function. Several typical attenuation function algorithms are listed below.

[0006] The first decay function is the Lilly model:

[0007]

[0008] Among them, the vonKarman constant , the distance from a point in the flow field to the nearest wall is y;

[0009] The second decay function is the improved model of Chen and Patel:

[0010]

[0011] Its decay function ,in , , k represents the turbulent kinetic energy, Represents the fluid viscosity coefficient, and the attenuation function is related to the distance from the mesh control volume to the wall.

[0012] The third decay function is the VanDriest model:

[0013]

[0014] Its decay function ,in, is a semi-empirical constant, , represents the dimensionless distance from the medium to the wall, , is the wall shear velocity, , is the wall shear stress. This attenuation function is also related to the distance from the mesh control volume to the wall.

[0015] The fourth decay function is the Ferziger and Moin model:

[0016]

[0017] Its decay function . Similarly, the attenuation function is related to the distance from the mesh control volume to the wall.

[0018] Disadvantages of the existing technology: The commonly used attenuation function based on the wall distance performs poorly in the near-wall area, resulting in a certain gap between the traditional LES model and the experimental results when simulating aerodynamic forces. When using turbulence mode theory such as the k-ε model for calculation, the near-wall flow field and aerodynamic results can be guaranteed to be good, but when simulating eddy flow far from the wall, especially in the calculation of flow field pulsation, it is not accurate enough. Summary of the invention

[0019] The purpose of the present invention is to overcome the deficiencies of the prior art and to provide a large eddy simulation method, device, medium and system for calculating turbulence, which not only ensures the accuracy of aerodynamics but also can truly reflect the eddy flow and flow field pulsation.

[0020] The object of the present invention is achieved through the following solutions:

[0021] A large eddy simulation method for calculating turbulence comprises the following steps:

[0022] The flow field calculation grid for large eddy simulation is created based on the computer, and the attenuation function associated with the local turbulent Reynolds number is used in combination with the wall function method to calculate the turbulent viscosity in the near-wall area;

[0023] The wall function method is used to obtain the turbulent viscosity for the first layer of grids near the wall. When the grid leaves the first layer and is in the low Reynolds number region, the low Reynolds number wall attenuation function is used to calculate the turbulent viscosity.

[0024] Furthermore, the low Reynolds number wall attenuation function is specifically:

[0025]

[0026] Among them, the turbulent Reynolds number , k represents the turbulent kinetic energy, is the turbulent dissipation rate, represents the fluid density, Represents the fluid viscosity coefficient.

[0027] Furthermore, the computer-based creation of a flow field calculation grid for large eddy simulation specifically includes the following steps:

[0028] S1, create flow field calculation grid based on computer;

[0029] S2, input the created mesh into the solver;

[0030] S3, processing grid.

[0031] Furthermore, the attenuation function associated with the local turbulent Reynolds number is used in combination with the wall function method to calculate the turbulent viscosity of the near-wall region, specifically including the following sub-steps:

[0032] S4, solve the flow field for the processed grid: first use the calculation results of the low Reynolds number k-ε model as the initial field; use the k and ε values ​​given by the initial field to calculate the local turbulent Reynolds number Re t ; Then use the local turbulence Reynolds number Re t The low Reynolds number wall attenuation function is calculated, and finally the sub-grid eddy viscosity is calculated using the LES model.

[0033] Furthermore, the wall function method is used to obtain the turbulent viscosity of the first layer of grid near the wall, which specifically includes the following sub-steps: using y + Determine the calculation method of the viscosity of the first layer of wall mesh, when y +When it is less than 11.63, the grid viscosity is the fluid viscosity coefficient When y + When it is greater than 11.63, the grid viscosity is the fluid viscosity coefficient Add the turbulent viscosity coefficient ;

[0034] in, , ,y + is a dimensionless parameter, representing the dimensionless distance from the medium to the wall. is an empirical constant, k is the turbulent kinetic energy, y is the distance from a point in the flow field to the nearest wall, is the fluid density, Represents the fluid viscosity coefficient.

[0035] Furthermore, the LES model calculates the subgrid eddy viscosity, specifically including the following sub-steps:

[0036] When the LES model is calculated, the k-ε equation is no longer solved; the turbulent kinetic energy k value of the first layer of grid remains unchanged, y + The wall shear reduction should also be By y + Calculated, where u p is the velocity difference between the first grid on the wall and near the wall, and the value of E is 8.143. is the vonKarman constant.

[0037] Furthermore, after sub-step S4, the method further includes the following sub-steps:

[0038] S5, judging whether the calculation result of step S4 has converged, if not, repeating step S4, solving by iteration until the calculation result reaches the convergence requirement, and ending after post-processing the final calculation result.

[0039] A large eddy simulation device for calculating turbulence comprises a processor and a memory. A program is stored in the memory. When the program is loaded by the processor, the large eddy simulation method for calculating turbulence as described in any one of the above items is executed.

[0040] A computer-readable storage medium stores a computer program, wherein the computer program is loaded by a processor and executes the large eddy simulation method for calculating turbulence as described in any one of the above items.

[0041] A large eddy simulation system for calculating turbulence comprises the large eddy simulation device for calculating turbulence as described above.

[0042] The beneficial effects of the present invention include:

[0043] The present invention is mainly used for unsteady flow calculation, and can obtain transient flow characteristics, such as velocity and pressure pulsation. The present invention adopts a calculation method combining wall function and LES, which not only ensures the accuracy of the near-wall flow field and aerodynamic force, but also ensures the accuracy of the vortex motion and its pulsation amount in the space far from the wall. The present invention can give full play to their respective advantages, that is, the turbulence mode theory performs well in the near-wall area, and the LES simulation of vortex motion in the space far from the wall is more advantageous.

[0044] The improved near-wall attenuation function adopted in the present invention can ensure good simulation effect near the wall while ensuring accurate simulation of vortex motion and its pulsation in the spatial region far away from the wall; therefore, the method of the present invention can ensure the accuracy of aerodynamic force and truly reflect the vortex flow and flow field pulsation. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0046] Figure 1 The figure is a flow chart of the method steps of an embodiment of the present invention. DETAILED DESCRIPTION

[0047] All features disclosed in all embodiments in this specification, or steps in all methods or processes implicitly disclosed, except for mutually exclusive features and / or steps, can be combined and / or expanded or replaced in any manner.

[0048] The present invention provides a large eddy simulation method for calculating turbulence, which specifically comprises the following steps:

[0049] The flow field calculation grid for large eddy simulation is created based on the computer, and the attenuation function associated with the local turbulent Reynolds number is used in combination with the wall function method to calculate the turbulent viscosity in the near-wall area;

[0050] The wall function method is used to obtain the turbulent viscosity for the first layer of grids near the wall. When the grid leaves the first layer and is in the low Reynolds number region, the low Reynolds number wall attenuation function is used to calculate the turbulent viscosity.

[0051] Compared with the traditional large eddy simulation (LES) method, the advantage of the present invention is that it uses the local turbulent Reynolds number to calculate the attenuation function, effectively improving the turbulent viscosity in the low Reynolds number area near the wall, and using the improved near-wall attenuation function to ensure good simulation effects near the wall while ensuring accurate simulation of eddy motion and its pulsation in the space area far from the wall. Therefore, the method established by the present invention not only ensures the accuracy of aerodynamics, but also truly reflects the eddy flow and flow field pulsation.

[0052] Further in an optional embodiment, the low Reynolds number wall attenuation function is specifically:

[0053]

[0054] Among them, the turbulent Reynolds number , k represents the turbulent kinetic energy, is the turbulent dissipation rate, represents the fluid density, Represents the fluid viscosity coefficient.

[0055] Further in an optional embodiment, the computer-based creation of a flow field calculation grid for large eddy simulation specifically comprises the following steps:

[0056] S1, create flow field calculation grid based on computer;

[0057] S2, input the created mesh into the solver;

[0058] S3, processing grid.

[0059] Further in an optional embodiment, the attenuation function associated with the local turbulent Reynolds number is used in combination with the wall function method to calculate the turbulent viscosity of the near-wall area, specifically including the following sub-steps:

[0060] S4, solve the flow field of the processed grid: The flow field solution can adopt SIMPLE method, which mainly includes the following steps: given initial pressure and initial velocity or using the calculation result of the previous step to update the flow field; solving the momentum equation to obtain the new velocity; solving the pressure correction equation to obtain the corrected pressure, velocity and mass flux; solving scalar equations such as energy and turbulence; using large eddy simulation method to calculate turbulent viscosity. The focus of the present invention is on the step of using large eddy simulation method to calculate turbulent viscosity. Specifically, the calculation result of low Reynolds number k-ε model is first used as the initial field; the k and ε values ​​given by the initial field are used to calculate the local turbulent Reynolds number Re t ; Then use the local turbulence Reynolds number Re t The low Reynolds number wall attenuation function is calculated, and finally the sub-grid eddy viscosity is calculated using the LES model.

[0061] The specific method is: first use the calculation results of the low Reynolds number k-ε model as the initial field, and after convergence, use the LES model to calculate the sub-grid eddy viscosity to obtain the transient flow field. Since the converged k and ε values ​​have been obtained in the initial field calculation, the k and ε equations are no longer calculated. It is considered that the turbulent Reynolds number Re t The variable attenuation function is basically unchanged in LES calculation. The local turbulent Reynolds number Re is calculated using the k and ε values ​​given in the initial field. t , and then use Re t The wall attenuation function is calculated, and finally the sub-grid eddy viscosity of the LES model is calculated.

[0062] Among them, the turbulent viscosity of the LES model is: .

[0063] The low Reynolds number wall attenuation function proposed by the present invention .

[0064] in , k represents the turbulent kinetic energy, Represents the turbulent dissipation rate. The biggest difference from other attenuation functions is that the present invention uses the turbulent Reynolds number Re t , and the others use functions related to the wall distance.

[0065] For boundary processing, the wall function method is used to calculate the turbulent viscosity at the first layer of wall grid. + Determine the calculation method of the viscosity of the first layer of wall mesh, when y + When it is less than 11.63, the grid viscosity is the fluid viscosity coefficient , when y + When it is greater than 11.63, the grid viscosity is the fluid viscosity coefficient plus the turbulent viscosity coefficient In the wall function method ,in , when LES is calculated, the k and ε equations are no longer solved. The turbulent kinetic energy k value of the first layer of grid remains unchanged, y + The wall shear reduction should also be With y + Related, among them u p is the first grid velocity difference between the wall and the near-wall surface, and the value of E is 8.143. The present invention makes the near-wall velocity gradient variation obtained by the LES model similar to the turbulence mode theory.

[0066] Further in an optional embodiment, after sub-step S4, the method further includes the following sub-steps:

[0067] S5, judging whether the calculation result of step S4 has converged, if not, repeating step S4, solving by iteration until the calculation result reaches the convergence requirement, and ending after post-processing the final calculation result.

[0068] Further in an optional embodiment, a large eddy simulation device for calculating turbulence is also provided, including a processor and a memory, in which a program is stored. When the program is loaded by the processor, the large eddy simulation method for calculating turbulence as described in any of the above embodiments is executed.

[0069] Further in an optional embodiment, a computer-readable storage medium is provided, in which a computer program is stored, and the computer program is loaded by a processor and executes the large eddy simulation method for calculating turbulence as described in any of the above embodiments.

[0070] Further in an optional embodiment, a large eddy simulation system for calculating turbulence is also provided, including the large eddy simulation device for calculating turbulence as described in the above embodiment.

[0071] The units involved in the embodiments of the present invention may be implemented by software or hardware, and the units described may also be arranged in a processor. The names of these units do not, in some cases, limit the units themselves.

[0072] According to one aspect of an embodiment of the present invention, a computer program product or a computer program is provided, the computer program product or the computer program includes a computer instruction, and the computer instruction is stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method provided in the above various optional implementations.

[0073] As another aspect, an embodiment of the present invention further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

[0074] In addition to the above examples, those skilled in the art may obtain other embodiments based on the above disclosure or by using the knowledge or technology in the related field to make changes. The features of each embodiment may be interchangeable or replaced. The changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention and should be within the scope of protection of the claims attached to the present invention.

Claims

1. A large eddy simulation method for calculating turbulence, characterized in that: The following steps are involved: The flow field calculation grid for large eddy simulation is created based on the computer, and the attenuation function associated with the local turbulent Reynolds number is used in combination with the wall function method to calculate the turbulent viscosity in the near-wall area; The wall function method is used to obtain the turbulent viscosity for the first layer of grids near the wall. When the grid leaves the first layer and is in the low Reynolds number area, the low Reynolds number wall attenuation function is used to calculate the turbulent viscosity. The low Reynolds number wall attenuation function is specifically: Among them, the turbulent Reynolds number , k represents the turbulent kinetic energy, is the turbulent dissipation rate, represents the fluid density, represents the fluid viscosity coefficient; The computer-based creation of a flow field calculation grid for large eddy simulation specifically includes the following steps: S1, create flow field calculation grid based on computer; S2, input the created mesh into the solver; S3, processing grid; The attenuation function associated with the local turbulent Reynolds number is used in combination with the wall function method to calculate the turbulent viscosity of the near-wall area, which specifically includes the following sub-steps: S4, solve the flow field for the processed grid: first use the calculation results of the low Reynolds number k-ε model as the initial field; use the k and ε values ​​given by the initial field to calculate the local turbulent Reynolds number Re t ; Then use the local turbulence Reynolds number Re t Calculate the low Reynolds number wall attenuation function, and finally use the LES model to calculate the sub-grid eddy viscosity; S5, judging whether the calculation result of step S4 has converged, if not, repeating step S4, solving by iteration until the calculation result reaches the convergence requirement, and ending after post-processing the final calculation result.

2. The large eddy simulation method for calculating turbulence according to claim 1, characterized in that: The wall function method is used to obtain the turbulent viscosity of the first layer of grid near the wall, which specifically includes the following sub-steps: using y + Determine the calculation method of the viscosity of the first layer of wall mesh, when y + When it is less than 11.63, the grid viscosity is the fluid viscosity coefficient When y + When it is greater than 11.63, the grid viscosity is the fluid viscosity coefficient Add the turbulent viscosity coefficient ; in, , ,y + is a dimensionless parameter, representing the dimensionless distance from the medium to the wall. is an empirical constant, k is the turbulent kinetic energy, y is the distance from a point in the flow field to the nearest wall, is the fluid density, Represents the fluid viscosity coefficient.

3. The large eddy simulation method for calculating turbulence according to claim 2, characterized in that: The LES model calculates the subgrid eddy viscosity, specifically including the following sub-steps: When the LES model is calculated, the k-ε equation is no longer solved; the turbulent kinetic energy k value of the first layer of grid remains unchanged, y + The wall shear reduction should also be By y + Calculated, where u p is the velocity difference between the first grid on the wall and near the wall, and the value of E is 8.

143. is the vonKarman constant.

4. A large eddy simulation device for calculating turbulence, characterized in that: The invention comprises a processor and a memory, wherein a program is stored in the memory, and when the program is loaded by the processor, the large eddy simulation method for calculating turbulence as claimed in any one of claims 1 to 3 is executed.

5. A computer-readable storage medium, characterized in that: A computer program is stored in a readable storage medium, and the computer program is loaded by a processor to execute the large eddy simulation method for calculating turbulence as claimed in any one of claims 1 to 3.

6. A large eddy simulation system for calculating turbulence, characterized in that: The large eddy simulation device for calculating turbulence is included as claimed in claim 4.