Passive scalar numerical simulation method for channel based on implicit projection method

The passive scalar transport equation in channel turbulence is processed through implicit projection method and Crank-Nicholson format, which solves the problems of slow calculation speed and poor robustness of traditional methods, and realizes efficient and fast passive scalar transport calculation, which is suitable for large Scale parallel computing.

CN119005056APending Publication Date: 2024-11-22XIAN MODERN CONTROL TECH RES INST
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411102443.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Traditional passive scalar calculation methods have slow calculation speed and poor robustness in channel turbulence, making it difficult to meet the needs of large-scale parallel computing.

Method used

Using the method based on implicit projection method, the convection term and diffusion term of the scalar transport equation are represented by the Crank-Nicholson format, and the discrete Laplace viscous operator is introduced, and the LU decomposition is used to decouple speed and pressure by splitting step method. , improve computing efficiency and robustness.

Benefits of technology

It significantly improves the calculation efficiency of passive scalar transportation, with fast calculation speed and high robustness, and can more than double the calculation efficiency, making it suitable for large-scale parallel computing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004989733000000011
    Figure BDA0004989733000000011
  • Figure BDA0004989733000000021
    Figure BDA0004989733000000021
  • Figure BDA0004989733000000022
    Figure BDA0004989733000000022
Patent Text Reader

Abstract

The invention discloses a channel passive scalar numerical simulation method based on an implicit projection method, which comprises the following steps of: under the condition of keeping the overall solution second-order precision unchanged, firstly representing a convection term and a diffusion term of a scalar transport equation by adopting a Crank-Nicholson format, and then introducing a discrete Laplacian viscosity operator L to obtain a fully discrete scalar transport equation; and finally, respectively moving the physical quantities of the n + 1 time step and the n time step to two sides of the equation, and solving the scalar field of the next time step by utilizing the physical quantity of the previous time step. Compared with a traditional spectrum method for passive scalar calculation, the spectrum method disclosed by the invention is high in calculation robustness and high in calculation speed, the calculation efficiency can be improved by more than one time, and large-scale parallel calculation of passive scalar transportation is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of fluid mechanics, and in particular relates to a channel passive scalar numerical simulation method based on an implicit projection method. Background Art

[0002] Passive scalars are idealized objects in the study of the mechanism of scalar transport process, that is, in the process of turbulent transport of scalars, the scalar itself will not have a reactionary effect on the flow field. The study of passive scalar fields is a hot topic in current turbulence research. On the one hand, it helps to deepen the understanding of turbulence problems themselves. On the other hand, it is also of great significance for understanding the diffusion mechanism of pollutants, improving turbulent combustion models and other practical problems in engineering application fields. Summary of the invention

[0003] In order to overcome the shortcomings of the prior art, the present invention provides a channel passive scalar numerical simulation method based on the implicit projection method. While keeping the overall second-order accuracy of the solution unchanged, the Crank-Nicholson format is first used to represent the convection term and diffusion term of the scalar transport equation, and then the discrete Laplace viscosity operator L is introduced to obtain a fully discrete scalar transport equation. Finally, the physical quantities of the n+1 and n time steps are moved to both sides of the equation respectively, and the scalar field of the next time step can be solved using the physical quantities of the previous time step. Compared with the spectral method of traditional passive scalar calculation, the spectral method disclosed by the present invention has high computational robustness, fast calculation speed, and the computational efficiency can be increased by more than one time, which is conducive to large-scale parallel calculation of passive scalar transport.

[0004] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0005] Step 1: Assume that the channel turbulence between two infinite parallel plates is driven by pressure gradient. x, y, z represent the stream, normal and span coordinates, the corresponding velocity components are u, v, w, and the half-channel height is h. The governing equation of the flow is the incompressible Navier-Stokes equation, and its dimensionless form is:

[0006]

[0007] Where u is the velocity vector, p represents the pressure, and f is the momentum force of the immersed boundary applied to the fluid; the Reynolds number Re is defined as Re = Uh / v, U represents the characteristic velocity, and v represents the kinematic viscosity coefficient of the fluid;

