Turbulent combustion direct numerical simulation method based on spectral element method and storage medium

By using the spectral element method to decouple fluid dynamics and thermodynamics in the numerical simulation of turbulent combustion, combined with the adaptive step size and high-order velocity correction format, the problems of high computational cost and insufficient accuracy in the existing technology are solved and achieved Efficient and high-precision numerical simulation of turbulent combustion.

CN118607401APending Publication Date: 2024-09-06SHANGHAI JIAOTONG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410651861.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing technology has the problems of high computational cost and difficulty in accurately capturing complex flow structures in numerical simulations of turbulent combustion, especially in large-scale combustion flows and high Reynolds number flows.

Method used

Using a direct numerical simulation method based on the spectral element method, the continuity equation, momentum equation and energy equation are discretized in the spectral space, the fluid dynamics and thermodynamics solutions are separated, and the high-order velocity correction format and implicit time integration of the adaptive step size are used The scheme combines Legendre polynomials as basis functions to perform spatial discretization and time integration.

Benefits of technology

It improves the accuracy and calculation efficiency of numerical simulation, can accurately capture the complex structure of turbulent combustion fields, reduces the calculation cost of chemical reaction flows, and is suitable for research on complex-shaped high-temperature combustion flows and large-scale flame propagation stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607401A
    Figure CN118607401A
Patent Text Reader

Abstract

The invention relates to a turbulent combustion direct numerical simulation method based on a spectral element method and a storage medium, according to the method, a continuity equation, a momentum equation, an energy equation and a component equation are discretized in a spectral space, in each solution step, chemical reaction flow solution is divided into fluid dynamics solution and thermodynamics solution, and the solution is divided into two solution steps; the heat divergence is calculated to reflect the response of the turbulent flow field to heat release and component change in the combustion process; in fluid dynamics solution, a high-order velocity correction format is used to decouple a pressure field and a velocity field, and heat divergence is used to replace a continuity equation to consider the influence of component change and combustion heat release on a density field and the velocity field; in thermodynamic solution, an implicit time integration scheme of adaptive step length is used, and chemical reaction source items and thermodynamic and transport parameters are updated in real time in each sub-iteration step, so that efficient and accurate solution of an energy equation and a component equation is realized. Compared with the prior art, the method has the advantages of high precision, capability of reducing calculation amount and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a numerical simulation method, in particular to a turbulent combustion direct numerical simulation method based on a spectral element method and a storage medium. Background Art

[0002] Turbulent combustion problems require numerical simulation of multi-component flow fields including chemical reactions. Compared with the single-component Navier-Stokes (NS) equations, combustion problems require solving additional component equations to close the equation system and consider the effects of component changes and heat release caused by chemical reactions. Since the time scale of chemical reactions is much smaller than the time scale of flow changes, there are serious rigidity problems in the simulation of chemical reaction flows. Traditional direct numerical simulation methods require accurate analysis of the effects of chemical reaction source terms and changes in thermodynamic / transport parameters on the flow field, which leads to huge computational costs, especially for large-scale combustion flows and high Reynolds number flows. Therefore, it is necessary to study a numerical method that can effectively reduce the time cost of chemical reaction flow calculations.

[0003] The study of the complex mechanism of turbulent combustion requires numerical simulation methods to accurately capture the complex flow structure, especially to accurately analyze the flow and chemical reaction dynamics on the Kolmogorov scale. However, there is currently no numerical simulation method that can meet the above requirements. Summary of the invention

[0004] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a spectral element method based direct numerical simulation method and storage medium for turbulent combustion with high accuracy and reduced calculation amount.

[0005] The purpose of the present invention can be achieved by the following technical solutions:

[0006] A direct numerical simulation method for turbulent combustion based on the spectral element method. This method discretizes the continuity equation, momentum equation, energy equation and component equation in the spectral space. In each solution step, the solution of the chemical reaction flow is divided into fluid dynamics solution and thermodynamic solution, and the heat dissipation is calculated to reflect the response of the turbulent flow field to the heat release and component changes of the combustion process.

[0007] In the fluid dynamics solution, a high-order velocity correction format is used to decouple the pressure field and the velocity field, and thermal divergence is used instead of the continuity equation to consider the effects of component changes and combustion heat release on the density field and the velocity field; in the thermodynamic solution, an implicit time integration scheme with an adaptive step size is used to solve the energy equation and the component equation based on the chemical reaction source terms and thermodynamic and transport parameters that are updated in real time in each sub-iteration step.

