Numerical Study Using Statistical and Quantum Approaches for Solving Energy and Navier Stokes Momentum Equations (PDEs)

Abstract

Statistical and Quantum numerical method was implemented in this study to solve various cases in partial differential equations (PDEs) in engineering applications. One-dimensional with two lattices arrangements as well as two-dimensional with nine lattices arrangements is employed. The stability and the accuracy have been investigated either using statistical technique or using Euler’s method. The numerical limitations of using LBM method have been obtained and compared with those obtained by Euler’s method finite difference method. The main goal of this study is to investigate the ability of a statistical method in solving various ODEs or PDEs in energy and momentum equations and comparing them with those obtained by a classical numerical technique. The results show the ability of the statistical method for solving ODEs and PDE’s with more stable and accurate results. Therefore, the motivation of utilizing the statistical technique is the stability and it is easy for a complex fluid flow application.

Share and Cite:

Almalowi, S. (2022) Numerical Study Using Statistical and Quantum Approaches for Solving Energy and Navier Stokes Momentum Equations (PDEs). Engineering, 14, 155-162. doi: 10.4236/eng.2022.143015.

1. Introduction

The Austrian physicist, Boltzmann is the first physicists who applied the statistical method for solving ODEs or PDEs. He had the greatest achievement in the development of statistical methodology, which based on the statistical and probability of behavior of a group of particles. This technique is quiet new technique and recently applied for various applications in order to predict macroscopic properties of matter such as the viscosity, thermal conductivity, and diffusion coefficient from the microscopic properties of atoms and molecules [1] [2] [3]. The probability of finding particles within certain range of velocities at a certain range of locations replaces tagging each particle as in molecular dynamic simulation. The statistical technique belongs to the molecular dynamics, filling the gap between the microscopic and macroscopic phenomenology. It generated from the lattice-gas cellular automata method [1]. The statistical technique which is known as the lattice Bhatnagar-Gross-Krook (BGK) method has been developed rapidly and applied for many studies. The nonlinear term in the lattice Boltzmann is approximated by BGK to become linear term, and this term is known as the collision term in the lattice BGK governing equation. The main idea of LBM is to embank the gap between micro-scale and macro-scale by not considering individual behavior of particles alone but behavior of a group of particles as a unit. The property of particle is represented by a distribution function. The distribution function acts as a representative for collection of particles. This scale is unknown as microscopic scale. In nature, the two immiscible fluids are multicomponent fluids. This type of technique is based on the interaction between each fluid molecule naturally as well as the interface region for multi-phase flow [4] [5] [6].

2. Mathematical Model

The statistical approach has been employed to predict macroscopic properties of matter such as the viscosity, thermal conductivity, and diffusion coefficient from the microscopic properties of atoms and molecules [7]. The probability of finding particles within certain range of velocities at a certain range of locations replaces tagging each particle as in molecular dynamics simulation. The Boltzmann transportation of single fluid has been modeled by several investigators including the present authors recently [4]. Statistical technique will be considered in the present study using one and two-dimensional with two and nine directional lattices arrangements. Statistical approach is a relatively recent technique that has been shown to be as accurate as traditional CFD methods having ability to be implemented to simulate complex flows. The statistical technique can be utilized for different arrangements which can give a more stable and accurate results [8] [9] [10]. The collision of particles takes place between the molecules; there will be a net difference between the numbers of molecules in the interval. The rate of change of the distribution function is expressed as:

S k t + c k S k = ω ( S k e q S k ) h k t + c k h k = ω ( h k e q h k ) for k = 1 , , m (1)

Here k denotes the direction, c is the lattice discrete velocity and F is external forces applied. ω ( S k e q S k ) and ω ( h k e q h k ) denote the source or the collision term for each phase. Equation (1) is known as the BGK LB governing equation. ω1 = 1/τ1 and ω2 = 1/τ2 are the relaxation frequency and the τ1 and τ2 are the relaxation time of each phase S k e q and h k e q are the equilibrium value of distribution function for each phase. They need to be selected carefully to ensure that each of the components obeys the Navier’s Stokes Law:

S k e q w k ρ 1 = h k e q w k ρ 2 = [ 1 + 3 c k V c s 2 + 4.5 ( c k V ) 2 c s 4 1.5 V V c s 2 ] (2)

where ck is the discrete velocities vector, V is the bulk fluid velocity and wk is the weight factor.