[0008] Step 2: In numerical calculation, for channel turbulence, periodic boundary conditions are used in the streamwise and spanwise directions, and no-slip and impenetrable conditions are used on the upper and lower walls;

[0009] The discrete convection operator N, discrete gradient operator G, discrete Laplace viscosity operator L and discrete divergence operator D are introduced to discretize equations (1) and (2). The convection term and viscosity term adopt the Crank-Nicholson format, and the fully discrete control equation is obtained:

[0010]

[0011] Du n+1 =0+cbc (4)

[0012] Among them, the superscript n represents the nth calculation time step, Δt is the time step, mbc and cbc represent discrete velocity boundary conditions, and the above discrete equation is written in matrix form:

[0013]

[0014] δp=p n+1 / 2 -p n-1 / 2

[0015] Step 3: Use the splitting step method to perform LU decomposition on (5), and we can get:

[0016]

[0017] The error of the above decomposition is:

[0018]

[0019] Formula (6) can be further written as:

[0020]

[0021] u * is the intermediate step speed introduced;

[0022] Step 4: The solution process is:

[0023] Step 4-1: Solve for the intermediate step speed u * :

[0024] Au * =r+mbc (10) Step 4-2: Solve the pressure Poisson equation to obtain the pressure difference δp between two time steps:

[0025] ΔtDGδp=Du * -cbc (11)

[0026] Step 4-3: Update the speed of step n+1:

[0027] u n+1 =u *-ΔtGδp (12) Step 4-4: Update the pressure of step n+1 / 2:

[0028]

[0029] The dimensionless passive scalar transport equation in channel turbulence is as follows:

[0030]

[0031] Where θ is a passive scalar, Q is a scalar source term uniform throughout the field, Pe is the Parker number, which is defined as Pe = Uh / D, and D is the scalar diffusion coefficient; periodic boundary conditions are still used for passive scalars in the flow direction and span direction of the slot, and the first-class boundary condition θ| 壁面 =0;

[0032] Step 4-5: The convection and diffusion terms are expressed in Crank-Nicholson format, and the discrete Laplace viscosity operator L is introduced to obtain the fully discrete scalar transport equation:

[0033]

[0034] Where θbc represents the discrete scalar boundary condition;

[0035] Step 4-6: Equation (15) can be further written as:

[0036]

[0037] Right now

[0038] A θ θ n+1 =R θ (17)

[0039]

[0040] So we only need to get the velocity field u at the nth step and the n+1th step. n and u n+1 and the scalar field θ at step n n , we can obtain the scalar field θ of the n+1th step from (17) n+1 .

[0041] Preferably, the Reynolds number Re is 180.

[0042] The beneficial effects of the present invention are as follows:

[0043] The present invention solves the problems of slow calculation speed and poor calculation robustness of traditional methods such as spectral method by solving NS equations and passive scalar transport equations using implicit projection method. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a schematic diagram of the channel flow physical model of an embodiment of the present invention.

[0045] Figure 2 It is a schematic diagram of an average scalar cross section of an embodiment of the present invention.

[0046] Figure 3 It is a schematic diagram of the scalar pulsation RMS of an embodiment of the present invention.

[0047] Figure 4 It is a schematic diagram related to the scalar flow velocity of an embodiment of the present invention.

[0048] Figure 5 It is a schematic diagram of turbulent scalar flux according to an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0050] The present invention aims to propose a projection calculation method for calculating passive scalar transport in channel turbulence. This method can quickly and robustly calculate passive scalar transport problems, and the calculation efficiency can be more than doubled compared to traditional spectral methods.

[0051] As a traditional method for simulating and calculating passive scalar transport, the spectral method has the disadvantages of slow calculation speed and low computational robustness. In order to solve this problem, the present invention proposes an implicit projection calculation method for calculating passive scalar transport. The projection operator is used to decompose the NS equations, the velocity and pressure are decoupled, and then the projection operator is used to decompose the passive scalar transport equations, which greatly improves the computational efficiency and computational robustness.