[0008] Furthermore, based on the read high-order grid information and boundary condition information, a weakly compressible solver based on a high-order spectral element method is used to perform spatial discretization in the spectral space.

[0009] Furthermore, Legendre polynomials are used as basis functions inside each discrete spectrum unit in the spectrum space.

[0010] Furthermore, the fluid dynamics solution includes:

[0011] 201) The modified velocity field is obtained by explicitly solving the convection term of the momentum equation The solution format is:

[0012]

[0013] Among them, u is the speed, J is the number of historical steps of the linear multi-step method, α q , β q is the linear multi-step method coefficient, Δt is the time step, is a second-order tensor containing the partial derivatives of the components of the velocity field in all directions. The superscripts of the variables indicate the corresponding time steps.

[0014] 202) Solve the variable coefficient pressure Poisson equation and obtain the pressure field p at time n+1 n+1 :

[0015]

[0016] in, is the divergence operator, is the gradient operator, is the curl operator, v is the dynamic viscosity, Q T is the thermal dissipation, ρ is the density, I is the unit matrix, Re is the Reynolds number, ω is the vorticity, and γ0 is the linear multi-step method coefficient;

[0017] 203) Implicitly solving the pressure term of the momentum equation yields The solution format is:

[0018]

[0019] 204) Implicitly solve the diffusion term of the momentum equation to obtain u n+1 , the solution format is:

[0020]

[0021] in, is the Laplace operator.

[0022] Furthermore, the variable coefficient pressure Poisson equation is obtained by taking the divergence of the momentum equation.

[0023] Furthermore, the thermodynamic solution includes:

[0024] 301) Update thermodynamic and transport parameters using the thermodynamic and transport parameter library;

[0025] 302) Solve the generation rate of chemical reaction components based on detailed chemical reaction mechanism Heat release rate Among them, h s,i is the induction enthalpy, is the standard molar enthalpy of formation, N g is the number of components, the superscript k corresponds to the sub-iteration step of the thermodynamic solution, and the superscript n+1 represents the corresponding time step;

[0026] 303) Solve the scalar equation and the energy equation using a semi-implicit time integration format with an adaptive step size, repeat steps 301) and 302) in each sub-iteration step until the integration reaches a specified time step size, and the scalar equation and the energy equation are expressed as:

[0027]

[0028]

[0029] Where t is time, λ is the heat transfer coefficient, c p,mix is the specific heat capacity of the gas mixture at constant pressure, c p,i is the constant pressure specific heat capacity of the component, T is the flow field temperature, Y i is the mass fraction of the component, V i is the diffusion rate of the component.

[0030] Furthermore, the thermodynamic and transport parameters include density ρ n+1,(k) , the diffusion coefficient of the component Specific heat capacity at constant pressure Specific enthalpy Specific heat capacity of mixture flow at constant pressure And the thermal conductivity λ n+1,(k) .

[0031] Furthermore, the component diffusion velocity V i The calculation formula is:

[0032]

[0033]

[0034]

[0035] Among them, D i,mix is the mass diffusion rate of the component, X i is the component mole fraction, Vc To correct the diffusion rate.

[0036] Furthermore, the heat dissipation is updated during the simulation process, and the updating formula is:

[0037]

[0038] in, is the gradient operator, u is the velocity, ρ is the density, N g is the number of components, W i is the molar mass of the component, is the average molar mass of the mixture, Y i is the mass fraction of the component, V i is the diffusion rate of the component, is the rate of formation of chemical reaction components, c p,mix is the specific heat capacity of the gas mixture at constant pressure, is the divergence operator, T is the flow field temperature, λ is the heat transfer coefficient, h i is the specific enthalpy, c p,i is the specific heat capacity of the component at constant pressure.

[0039] The present invention also provides a computer-readable storage medium, comprising one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs include instructions for executing the direct numerical simulation method of turbulent combustion based on the spectral element method as described above.

[0040] Compared with the prior art, the present invention has the following beneficial effects:

[0041] 1. The numerical solution method of the present invention is based on the high-order spectral element method for spatial discretization, which increases the accuracy of numerical simulation and enables the numerical simulation to accurately capture the complex flow structure in the turbulent combustion field, especially the small-scale coherent structure. At the same time, the spatial discretization based on the spectral element method increases the geometric adaptability of the present invention. For real burner flow fields with complex shapes, such as high-temperature combustion flows inside aircraft engines, compared with traditional finite volume and finite difference formats, it can adapt to complex grids with lower accuracy loss.

[0042] 2. The present invention adopts implicit thermodynamic solution with adaptive step size, which greatly reduces the huge amount of calculation caused by chemical reaction rigidity in turbulent combustion problems.