c k = { ( 0 , 0 ) k = 1 c ( sin ( k 1 ) π 2 , cos ( k 1 ) π 2 ) k = 2 , 3 , 4 , 5 c ( 2 cos ( 2 k 11 ) π 4 , 2 sin ( 2 k 11 ) π 4 ) k = 6 , 7 , 8 , 9 (3)

w k = { 4 9 k = 1 4 36 k = 2 , 3 , 4 , 5 1 9 k = 6 , 7 , 8 , 9

w k = { 1 2 k = 1 1 2 k = 2

The momentum statistical technique assigns the directional velocities to the particles, in D2Q9 model, the particle at the origin is at rest and the remaining particles move in different directions with different speed [11]. Each velocity vector is a lattice per unit step. These velocities are very convenient in that all x and y-components are either 0 or ±1. Mass of particle is taken as unity uniformly throughout the flow domain. The macroscopic fluid density is governed by conservation of mass for each phase (Table 1)

ρ = k = 1 Q S k (4)

Table 1. Investigated Cases: diffusion heat energy equations and momentum equations (Navier Stokes equation).

θ = k = 1 Q h k (10)

Solving of Naiver stokes equation is one of challenging problem in fluid behavior applications. The different methodologies have been developed. The stability and the accuracy of these methodologies are the most researchers concern [12]. The geometry of a problem and the type of the interaction fluid need different simulation tools [13]. In this part of study, the diffusion heat transfer equation as well as the momentum equation for a single-phase fluid flow has been solved using statistical and quantum approach. The stability and accuracy have been investigated for various number of nodes/lattices. Table 1 shows the three study cases which are selected for comparison purposes between statistical approach and quantum approach.

Study Cases (For Comparsion Purposes)

Explicit Method of Case (3):

The combining of vorticity formulation and stream function formulation with Equation (8) lead to:

u = ψ y , v = ψ x , φ = v y u x (11)

φ t + ψ y φ x ψ x φ y = 1 R e L ( 2 φ x 2 + 2 φ y 2 ) (12)

( 2 ψ x 2 + 2 ψ y 2 ) = φ (13)

Using central difference scheme in order to linearize the Equation (12) leads to:

ψ t + 1 ( i , j + 1 ) 2 ψ t + 1 ( i , j ) + ψ t + 1 ( i , j 1 ) = Δ y 2 ψ t ( i , j ) Δ y 2 Δ x 2 [ ψ t + 1 2 ( i + 1 , j ) 2 ψ t + 1 2 ( i , j ) + ψ t + 1 2 ( i 1 , j ) ] (14)

Now, the Equation (1) can be expnaded for two-dimentional lattices as:

S k ( x + Δ x , t + Δ t ) = ( 1 ω ) S k ( x , t ) + ω S k e q ( x , t ) (15)

where:

S e q ( x , t ) = U t ( i + 1 , j ) 2 U t ( i , j ) + U t ( i 1 , j ) Δ X 2 and ω = 2 Δ t Δ X 2 α S e q ( y , t ) = U t ( i , j + 1 ) 2 U t ( i , j ) + U t ( i , j 1 ) Δ Y 2 and ω = 2 Δ t Δ Y 2 α (16)

3. Results and Discussions

Figure 1(a) illustrates the solution of one-dimensional energy equation using statistical and quantum approach with absent of heat source. Statistical approach can be derived from the extension of quantum approach, FDM, as shown in Equation (1). This technique can be applied for more distribution functions to get more accurate results and more numerical stability. Therefore, the extension study will apply two-dimensional and three-dimensional lattices arrangement. The statistical approach is a conditional numerical technique, which has been employed in a few years ago. Figure 1(b) shows the case (2) with heat source applied to the energy equation, as shown in Equation (5). The results show strong agreement between the classical and statistical numerical method either in heat diffusion equations (case (1 & 2)) or in the momentum Navier Stokes equations as shown in Figures 2(a)-(d). The normalized temperature profiles of the fluid flow in a heated duct with a single strainer are plotted for both numerical techniques which show strong agreement.

(a) (b)

Figure 1. (a) A Stability study of case (1) for various Number of Nodes/Lattices and (b) A Study of case (2) for various time step using Statistical Approach (LBM) & Quantum Approach (FDM).

(a) (b) (c) (d)

Figure 2. The normalized temperature profile plotted for Re = 100 using statistical technique (a) for single strainer, (b) for a double strainers and quantum technique (FDM) for (c) for a single strainer, (d) for double strainers.

4. Conclusion

The three investigated cases have shown identical results; therefore, the statistical approach will become the most popular and powerful numerical technique in the coming years. The stability and the accuracy have been employed either using statistical approach or using Euler’s method (quantum approach). The numerical limitations of using statistical method have been obtained and compared with those obtained by Euler’s finite difference method. All the results are exactly the same. Consequently, the statistical approach is able to solve linear and nonlinear ODEs and PDE’s with more stable and accurate results. Consequently, statistical approach is a powerful and promising numerical technique for scientists who are struggling for solving nonlinear ODEs or PDEs.

Declarations

Ethics approval and consent to participate.

Consent for Publication

Not applicable.

Availability of Data and Materials

Availability of data and materials data sharing requested from the correspondence author of this article.

Funding

This study had been funded by the Deanship of Scientific Research at TaibahU under the Research Grant No. 60300.

Author Contributions

The author developed two numerical codes for statistical and quantum numerical approach, and selected three cases for comparison purposes.

Acknowledgements

The author would like to thank Taibah University, KSA for its financial support under the Research Grant No. 60300.

List of Abbreviations

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] He, X.Y. and Luo, L.-S. (1997) Theory of the Lattice Boltzmann Method: From the Boltzmann Equation to the Lattice Boltzmann Equation. Physical Review E, 56, 6811-6817. https://doi.org/10.1103/PhysRevE.56.6811
[2] Succi, S. (2001) The Lattice Boltzmann Equation for Fluid Dynamics and Beyond. Oxford University Press Inc., NY.
[3] Niu, X.D., Shu, C. and Chew, Y.T. (2006) A Thermal Lattice Boltzmann Model with Diffuse Scattering Boundary Condition for Micro Thermal Flows. Computers & Fluids, 36, 273-281. https://doi.org/10.1016/j.compfluid.2005.11.007
[4] Begum, R. and Basit, M.A. (2008) Lattice Boltzmann Method and Its Applications to Fluid Flow Problems. EuroJournals Publishing, Inc.
[5] Almalowi, S.J. and Oztekin, A. (2012) Flow Simulations Using Two Dimensional Thermal Lattice Boltzmann Method. Journal of Applied Mathematics, 2012, Article ID: 135173. https://doi.org/10.1155/2012/135173
[6] Almalowi, S.J. (2012) Lattice Boltzmann Applied to Fluid Flow and Heated Lid-Driven Using 2D Square Lattice Boltzmann. Lehigh University, Bethlehem, PA.
[7] Chen, S.Y. and Martínez, D. (1996) On Boundary Conditions in Lattice Boltzmann Methods. American Institute of Physics, College Park, Maryland.
[8] Xuan, Y.M., Li, Q. and Yao, Z.P. (2004) Application of Lattice Boltzmann Scheme to Nanofluids. Science in China Series E Technological Sciences, 47, 129-140.
https://doi.org/10.1360/03ye0163
[9] Leclaire, S., Reggio, M. and Trépanier, J.-Y. (2012) Numerical Evaluation of Two Recoloring Operators for an Immiscible Two-Phase Flow Lattice Boltzmman Model. Applied Mathematical Modelling, 36, 2237-2252.
https://doi.org/10.1016/j.apm.2011.08.027
[10] McNamara, G. and Zaneti, G. (1988) Use of the Boltzmann Equation to Simulate Lattice-Gas Automata. Physical Review Letters, 61, 2332.
https://doi.org/10.1103/PhysRevLett.61.2332
[11] Huang, H.B., Li, Z.T. Liu, S.S. and Lu, X.-Y. (2008) Shan-and-Chen-Type Multiphase Lattice Boltzmann Study of Viscous Coupling Effects for Two-Phase Flow in Porous Media. International Journal for Numerical Methods in Fluid, 61, 341-354.
https://doi.org/10.1002/fld.1972
[12] Bhopalama, S.R., et al. (2021) Computational Appraisal of Fluid Flow Behavior in Two-Sided Oscillating Lid-Driven Cavities. International Journal of Mechanical Sciences, 196, 106303. https://doi.org/10.1016/j.ijmecsci.2021.106303
[13] Kamel, A.G., Haraz, E.H. and Hanna, S.N. (2020) Numerical Simulation of Three-Sided Lid-Driven Square Cavity. Engineering Reports, 2, e12151.
https://doi.org/10.1002/eng2.12151

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.