[0052] The present invention considers Figure 1 The channel turbulence driven by pressure gradient between two infinite parallel plates is shown in the figure. x, y, z represent the streamwise, normal and spanwise coordinates, the corresponding velocity components are u, v, w, and the half-channel height is h. The governing equation of the flow is the incompressible Navier-Stokes (NS) equation, which is in dimensionless form:

[0053]

[0054] Where u is the velocity vector, p represents the pressure, and f is the submerged boundary momentum force applied to the fluid. The Reynolds number Re is defined as Re = Uh / v, where U represents the characteristic velocity and v represents the kinematic viscosity coefficient of the fluid.

[0055] In numerical calculations, for Figure 1 The channel turbulence shown adopts periodic boundary conditions in the streamwise and spanwise directions, and no-slip and impenetrable conditions on the upper and lower walls.

[0056] By introducing discrete convection operator N, discrete gradient operator G, discrete Laplace viscosity operator L and discrete divergence operator D, equations (1) and (2) are discretized. The convection term and viscosity term adopt Crank-Nicholson format, and the fully discrete control equation can be obtained:

[0057]

[0058] Du n+1 =0+cbc (4)

[0059] Among them, the superscript n represents the nth calculation time step, Δt is the time step, mbc and cbc represent discrete velocity boundary conditions, and the above discrete equation can be written in matrix form:

[0060]

[0061] δp=p n+1 / 2 -p n-1 / 2

[0062] Using the splitting step method, LU decomposition is performed on (5), and we can obtain:

[0063]

[0064] The error of the above decomposition is:

[0065]

[0066] Formula (6) can be further written as:

[0067]

[0068] u * is the introduced intermediate step speed.

[0069] So the overall algorithm solution process is:

[0070] (1) Solve for the intermediate step speed u * :

[0071] Au * =r+mbc (10)

[0072] (2) Solve the pressure Poisson equation to obtain the pressure difference δp between two time steps:

[0073] ΔtDGδp=Du * -cbc (11)

[0074] (3) Update the speed of step n+1:

[0075] u n+1 =u *-ΔtGδp (12)

[0076] (4) Update the pressure of step n+1 / 2:

[0077]

[0078] The dimensionless passive scalar transport equation in channel turbulence is as follows:

[0079]

[0080] Where θ is a passive scalar, Q is a scalar source term uniform throughout the field, Pe is the Parker number, which is defined as Pe = Uh / D, and D is the scalar diffusion coefficient. The passive scalars in the flow and span directions of the channel still use periodic boundary conditions, and the first-class boundary conditions are used at the wall. 壁面 =0.

[0081] Similar to the momentum equation, the convection and diffusion terms use the Crank-Nicholson format, and the discrete Laplace viscosity operator L is introduced to obtain the fully discrete scalar transport equation:

[0082]

[0083] where θbc represents the discrete scalar boundary condition.

[0084] Equation (15) can be further written as:

[0085]

[0086] Right now:

[0087] A θ θ n+1 =R θ (17)

[0088]

[0089] So we only need to get the velocity field u at the nth step and the n+1th step. n and u n+1 and the scalar field θ at step n n , we can obtain the scalar field θ of the n+1th step from (17) n+1 .

[0090] Example:

[0091] Combined with the calculation example of Kim & Moin (1989) on smooth-wall channel turbulence, the effect and calculation efficiency of the present invention are verified. The calculation domain of the channel is L x ×L y ×L z=2πh×2h×πh, the friction Reynolds number Re defined by the friction speed τ is 180, the grid size is N x ×N y ×N z =128×128×128. Molecular Prandtl number Pr=v / D=0.71, heat source Q=2.0 / Pe. The specific steps are as follows:

[0092] (1) According to Au * =r+mbc to solve for the intermediate step speed u * ;

[0093] (2) According to ΔtDGδp=Du * -cbc solves the pressure Poisson equation and obtains the pressure difference δp between two time steps;

[0094] (3) According to u n+1 =u * -ΔtGδp updates the speed u of step n+1 n+1 ;