[0043] 3. The present invention can realize efficient and high-precision direct numerical simulation of turbulent combustion, which is of great significance to the cutting-edge scientific issues in the field of combustion science. Specifically, the high-precision numerical simulation of turbulent combustion can provide high-resolution distribution information of field quantities such as temperature, pressure and material concentration inside the turbulent boundary layer of the multi-component field. These data are crucial for studying the combustion process inside the boundary layer, the heat transfer characteristics and its interaction with the turbulent co-ordered structure and flow instability; the stability problem of premixed combustion requires accurate analysis of the temperature and component distribution inside the flame surface while simulating the large-scale and long-term nonlinear evolution of the flame surface, which requires high-precision analysis of the internal structure of the flame surface while taking into account the efficient numerical simulation capability of large-scale flow fields. The flow field / thermodynamic field decoupling scheme of the present invention substantially improves the efficiency of direct numerical simulation of chemical reaction flows, and is easy to large-scale parallel calculation, which is of great significance for the study of large-scale flame propagation stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is the time integration flow chart of the present invention;

[0045] Figure 2 Solve the detailed flow chart for the fluid dynamics portion of the present invention;

[0046] Figure 3 A comparison diagram of the one-dimensional hydrogen-oxygen premixed flame static ignition solution in an embodiment of the present invention and the PREMIX reference solution;

[0047] Figure 4 A comparison diagram of the one-dimensional flame structure solution result in the embodiment of the present invention and the high-resolution PREMIX reference solution, wherein the solid points are the solution result of the present invention and the solid line is the PREMIX reference solution;

[0048] Figure 5 This is the solution result of the nonlinear evolution of the two-dimensional hydrogen-oxygen premixed unstable flame surface in the embodiment of the present invention. DETAILED DESCRIPTION

[0049] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.

[0050] The present embodiment provides a direct numerical simulation method for turbulent combustion based on the spectral element method. The method discretizes the continuity equation, momentum equation, energy equation and component equation in the spectral space. In each solution step, the solution of the chemical reaction flow is divided into a fluid dynamics solution and a thermodynamic solution, and the thermal divergence is calculated to reflect the response of the turbulent flow field to the heat release and component changes of the combustion process; in the fluid dynamics solution, a high-order velocity correction format is used to decouple the pressure field and the velocity field, and the thermal divergence is used instead of the continuity equation to consider the influence of component changes and combustion heat release on the density field and the velocity field; in the thermodynamic solution, an implicit time integration scheme with an adaptive step size is used to solve the energy equation and the component equation based on the chemical reaction source terms and thermodynamic and transport parameters updated in real time in each sub-iteration step.

[0051] The above method decouples the fluid dynamics and thermodynamic solutions of the combustion problem, and performs spatial discretization based on the spectral element method, so that the numerical simulation can accurately capture the complex flow structure in the turbulent combustion field. The spectral element method is known for its high-precision format and low dispersion dissipation. Compared with the traditional numerical format, the spectral element method can more accurately analyze complex flow structures. In addition, the spectral element method has the advantages of high geometric adaptability and easy large-scale parallelization. Compared with the traditional numerical format, the efficient direct numerical simulation of chemical reaction flows based on the spectral element method is more suitable for large-scale mechanism research with complex geometric shapes, such as the study of the internal flow field of an aircraft engine with a complex shape.

[0052] refer to Figure 1 As shown, the specific process of the direct numerical simulation method of turbulent combustion based on the spectral element method includes:

[0053] Step S1: spatial discretization. Read high-order grid information and boundary condition information, perform spatial discretization on the flow field in the spectral space, set the spatial order to N, and use a weakly compressible solver based on the high-order spectral element method for spatial discretization. Legendre polynomials are used as basis functions in each spectral unit.

[0054] Step S2: Perform fluid dynamics solution and realize the decoupling of pressure field and velocity field through high-order velocity correction scheme, such as Figure 2 shown.

[0055] 201) At each time step n+1, the convection term of the momentum equation is first explicitly solved to obtain the corrected velocity field The solution format is:

[0056]

[0057] Among them, u is the speed, J is the number of historical steps of the linear multi-step method, α q , β qis the linear multi-step method coefficient, Δt is the time step, It is a second-order tensor containing the partial derivatives of the components of the velocity field in all directions. The superscript of the variable indicates the corresponding time step, and the same applies to the following text.

[0058] 202) Based on the heat dissipation at the current moment Solve the variable coefficient pressure Poisson equation obtained by taking the divergence of the momentum equation and obtain the pressure field p at time n+1 n+1 :

[0059]

[0060] in, is the divergence operator, is the gradient operator, is the curl operator, v is the dynamic viscosity, Q T is the thermal dissipation, ρ is the density, I is the unit matrix, Re is the Reynolds number, ω is the vorticity, and γ0 is the linear multi-step coefficient.

[0061] 203) Implicitly solving the pressure term of the momentum equation yields The solution format is:

[0062]

[0063] 204) Implicitly solve the diffusion term of the momentum equation to obtain u n+1 , the solution format is:

[0064]

[0065] in, is the Laplace operator.

[0066] Step S3: performing thermodynamic solution.

[0067] 301) Update thermodynamic and transport parameters using the thermodynamic and transport parameter library, including density ρ n+1,(k) , the diffusion coefficient of the component Specific heat capacity of components at constant pressure Specific enthalpy and the specific heat capacity of a gas mixture at constant pressure Thermal conductivity λ n+1,(k) , the superscript k represents the sub-iteration step of the thermodynamic solution process.

[0068] 302) Solve the generation rate of chemical reaction components based on detailed chemical reaction mechanism Heat release rate where h s,i is the induction enthalpy, is the standard molar enthalpy of formation, N g is the number of components.

[0069] 303) Solve the scalar equation and the energy equation using a semi-implicit time integration format with an adaptive step size, and repeat steps 301) and 302) in each sub-iteration step until the integration reaches a specified time step size.

[0070]

[0071]

[0072] Where t is time, λ is the heat transfer coefficient, c p,mix is the specific heat capacity of the gas mixture at constant pressure, c p,i is the constant pressure specific heat capacity of the component, T is the flow field temperature, Y i is the mass fraction of the component, V i is the diffusion rate of the component. The calculation formula for the diffusion rate is Where D i,mix is the mass diffusion rate of the component, X i is the mole fraction of the component. To correct the diffusion rate to ensure mass conservation.

[0073] Step S4: Update the thermal dissipation.

[0074] In the low Mach number framework, only the continuity equation of the component equation is solved, so the continuity equation of the flow field still requires additional restrictions to ensure that mass conservation is satisfied. Substituting the ideal gas state equation into the continuity equation of the flow field, the velocity divergence restriction term can be obtained by deduction:

[0075]

[0076] Where λ is the thermal conductivity, c p,mix is the specific heat capacity of the gas mixture at constant pressure, h i is the specific enthalpy, W i is the molar mass of the component, is the average molar mass of the mixture.

[0077] Figure 3-Figure 5 Schematic diagram of experimental results based on the above-mentioned direct numerical simulation method of turbulent combustion. Figure 3 In the present study, transient ignition calculations based on detailed chemical reaction mechanisms were performed using this numerical simulation method. The obtained stable flame structure was highly consistent with the high-resolution flame structure reference solution, indicating that this numerical solution method can achieve high-precision numerical simulation of transient ignition and has good stability for flow fields that change dramatically over time. Figure 4 The flame structure obtained by this numerical simulation method is highly consistent with the high-resolution flame structure reference solution, indicating that this numerical simulation method can achieve high-precision and accurate analysis of the internal structure of the flame. Figure 5 The numerical solution results of the long-term nonlinear evolution of the hydrogen-lean premixed flame are shown, which shows that this numerical simulation method has good long-term numerical stability for a well-set turbulent combustion example.

[0078] If the above method is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0079] In another embodiment of the present invention, an electronic device is provided, comprising one or more processors, a memory and one or more programs stored in the memory, wherein the one or more programs include instructions for executing the direct numerical simulation method of turbulent combustion based on the spectral element method as described above.

[0080] The preferred specific embodiments of the present invention are described in detail above. It should be understood that a person skilled in the art can make many modifications and changes based on the concept of the present invention without creative work. Therefore, any technical solution that can be obtained by a person skilled in the art through logical analysis, reasoning or limited experiments based on the concept of the present invention on the basis of the prior art should be within the scope of protection determined by the claims.

Claims

1. A direct numerical simulation method for turbulent combustion based on spectral element method, characterized in that: This method discretizes the continuity equation, momentum equation, energy equation and component equation in the spectral space. In each solution step, the solution of chemical reaction flow is divided into fluid dynamics solution and thermodynamic solution, and the heat dissipation is calculated to reflect the response of turbulent flow field to heat release and component changes in the combustion process. In the fluid dynamics solution, a high-order velocity correction format is used to decouple the pressure field and the velocity field, and thermal divergence is used instead of the continuity equation to consider the effects of component changes and combustion heat release on the density field and the velocity field; in the thermodynamic solution, an implicit time integration scheme with an adaptive step size is used, and the chemical reaction source terms and the thermodynamic and transport parameters are updated in real time in each sub-iteration step to solve the energy equation and the component equation.