[0095] (4) Based on Update the pressure for step n+1 / 2

[0096] (5) According to A θ θ n+1 =R θ Update the scalar θ for step n+1 n+1 .

[0097] Figures 2 to 5 Table 1 is a comparison of the computational efficiency of the projection method proposed by the present invention and the traditional spectral method. It can be seen that the computational efficiency of the projection method proposed by the present invention is consistent with that of the spectral method, whether it is the average scalar profile, scalar pulsation root mean square, scalar streamwise velocity correlation or turbulent scalar flux. Table 1 is a comparison of the computational efficiency of the projection method proposed by the present invention and the traditional spectral method. It can be seen that the computational time of the projection method is less than half of that of the spectral method, that is, the computational efficiency of the projection method is more than twice that of the spectral method.

[0098] Table 1 Comparison of the computational efficiency between the projection method proposed in this invention and the traditional spectral method

[0099]

Claims

1. A slot passive scalar numerical simulation method based on implicit projection method, characterized in that: The steps include: Step 1: Assume that the channel turbulence between two infinite parallel plates is driven by pressure gradient. x, y, z represent the stream, normal and span coordinates, the corresponding velocity components are u, v, w, and the half-channel height is h. The governing equation of the flow is the incompressible Navier-Stokes equation, and its dimensionless form is: Where u is the velocity vector, p represents the pressure, and f is the momentum force of the immersed boundary applied to the fluid; the Reynolds number Re is defined as Re = Uh / v, U represents the characteristic velocity, and v represents the kinematic viscosity coefficient of the fluid; Step 2: In numerical calculation, for channel turbulence, periodic boundary conditions are used in the streamwise and spanwise directions, and no-slip and impenetrable conditions are used on the upper and lower walls; The discrete convection operator N, discrete gradient operator G, discrete Laplace viscosity operator L and discrete divergence operator D are introduced to discretize equations (1) and (2). The convection term and viscosity term adopt the Crank-Nicholson format, and the fully discrete control equation is obtained: You n+1 0+cbc (4) Among them, the superscript n represents the nth calculation time step, △t is the time step, mbc and cbc represent discrete velocity boundary conditions, and the above discrete equation is written in matrix form: δp=p n+1 / 2 -p n-1 / 2 Step 3: Use the splitting step method to perform LU decomposition on (5), and we can get: The error of the above decomposition is: Formula (6) can be further written as: u* is the introduced intermediate step speed; Step 4: The solution process is: Step 4-1: Solve for the intermediate step speed u*: Au*=r+mbc (10) Step 4-2: Solve the pressure Poisson equation to obtain the pressure difference δp between two time steps: ΔtDGδp=Du*-cbc (11) Step 4-3: Update the speed of step n+1: the n+1 =the * -ΔtGδp (12) Step 4-4: Update the pressure at step n+1 / 2: The dimensionless passive scalar transport equation in channel turbulence is as follows: Where θ is a passive scalar, Q is a scalar source term uniform throughout the field, Pe is the Parker number, which is defined as Pe = Uh / D, and D is the scalar diffusion coefficient; periodic boundary conditions are still used for passive scalars in the flow direction and span direction of the slot, and the first-class boundary condition θ| 壁面 =0; Step 4-5: The convection and diffusion terms are expressed in Crank-Nicholson format, and the discrete Laplace viscosity operator L is introduced to obtain the fully discrete scalar transport equation: Where θbc represents the discrete scalar boundary condition; Step 4-6: Equation (15) can be further written as: Right now A θ i n+1 =R θ (17) So we only need to get the velocity field u at the nth step and the n+1th step. n and u n+1 and the scalar field θ at step n n , we can obtain the scalar field θ of the n+1th step from (17) n+1 .

2. According to claim 1, a slot passive scalar numerical simulation method based on implicit projection method is characterized in that: The Reynolds number Re is 180.

Citation Information

Cited By

  • Passive scalar determination method and device for large eddy simulation, equipment and medium

    CN119249970A