2. The direct numerical simulation method for turbulent combustion based on the spectral element method according to claim 1 is characterized in that: Based on the read high-order grid information and boundary condition information, a weakly compressible solver based on a high-order spectral element method is used to perform spatial discretization in the spectral space.

3. The direct numerical simulation method for turbulent combustion based on spectral element method according to claim 1, characterized in that: Each discrete spectral unit in the spectral space uses Legendre polynomials as basis functions.

4. The direct numerical simulation method for turbulent combustion based on spectral element method according to claim 1, characterized in that: The fluid dynamics solution includes: 201) The modified velocity field is obtained by explicitly solving the convection term of the momentum equation The solution format is: Among them, u is the speed, j is the number of historical steps of the linear multi-step method, and α q , β q is the linear multi-step method coefficient, Δt is the time step, is a second-order tensor containing the partial derivatives of the components of the velocity field in all directions. The superscripts of the variables indicate the corresponding time steps. 202) Solve the variable coefficient pressure Poisson equation and obtain the pressure field p at time n+1 n+1 : in, is the divergence operator, is the gradient operator, is the curl operator, v is the dynamic viscosity, Q T is the thermal dissipation, ρ is the density, I is the unit matrix, Re is the Reynolds number, ω is the vorticity, and γ0 is the linear multi-step method coefficient; 203) Implicitly solving the pressure term of the momentum equation yields The solution format is: 204) Implicitly solve the diffusion term of the momentum equation to obtain u n+1 , the solution format is: in, is the Laplace operator.

5. The direct numerical simulation method for turbulent combustion based on spectral element method according to claim 4 is characterized in that: The variable coefficient pressure Poisson equation is obtained by taking the divergence of the momentum equation.

6. The direct numerical simulation method for turbulent combustion based on spectral element method according to claim 1, characterized in that: The thermodynamic solution includes: 301) Update thermodynamic and transport parameters using the thermodynamic and transport parameter library; 302) Solve the generation rate of chemical reaction components based on detailed chemical reaction mechanism Heat release rate where h s,i is the induction enthalpy, is the standard molar enthalpy of formation, N g is the number of components, the superscript k corresponds to the sub-iteration step of the thermodynamic solution, and the superscript n+1 represents the corresponding time step; 303) Solve the scalar equation and the energy equation using a semi-implicit time integration format with an adaptive step size, repeat steps 301) and 302) in each sub-iteration step until the integration reaches a specified time step size, and the scalar equation and the energy equation are expressed as: Where t is time, λ is the heat transfer coefficient, c p,mix is the specific heat capacity of the gas mixture at constant pressure, c p, is the constant pressure specific heat capacity of the component, T is the flow field temperature, Y i is the mass fraction of the component, V i is the diffusion rate of the component.

7. The direct numerical simulation method for turbulent combustion based on spectral element method according to claim 6, characterized in that: The thermodynamic and transport parameters include density ρ n+1,(k) , the diffusion coefficient of the component Specific heat capacity at constant pressure Specific enthalpy Specific heat capacity of mixture flow at constant pressure And the thermal conductivity λ n+1,(k) .

8. The direct numerical simulation method for turbulent combustion based on spectral element method according to claim 6, characterized in that: The component diffusion velocity V i The calculation formula is: Among them, D i,mix is the mass diffusion rate of the component, X i is the component mole fraction, V c To correct the diffusion rate.

9. The direct numerical simulation method for turbulent combustion based on spectral element method according to claim 1, characterized in that: The heat dissipation is updated during the simulation process, and the update formula is: in, is the gradient operator, u is the velocity, ρ is the density, N g is the number of components, W i is the molar mass of the component, is the average molar mass of the mixture, Y i is the mass fraction of the component, V i is the diffusion rate of the component, is the rate of formation of chemical reaction components, c p,ix is the specific heat capacity of the gas mixture at constant pressure, is the divergence operator, T is the flow field temperature, λ is the heat transfer coefficient, h i is the specific enthalpy, c p,i is the specific heat capacity of the component at constant pressure.

10. A computer-readable storage medium, characterized in that: It comprises one or more programs for execution by one or more processors of an electronic device, wherein the one or more programs comprise instructions for executing the direct numerical simulation method of turbulent combustion based on the spectral element method as claimed in any one of claims 1 to 9.