원시데이터 수집 시스템
선정목록으로

GPU‐Accelerated Lattice Boltzmann Simulations of Power‐Law Non‐Newtonian Fluid Flow in a Diagonally Driven Cavity Using D3Q27 MRT‐LBM

간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (21) 에폭시수지(19) 석유수지

기본 정보

저자
  1. Md. Mamun Molla — Associate Fellow at Bangladesh Academy of Science (BAS) Dhaka Bangladesh|||Department of Mathematics & Physics North South University Dhaka Bangladesh
  2. Amzad Hossain — Center for Applied and Computational Sciences (CACS) North South University Dhaka Bangladesh|||Department of Mathematics & Physics North South University Dhaka Bangladesh
  3. Md. Mahadul Islam — Center for Applied and Computational Sciences (CACS) North South University Dhaka Bangladesh|||Department of Mathematics & Physics North South University Dhaka Bangladesh
DOI
10.1002/eng2.70047
저널
Engineering Reports
발행년도
2025
발행기관
Wiley
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1002/eng2.70047
토픽
Heat and Mass Transfer in Porous Media
OpenAlex ID
W4408310767

평가 내용

관련도
간접 관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
(21) 에폭시수지, (19) 석유수지
R&D 측면
분석·모델링
확신도
0.70
근거 용어
non-Newtonian fluid, polymer processing, shear-thinning, shear-thickening, Lattice Boltzmann method
판단 근거
이 논문은 비뉴턴 유체(Non-Newtonian fluid)의 유동 특성을 시뮬레이션하는 수치 해석 모델을 다루고 있으며, 이는 고분자 가공(polymer processing) 및 수지(resin)의 유동 제어 연구에 응용될 수 있습니다.
R&D 활용 포인트
고분자 컴파운딩(23)이나 에폭시/페놀 수지(21)의 용융/가공 공정에서 유체의 전단 박화(shear-thinning) 및 전단 농후(shear-thickening) 거동을 예측하고 공정 최적화 모델을 구축하는 데 활용 가능합니다.
평가 입력
본문 91,012자 중 30,032자 발췌

초록

ABSTRACT The study examines the flow dynamics of power‐law non‐Newtonian fluids in a cubic cavity with a top lid‐driven diagonally‐driven diagonally using the D3Q27 multiple‐relaxation‐time (MRT) lattice Boltzmann method (LBM). This situation frequently occurs in both natural and industrial processes. Utilizing CUDA C++ programming on a graphics processing unit (GPU) speeds up the simulations, enabling effective investigation of intricate fluid dynamics. Non‐Newtonian behaviors, such as shear‐thinning and shear‐thickening properties, are frequently found in many real‐world fluid systems and are captured by the power‐law rheology model. LBM provides a mesoscopic method that makes handling intricate geometries easier and scales effectively on GPUs and other parallel computing architectures. The simulations investigate how Reynolds numbers () and power‐law indices () affect non‐Newtonian fluid flow characteristics like streamlines, velocity profiles, viscosity distributions, iso‐surfaces, and helicity (twistiness). GPU acceleration makes faster simulations and parametric research possible, improving computational efficiency. These findings provide information for non‐Newtonian fluid engineering applications in the food industry, biomedical engineering, and polymer processing. Because of their decreased viscosity, shear‐thinning fluids have higher helicity than shear‐thickening fluids. The numerical results of the study offer applicable standards for evaluating 3D codes for fluids with non‐Newtonian power laws. The uniqueness is that a D3Q27 multiple‐relaxation‐time lattice Boltzmann method (MRT‐LBM) framework with GPU acceleration can be used to model an underexplored situation, revealing fluid dynamics and rheological features with unprecedented detail and computing efficiency. We also examine how the power‐law index influences vortex generation, helicity, and flow stability in a diagonally driven cavity. Additionally, a comparison of the D3Q19 and D3Q27 MRT‐LBM models is provided, emphasizing how they handle complex fluid behaviors differently.

본문 91,012자

본문 펼치기
_Engineering Reports_ RESEARCH ARTICLE [OPEN ACCESS](https://doi.org/10.1002/eng2.70047) # GPU-Accelerated Lattice Boltzmann Simulations of Power-Law Non-Newtonian Fluid Flow in a Diagonally Driven Cavity Using D3Q27 MRT-LBM Md. Mamun Molla <sup>1,2</sup> | Amzad Hossain <sup>1,3</sup> | Md. Mahadul Islam <sup>1,3</sup> 1Department of Mathematics & Physics, North South University, Dhaka, Bangladesh | 2Associate Fellow at Bangladesh Academy of Science (BAS), Dhaka, Bangladesh | <sup>3</sup> Center for Applied and Computational Sciences (CACS), North South University, Dhaka, Bangladesh Correspondence: Md. Mamun Molla (mamun.molla@northsouth.edu) Received: 12 December 2024 | Revised: 29 January 2025 | Accepted: 18 February 2025 Funding: This study was supported by North South University, Bangladesh (Grant No.: CTRG-24-SEPS-05) and the Ministry of Science and Technology (MOST), Government of Bangladesh (Appl. No.: 1717932033 for 2024-2025 fiscal year). Keywords: D3Q27 MRT-LBM | diagonally lid-driven cubic cavity | GPU computing | helicity | power-law non-Newtonian fluid ABSTRACT The study examines the flow dynamics of power-law non-Newtonian fluids in a cubic cavity with a top lid-driven diagonally-driven diagonally using the D3Q27 multiple-relaxation-time (MRT) lattice Boltzmann method (LBM). This situation frequently occurs in both natural and industrial processes. Utilizing CUDA C++ programming on a graphics processing unit (GPU) speeds up the simulations, enabling effective investigation of intricate fluid dynamics. Non-Newtonian behaviors, such as shear-thinning and shear-thickening properties, are frequently found in many real-world fluid systems and are captured by the power-law rheology model. LBM provides a mesoscopic method that makes handling intricate geometries easier and scales effectively on GPUs and other parallel computing architectures. The simulations investigate how Reynolds numbers ( _??_ = 100 _,_ 200 _,_ 400 _,_ 500 _,_ 600 _,_ 800 _,_ 1000 _,_ 1200) and power-law indices ( _?_ = 0 _._ 8 _,_ 1 _,_ 1 _._ 4) affect non-Newtonian fluid flow character ~~istics~~ ~~like~~ ~~streamlines,~~ ~~velocity~~ ~~profiles,~~ ~~viscosity~~ ~~distributions,~~ ~~iso-surfaces,~~ ~~and~~ ~~helicity~~ ~~(twistiness).~~ ~~GPU~~ ~~acceleration~~ ~~makes~~ faster simulations and parametric research possible, improving computational efficiency. These findings provide information for non-Newtonian fluid engineering applications in the food industry, biomedical engineering, and polymer processing. Because of their decreased viscosity, shear-thinning fluids have higher helicity than shear-thickening fluids. The numerical results of the study offer applicable standards for evaluating 3D codes for fluids with non-Newtonian power laws. The uniqueness is that a D3Q27 multiple-relaxation-time lattice Boltzmann method (MRT-LBM) framework with GPU acceleration can be used to model an underexplored situation, revealing fluid dynamics and rheological features with unprecedented detail and computing efficiency. We also examine how the power-law index influences vortex generation, helicity, and flow stability in a diagonally driven cavity. Additionally, a comparison of the D3Q19 and D3Q27 MRT-LBM models is provided, emphasizing how they handle complex fluid behaviors differently. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- [This is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is properly](http://creativecommons.org/licenses/by/4.0/) cited. © 2025 The Author(s). _Engineering Reports_ published by John Wiley & Sons Ltd. 1 | Introduction Investigating non-Newtonian fluid fluxes in constrained geometries is crucial for biomedical engineering, food production, and polymer processing. Complex rheological behaviors, including shear-thinning and shear-thickening, are observed in non-Newtonian fluids. Intensive modeling of these unique characteristics is necessary to depict flow dynamics accurately. Lid-driven cavity flow problems have long been benchmark cases in computational fluid dynamics (CFD) due to their simple geometries and capacity to reveal intricate flow characteristics, such as vortices, recirculation zones, and secondary flow patterns. Newtonian or two-dimensional (2D) models of non-Newtonian fluids have been implemented in most research. Non-Newtonian fluids frequently exhibit three-dimensional (3D) fluxes in intricate configurations in real life. The movement of the diagonal lid in a cubic chamber complicates the flow by introducing shear interactions and 3D phenomena that have not been completely investigated. Lattice Boltzmann methods (LBMs) have garnered much interest because of their computational efficiency and versatility in simulating complex fluid dynamics phenomena. In various flow scenarios, the D3Q27 multiple-relaxation-time (MRT) LBM has proven to be an effective tool for simulating non-Newtonian fluid behavior. The D3Q27 multiple-relaxation-time lattice Boltzmann method (MRT-LBM) was developed based on research by Guo et al. [1] and Lallemand and Luo [2], which showed that it could effectively capture fluid dynamics while resolving numerical instabilities related to the single-relaxation-time (SRT) model. This approach has been widely used to simulate Newtonian fluid flows, and it has recently been shown to work with non-Newtonian fluids as well. Chen and Shu’s research [3] demonstrated how well simplified LBM can simulate power-law non-Newtonian fluids, which behave in shear-thinning or shear-thickening ways. With their emphasis on straightforward geometries and boundary conditions (BCs), these investigations shed light on non-Newtonian fluids’ rheological and flow characteristics. The studies by Kuznic et al. [4] demonstrated the significant acceleration achieved by graphics processing unit (GPU) computing in LBMs, paving the way for large-scale simulations and parametric studies. Numerous scholars have conducted substantial analyses on 3D lid-driven cavity flows over time, using the LBM. For instance, in 2002, d’Humieres et al. [5] conducted 3D simulations of lid-driven cavity flow using D3Q15 and D3Q19 models at Reynolds numbers of 500 and 2000. Tang et al. [6] devised a LBM using D3Q19 on non-uniform meshes along with curvilinear coordinates to explore 3D vortex flows within a lid-driven cavity numerically. Their simulations accurately forecasted the flow patterns, aligning well with established literature. Hedayat et al. [7] delved into lid-driven cavity flows of strain-hardening fluids and their LBM-based simulation. They observed that heightened strain-hardening behavior in the fluid is anticipated to reduce the size of corner vortices. Toghaniyan et al. [8] investigated spinodal decomposition phenomena and the LBM to simulate two-phase thermal flows. They concluded that as the droplets fell on the heated wall, the rising and falling trends of the isothermal lines within the drop decreased as the Rayleigh number increased, bringing them to equilibrium. The 3D central moment LBM, augmented with forcing terms, underwent scrutiny by Premnath and Banerjee [9]. Their investigation revealed that, under diffusive scaling, the method maintained second-order grid convergence. Using MRT-LBM, Samanta et al. [10] scrutinized transport phenomena in differentially heated lid-driven cavities. They noted an increase in the average value of _??_ concerning _??_ and _??_ at a constant _??_ . Zhuo et al. [11], using the MRT-LB method, investigated numerically the bifurcation of cavity flow driven by four lids, deeming the solution stable based on _?_ quickly diminishing below 10 <sup>−14</sup> with modest variations around this threshold. Dong et al. [12] simulated viscous flow in a 3D lid-driven cavity under various inflow angles utilizing D3Q19 LBM with on-site BCs. Their study concluded that both Reynolds number and inflow angle influence the flow pattern within a lid-driven cavity. Perumal [13] utilized the LBM to simulate laminar flow within a 3D two-sided lid-driven cubical cavity, revealing that, for 3D parallel wall motion, a pair of counter-rotating secondary vortices emerges alongside two primary vortices. To simulate NEPCM melting in an inclined elliptical annulus, Jourabian et al. [14] used the enthalpy-based LBM. They discovered that injecting nanoparticles is the most efficient way to increase the liquid percentage in the oblate annulus since this improves conduction heat transfer. Thohura et al. and Hossain and Molla [15, 16] explored the mixed convection flow of power-law fluids within a lid-driven cavity. They observed that maximum heat transfer occurs with dilatant fluids and noted the sensitivity of the heat transfer rate to the power-law index. In a separate investigation, Thohura et al. [17] conducted numerical simulations of non-Newtonian power-law fluid flow in a lid-driven skewed cavity. They observed that for cases where _?_ = 1 and _?_ = 1 _._ 5, the primary vortex center shifts toward the upper right corner with increasing _??_ . Sikdar et al. [18] studied the lid-driven cavity with power-law fluids for various lengths of top lid movement. They found that increasing _??_ beyond a critical value switches the flow regime from one primary vortex to two primary vortices, with this vital value dependent on the values of _?_ and _??_ . Mendu and Das [19] analyzed power-law fluid flow in a cavity driven by two facing lids’ motion using LBM, observing that as _?_ increases, the effect of lid motion extends beyond the lid. However, the power-law index does not affect the velocity at the cavity core. The study by Akbar et al. [20] examined the improvement of heat transmission and thermal storage using hybrid Jeffrey nanofluid flow in ducts under peristaltic motion with entropy creation. They discover that when a hybrid nanofluid is present, the flow rate and Brinkmann number both help to increase entropy creation. Gangawane et al. [21] numerically simulated mixed convection in heated semi-circular lid-driven cavities for non-Newtonian power-law fluids, concluding that the average Nusselt number decreases with increasing _??_ in all cases. Mahmood et al. [22] conducted a CFD analysis of nonlinear power-law material characterization in a channel-driven cavity with a square cylinder, finding that as the power-law index increases, the velocity profile becomes more distinct, as evidenced by cut lines in different configurations. Tizakast et al. [23] investigated the effect of Lewis number on mixed double-diffusive convection in shallow rectangular cavities with double-lid-driven boundaries filled with non-Newtonian power-law fluids, predicting that fluid flow, heat, and mass transfer characteristics remain insensitive to increases in aspect ratio. Shear thinning nanofluid was thermally synthe sized in a tiny flexible vessel-type channel with low seepage Reynold number and _??_ nanoparticles by Akbar et al. [24]. The heat transfer and the mass transfer rate showed the opposite pattern as the Reynold number of seepage, _??_, increased. Bisht and Patil [25] conducted simulations of non-Newtonian laminar fluid flow, focusing on 2D power-law modeled non-Newtonian fluid flow in driven cavities with undulated bottom walls using MRT-LBM. They observed that the flow structure became increasingly complex with higher Reynolds numbers at steady-state in the case of shear-thinning fluids. Several notable investigations have explored the behavior of 3D non-Newtonian power-law fluids in lid-driven cavities. Jin et al. [26] analyzed the 3D flow of power-law fluids in a cubic cavity driven by shear from the top wall, implementing their study on GPU. Their simulations revealed steady flows and exhibited non-Newtonian behavior in velocity profiles, viscosity distributions, and streamlines. The numerical study of the pseudopotential lattice Boltzmann modeling of liquid-vapor for multi-phase flows was conducted by Nemati et al. [27]. The study demonstrates that the force term inclusion approach and the inter-particle interaction force term scheme are essential for precise and reliable results. Chowdhury and Kumar [28] investigated the unsteady behavior of non-Newtonian fluid flow in a two-sided lid-driven cavity at various aspect ratios, uncovering multiple flow patterns for different Reynolds numbers and times. These patterns often involved combining two primary vortices to form a single cat’s eye vortex, followed by the generation of secondary vortices. Adam et al. [29] developed a 3D cascaded LBM on the D3Q19 lattice to simulate non-Newtonian power-law fluids. Their model demonstrated improved numerical stability compared with the SRT-LBM, suggesting promising results for complex 3D non-Newtonian fluid flows. Safdari and Kim [30] investigated the simulation of solid particle behavior in cavity flow driven by a lid, concluding that the cavity’s diameter, density, and vortex behavior strongly influenced particle trajectories. Chen et al. [31] studied convective heat transfer of power-law non-Newtonian fluids from an oscillating hot impeller to cold tank walls using LBM. They found that increasing the impeller’s aspect ratio and oscillation amplitude enhanced the heat transfer rate. Alghamdi et al. [32] used an intelligent computing approach to study the double-layered combined convective heated flow of Eyring-Powell fluid across an elevated stretched cylinder. They discovered that the concentration profile decreases with the Schmidt number and solutal stratification parameter and increases with the thermal stratification parameter. The scope of the article is to explore the behavior of power-law non-Newtonian fluids within a diagonally lid-driven cubic cavity, which has yet to be extensively investigated in the previous research. Although previous studies have focused on simpler geometries (e.g., rectangular or skewed cavities) or Newtonian fluids, our study addresses the gap in understanding how non-Newtonian fluids behave in more complex, diagonally driven flows. The novelty lies in integrating a D3Q27 MRT-LBM framework with GPU acceleration to simulate this underexplored scenario, providing insights into fluid dynamics and rheological properties at a level of detail and computational efficiency not previously possible. Additionally, the present work addresses how the power-law index affects vortex formation, helicity, and flow stability in a diagonally driven cavity. These insights advance the application of LBMs and the broader understanding of non-Newtonian fluid dynamics in complex systems. 2 | Power-Law Non-Newtonian Fluids In this numerical simulation, a 3D incompressible power-law non-Newtonian fluids have been simulated using the D3Q27 MRT-LBM. Power-law non-Newtonian fluids are complex fluids that exhibit non-linear behavior in response to applied shear stress. Power-law fluids, also known as Ostwald fluids [33], are characterized by a non-linear relationship between shear stress and shear rate, described by the power-law equation: _?_ (| _̇?_ |) = _?_ ⋅ | _̇?_ | <sup>_?_</sup> <sup>−1</sup> <sup>_̇_</sup> _?_ (1) where _?_ is the shear stress, _?_ is the shear-rate, _?_ is the consistency index, _?_ is the flow behavior index and | _̇?_ | denotes the magnitude of the shear-rate as follows: √ The non-Newtonian viscosity of the power-law fluid represents by _?_ (| _̇?_ |) = _?_ ⋅ | _̇?_ | <sup>_?_</sup> <sup>−1</sup> (3) Unlike Newtonian fluids ( _?_ = 1), whose viscosity remains constant regardless of shear rate, power-law fluids show shear-thinning or shear-thickening behavior. Shear-thinning ( _?<_ 1) means viscosity decreases as the shear rate increases. This is typically observed in fluids like ketchup, which flow more easily under stress. Shear-thickening ( _?>_ 1) means viscosity increases as the shear rate increases. This behavior is found in fluids like cornstarch and water mixture, which become more viscous when agitated. Power-law non-Newtonian fluids find applications in various fields, such as (i) Food industry: sauces, dressings, and food thickeners. (ii) Cosmetics: creams, lotions, and gels. (iii) Industrial processes: polymer melts, drilling fluids, and paints. (iv) Biomedical applications: blood flow and synovial fluid in joints. Understanding the behavior of power-law non-Newtonian fluids is crucial for designing processes and predicting flow characteristics in systems where these fluids are involved. Computational models, such as the power-law model, are often used to simulate the behavior of these fluids under different conditions. Power-law non-Newtonian fluids exhibit complex rheological behavior, making them an essential area of study in fluid dynamics and materials science. 3 | Computational Model and the Governing Navier–Stokes Equation In the context of a 3D laminar and incompressible flow involving a non-Newtonian fluid confined within a cubic cavity of height _?_, the physical representation of the geometry is depicted in | _̇?_ | = 2 _??????_ (2) ) , representing the shear-rate. Here, _???_ is defined as <sup><u>1</u></sup> 2 ( _??????_ <sup>+</sup> <sup>_<u>???</u>_</sup> _???_ _??????_ <sup>+</sup> <sup>_<u>???</u>_</sup> _???_ FIGURE 1 | Schematic model and coordinate systems. Figure 1. The flow is initiated by the sliding movement of the top wall along the diagonal of the _??_ - plane, and the conservation equations for mass and momentum govern it. In the case of non-Newtonian fluid flow, these equations can be expressed in the following dimensionless manner: _?_ u = 0 (4) FIGURE 2 | D3Q27 lattice model. [ ] _?_ | _???_ ⟩ = 0 0 0 0 0 1 −1 0 0 0 0 1 1 1 1 −1 −1 −1 −1 1 1 1 1 −1 −1 −1 −1 (9) _<u>?</u>_ <u>u</u> (5) _??_ <sup><u>1</u></sup> <sup>_?_</sup> <sup>_?_</sup> _<u>???</u>_ <u>u</u> <sup>+</sup> <sup>u</sup> <sup>_?_</sup> <sup>u</sup> <sup>= −∇</sup> <sup>_?_</sup> <sup>+</sup> _??_ <sup><u>1</u></sup> Here, ℱ = ( _?_ 0 _, ?_ 1 _, ?_ 2 _,_ _. . ., ?_ 26) represents probability distribution functions, whereas m = ( _?_ 0 _, ?_ 1 _, ?_ 2 _,_ _. . ., ?_ 26) denotes velocity moments. Similarly, m <sup>_??_</sup> = ( _?_ <sup>_??_</sup> 0 <sup>_, ???_</sup> 1 <sup>_, ???_</sup> 2 <sup>_,_</sup> <sup>_. . ., ?_</sup> 26 <sup>_??_</sup> <sup>) stands for</sup> equilibrium moments pertaining to velocity. By means of linear transformation, the relationship between velocity and moment spaces can be achieved as m = M ℱ, ℱ = M <sup>−</sup> <sup>1</sup> m, and m <sup>_??_</sup> = M ℱ <sup>_??_</sup> . Here, ℱ _?_ <sup>_??_</sup> represents the equilibrium distribution func tion as described in [35–37]. where u = ( _?, ?, ?_ ) and _??_ def= <sup>_<u>??</u>_</sup> <sup>2−</sup> <sup>_??_</sup> <sup>_?_</sup> where u = ( _?, ?, ?_ ) and _??_ = <sup>_<u>??</u>_</sup> <sup>2−</sup> <sup>_??_</sup> <sup>_?_</sup> depends on power-law _?_ index _?_, here _?_ = 0 _._ 1 is the velocity magnitude of top-lid slidin√g veloc ~~√~~ <u>ity and the sliding velocity components are (</u> _??, ??, ??_ ) = ( 2 _,_ 0 _,_ 2)∕20. in√ eloc ~~√~~ 2 _,_ 0 _,_ 2)∕20. <sup><u>(</u></sup> <sup><u>q</u></sup> <sup>_._</sup> <sup><u>u</u></sup> <sup><u>)2</u></sup> - <sup><u>3(</u></sup> <sup><u>u</u></sup> <sup>_<u>.</u>_</sup> <sup><u>u</u></sup> <sup><u>)</u></sup> 2 _?_ <sup>4</sup> 2 _?_ <sup>2</sup> 2 _?_ <sup>2</sup> ] 4 | Problem Formulation Using D3Q27 MRT-LBM In this numerical simulation, we utilize a D3Q27 MRT LBM, selected for its numerical stability. The adoption of MRT aids in alleviating discrepancies in numerical solutions stemming from the twenty-seven relaxation parameters, as elaborated by Suga et al. [34]. The expression for fluid flow within the MRT LBM operates in the moment space rather than velocity, as illustrated below: [ ℱ _?_ <sup>_??_</sup> = _???_ 1 + <sup><u>3(</u></sup> <sup><u>q</u></sup> <sup>_._</sup> <sup><u>u</u></sup> <sup><u>)</u></sup> + <sup><u>9(</u></sup> <sup><u>q</u></sup> <sup>_._</sup> <sup><u>u</u></sup> <sup><u>)2</u></sup> _?_ <sup>2</sup> 2 _?_ <sup>4</sup> (10) ℱ ( r + qi Δ _?, ?_ + Δ _?_ ) − ℱ ( r _, ?_ ) = − M <sup>−</sup> <sup>1</sup> Sf [ m ( r _, ?_ ) − m _??_ ( r _, ?_ )] (6) In Equation (10), _??_ are _?_ 0 = 278 <sup>,</sup> <sup>_?_</sup> <sup>1−6</sup> <sup>=</sup> 272 <sup>,</sup> <sup>_?_</sup> <sup>7−18</sup> <sup>=</sup> 541 <sup>and</sup> _?_ 19−26 = 2161 <sup>for the</sup> <sup>_?_</sup> <sup>3</sup> <sup>_?_</sup> <sup>27 lattice model.</sup> For the D3Q27 lattice model, M is the 27 × 27 orthogonal transformation matrix. Initially, the non-orthogonal raw moments are calculated based on the procedure of Dubois and Lallemand [38] as follows: i the density where r = ( _?, ?, ?_ ) = ( _?, ?, ?_ ). The standard settings for the lattice spacing Δ _?_ = Δ _?_ = Δ _?_, time step Δ _?_, and lattice speed _?_ = Δ _?_ ∕Δ _?_ = 1. The discrete velocities, denoted as qi = <sup>[</sup> | _???_ ⟩ _,_ | _???_ ⟩ _,_ | _???_ ⟩ <sup>]</sup>, are depicted in Figure 2 and defined as follows: _?_ 0 = _?_ = ∑26 _??_ (11) _?_ =0 ∑26 _?????_ (12) _?_ =0 ∑26 _?????_ _?_ =0 [ ] _?_ ii the momentum _?_ 1 = _??_ = _??_ = _?_ 3 = _??_ = _??_ = ∑26 _?????,̂_ _?_ 2 = _??_ = _??_ = _?_ =0 | _???_ ⟩ = [ ] _?_ 0 1 0 −1 0 0 0 1 −1 −1 1 1 0 −1 ] _?_ 0 1 0 −1 0 1 −1 −1 1 1 −1 −1 1 (7) (8) | _???_ ⟩ = 0 0 1 0 −1 0 0 1 1 −1 −1 0 1 0 −1 0 1 0 −1 1 1 −1 −1 1 1 −1 −1 iii the second order moments _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)</sup> <sup>_,̂_</sup> _?_ 5 = _??_ <sup>2</sup> <sup>−</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)</sup> _?_ 4 = _?_ 6 = _?_ 7 = ∑26 _?_ =0 ∑26 _?_ =0 ∑26 _?_ =0 _??_ ( _???_ <sup>2</sup> _????????,̂_ _?_ 8 = _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> ∑26 _?_ =0 _??_ (2 _???_ <sup>2</sup> _??_ <sup>2</sup> <sup>−</sup> <sup>_?_</sup> _??_ <sup>2</sup> ix the antisymmetric tensor ∑26 _?_ 26 = ( _?????????_ ) _??_ (19) _?_ =0 _??_ ( _???_ <sup>2</sup> _??_ <sup>2</sup> <sup>−</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)</sup> ∑26 _????????_ (13) ∑26 _?_ =0 Using the above non-orthogonal moments, one can construct the non-orthogonal 27 × 27 matrix _̂_ M, that the Gram-Schmidt procedure can normalize as follows: _??_ = _̂_ M _?_ ∑26 _????????_ _,̂_ _?_ 9 = ∑26 _?_ =0 ∑ _?_ −1 _?_ =0 M _?_ ⋅ M _?_ | M _?_ | <sup>2</sup> <sup>M</sup> <sup>_?_</sup> ( _?_ ≥ 4) (20) iv the fluxes of the energy ∑26 _??_ <sup>2</sup> <sup>)</sup> <sup>_???_</sup> _?_ 10 = _?_ 11 = _?_ 12 = 3 _??_ ( _???_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> 3 _??_ ( _???_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _?_ =0 _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> ∑26 3 _??_ ( _???_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)</sup> <sup>_???_</sup> _?_ =0 _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> ∑26 _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)</sup> <sup>_???_</sup> (14) where _̂_ Mi and Mi are the ith rows of _̂_ M and M matrices, respectively. The obtained 27 × 27 orthogonal transformation matrix M for the D3Q27 lattice model. The matrix M and its inverse are available in Suga et al. [34]. In equation (6), the collision matrix Sf is a 27 × 27 diagonal matrix whose elements are the relaxation parameters as in Suga et al. [34]. The collision matrix Sf is written as Sf = _????_ (0 _,_ 0 _,_ 0 _,_ 0 _, ?_ 4 _, ?_ 5 _, ?_ 6 _, ?_ 7 _, ?_ 8 _, ?_ 9 _, ?_ 10 _, ?_ 11 _, ?_ 12 _, ?_ 13 _?_ 14 _, ?_ 15 _, ?_ 16 _, ?_ 17 _, ?_ 18 _, ?_ 19 _, ?_ 20 _, ?_ 21 _, ?_ 22 _, ?_ 23 _, ?_ 24 _, ?_ 25 _, ?_ 26) (21) where _?_ 4 = 1 _._ 54, _?_ 5 = _?_ 6 = _?_ 7 = _?_ 8 = _?_ 9 = <sup><u>1</u></sup> ( <sup>3</sup> <sup>_?_</sup> <sup>(</sup> <sup>r</sup> <sup>_, ?_</sup> <sup>) + 0</sup> <sup>_._</sup> <sup>5),</sup> <sup>_?_</sup> <sup>10</sup> <sup>=</sup> _?_ 11 = _?_ 12 = 1 _._ 5 _, ?_ 13 = _?_ 14 = _?_ 15 = 1 _._ 83, _?_ 16 = 1 _._ 4, _?_ 17 = 1 _._ 61, _?_ 18 = _?_ 19 = _?_ 20 = _?_ 21 = _?_ 22 = 1 _._ 4 and _?_ 23 = _?_ 24 = _?_ 25 = _?_ 26 = 1 _._ 74. Here _?_ ( r _, ?_ ) is the kinematic viscosity of the power-law non-Newtonian fluid which will be calculated locally later on. The determination of non-Newtonian fluid viscosity _?_ ( r _, ?_ ), governed by the shear rate, is locally computed at every node according to Equation (22), following the methodology detailed in [19]. _?_ =0 v the square of the energy ∑26 _?_ =0 ∑26 _?_ =0 ∑26 _?_ =0 ∑26 _?_ =0 _??_ <sup>2</sup> <sup>)2</sup> <sup>_?????_</sup> _?_ 13 = _?_ 14 = _?_ 15 = _?_ 16 = 3( _???_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> <u>3</u> 2 <sup>(</sup> <sup>_?_</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)2</sup> <sup>_??_</sup> (15) 3( _???_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)2</sup> <sup>_?????_</sup> 3( _???_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)2</sup> <sup>_???_</sup> <sup>_??_</sup> vi the cube of the energy ) (22) _?????????_ ( _??_ - ℱ _???_ ( _??_ - ℱ _???_ Chai et al. [39, 40] used another relation for the MRT-LBM to calculate the shear-rate for the non-Newtonian fluids as follows: ∑26 <u>3</u> _???_ = − 2 _??_ <sup>2</sup> _?_ ( r _, ?_ ) _?_ =0 _?_ 17 = ∑26 _?_ =0 <u>9</u> 2 <sup>(</sup> <sup>_?_</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)3</sup> <sup>_??_</sup> (16) vii the product of the second-order tensor and the energy ) ∑8 ( M <sup>−</sup> <sup>1</sup> SM _?_ =0 ) ( _??_ _??_ - ℱ _?_ <sup>(</sup> <sup>_??_</sup> <sup>)</sup> ∑8 _??????_ _?_ =0 ∑26 _?_ 18 = 3 ( _?_ =0 (2 _???_ <sup>2</sup> _???_ <sup>2</sup> <sup>−</sup> <sup>_?_</sup> _??_ <sup>2</sup> <sup>_?_</sup> _??_ <sup>2</sup> <sup>−</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)(</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)2</sup> <sup>_??,̂_</sup> <u>3</u> _???_ = − 2 _??_ <sup>2</sup> (23) ∑26 _?_ 19 = 3 _?_ =0 ( _???_ <sup>2</sup> _???_ <sup>2</sup> <sup>−</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)(</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)2</sup> <sup>_??,̂_</sup> ∑26 _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)2</sup> <sup>_??,̂_</sup> Here _??_ <sup>(</sup> <sup>_??_</sup> <sup>)</sup> is calculated from the equation (10). The above two relations have been used in the studies [41, 42] for the D2Q9 and D3Q19 MRT-LBM models. For the D3Q27 MRT-LBM, Zhang et al. [43] proposed new relations for the shear-rate calculations as follows: _?_ 20 = 3 ( _??????_ )( _???_ <sup>2</sup> _?_ =0 ( ) _?_ 4 _?_ <sup>(</sup> 4 <sup>1)</sup> <sup>+</sup> <sup>_?_</sup> <sup>5</sup> <sup>_?_</sup> 5 <sup>(1)</sup> ∑26 _?_ 21 = 3 ( _?_ =0 ∑26 _?_ 22 = 3 ( ( _??????_ )( _???_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)2</sup> <sup>_??,̂_</sup> _???_ = − <sup><u>1</u></sup> 2 _?_ (24) (25) (26) ∑26 _???_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> ( _??????_ )( _???_ <sup>2</sup> _??_ <sup>2</sup> <sup>+</sup> <sup>_?_</sup> _??_ <sup>2</sup> _??_ <sup>2</sup> <sup>)2</sup> <sup>_??_</sup> (17) _???_ = − <sup><u>1</u></sup> 4 _?_ _?_ =0 viii the third-order pseudo-vector _???_ = − <sup><u>1</u></sup> 4 _?_ [ ] 2 _?_ 4 _?_ <sup>(</sup> 4 <sup>1)</sup> <sup>−</sup> <sup>_?_</sup> <sup>5(</sup> <sup>_?_</sup> <sup>(</sup> 5 <sup>1)</sup> <sup>−</sup> <sup>3</sup> <sup>_?_</sup> <sup>(</sup> 6 <sup>1)</sup> [ ] 2 _?_ 4 _?_ 4 <sup>(1)</sup> <sup>−</sup> <sup>_?_</sup> <sup>5(</sup> <sup>_?_</sup> <sup>(</sup> 5 <sup>1)</sup> <sup>+ 3</sup> <sup>_?_</sup> 6 <sup>(1)</sup> ∑26 _?_ =0 ∑26 _?_ =0 _??_ <sup>2</sup> <sup>)</sup> <sup>_?????,̂_</sup> _?_ 24 = ∑26 _?_ =0 _??_ <sup>2</sup> <sup>)</sup> <sup>_?????_</sup> _?_ 23 = _?_ 25 = ( _???_ <sup>2</sup> _???_ <sup>2</sup> <sup>−</sup> <sup>_?_</sup> _??_ <sup>2</sup> _???_ <sup>2</sup> <sup>−</sup> <sup>_?_</sup> _??_ <sup>2</sup> ( _???_ <sup>2</sup> _??_ <sup>2</sup> <sup>−</sup> <sup>_?_</sup> _??_ <sup>2</sup> _???,??,??_ = − <sup><u>3</u></sup> <sup>_?_</sup> <sup><u>7</u></sup> 7 _,_ 8 _,_ 9 (27) 2 _?_ <sup>_?_</sup> <sup>(1)</sup> ( _???_ <sup>2</sup> _??_ <sup>2</sup> <sup>)</sup> <sup>_???_</sup> <sup>_??_</sup> (18) In the present D3Q27 MRT-LBM, following Zhang et al. [43], the relations (24–27) are used in the formula (3) for calculating the non-Newtonian viscosity. 4.1 | Mesoscopic BCs BCs play a crucial role in maintaining the stability and precision of numerical solutions. Within the framework of LBM modeling, careful consideration is necessary to manage discrete distribution functions at boundaries to represent the macroscopic BCs of the fluid faithfully. In this investigation, the bounce-back condition is implemented at the wall. While in macroscopic computational fluid dynamics, the no-slip BC is utilized at walls, in LBM, a mesoscopic bounce-back BC is adopted at the walls. The bounce-back condition stipulates that when a particle from a specific fluid’s discrete distribution function reaches a boundary node, it rebounds into the fluid along its incoming direction. In a 3D domain, bounce-back conditions are applied at six surfaces: east, west, north, south, top, and bottom, as given below for the east surface. East surface: _?_ 3 = _?_ 1 _, ?_ 9 = _?_ 7 _, ?_ 8 = _?_ 10 _, ?_ 17 = _?_ 11 _, ?_ 13 = _?_ 15 _?_ 20 = _?_ 26 _, ?_ 24 = _?_ 22 _, ?_ 25 = _?_ 19 _, ?_ 21 = _?_ 23 (28) Similarly, the bounce-back conditions are used for the west, north, south and bottom faces. Top lid moving diagonally with √ ~~√~~ the velocity ( _??, ??, ??_ ) = ( 2 _,_ 0 _,_ 2)∕20: a designated function, the _kernel_, facilitated by streaming multi processors. During the execution of the kernel function, _?_ distinct kernels operate concurrently in _?_ distinct grids. Individual threads are identified using the reserved _threadIdx_ variable, whereas thread blocks are accessed through the _blockIdx_ variable. The size of the block and grid is determined across one, two, or three dimensions using the variables _?????????_ and _????????_ respectively [4]. In the present simulation, a performance evaluation was conducted comparing the GPU-based CUDA C++ implementation for MRT-LBM with CPU-based sequential code, revealing an eighty-fold acceleration compared with CPU-based computations. The CPU configuration consists of an Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz with 128 GB RAM, whereas the GPU utilized is a Quadro RTX 6000 with 4608 CUDA cores and 24 GB RAM. 4.3 | Criteria for Convergence The iterative process in the current MRT-LBM stops when the velocity fields meet the specified convergence criteria. fa √ <u>ces.</u> T ~~√~~ 2 _,_ 0 _,_ 2)∕20: _<_ 10 <sup>−9</sup> (30) _?_ 4 = _?_ 2 _?_ 9 = _?_ 7 − <sup>_??_</sup> 9 _?_ 10 = _?_ 8 + <sup>_??_</sup> 9 _?_ 18 = _?_ 12 − <sup>_??_</sup> 9 _?_ 14 = _?_ 16 + <sup>_??_</sup> 9 _?_ 21 = _?_ 23 − 6 <sup>_??_</sup> <sup>−</sup> <sup>_??_</sup> 216 _?_ 19 = _?_ 25 − 6 <sup>_??_</sup> <sup>+</sup> <sup>_??_</sup> 216 _?_ 23 = _?_ 21 − 6 <sup>−</sup> <sup>_??_</sup> <sup>+</sup> <sup>_??_</sup> 216 _?_ 20 = _?_ 26 − 6 <sup>−</sup> <sup>_??_</sup> <sup>−</sup> <sup>_??_</sup> (29) 216 4.2 | CUDA C++ Programming and Performance The present investigation unveiled that GPU-based LBM simulations outperform CPU-based approaches, as extensively detailed by Molla et al. [44]. Molla et al. thoroughly explained the Compute Unified Device Architecture (CUDA) C/C++ implementation of the MRT-LBM code. CUDA serves as the computational model for executing computational programs on GPUs, capitalizing on the inherent advantages of GPU architecture by managing thread and memory hierarchies within the GPU. This programming model executes computational programs based on the single instruction multiple thread (SIMT) principle. SIMT entails the parallel execution of multiple threads through d’Humieres et al. [5] initially investigated a diagonally lid-driven cubic cavity for Newtonian fluid at a Reynolds number of _??_ = 2000. Their study used a D3Q15 MRT-LBM with a lattice size of √64 <sup>3</sup>, util ~~√~~ <u>izing</u> lid-driven velocity components of ( _??, ??, ??_ ) = −( 2 _,_ 0 _,_ 2)∕20. A comparison between the present MRT-LBM results and the streamlines and velocity vector data from d’Humieres et al. [5] is depicted in Figure 4. This comparison indicates that the current D3Q27 MRT-LBM code is well-suited for simulating lid-driven cubic cavity flow diagonally with Newtonian fluid. ∑|Φ _?_ +1 −Φ _?_ | ~~∑~~ |Φ _?_ +1| Here, _?_ denotes the iteration index, Φ represents the velocity field u, and the summation is conducted across the entire domain. 5 | Grid-Independent Test and Code Validation To conduct a numerical simulation effectively, executing a grid sensitivity test and validating the code against benchmark solutions is imperative. In this simulation, we tested three different lattice sizes (192 <sup>3</sup> _,_ 224 <sup>3</sup> _,_ 256 <sup>3</sup> ), ultimately opting for the 256 <sup>3</sup> lattice dimensions for the entire simulation. For example, Figure 3a,b shows the results in terms of the vertical _?_ -velocity distribution for three different grid sizes and the power index. The following subsections detail the various code validation tests conducted. 5.1 | Validation of the Code Using a Cubic Cavity With a Diagonally Driven Top Lid √6 <sup>3</sup>, util ~~√~~ 2 _,_ 0 _,_ (a) <mark>0.3</mark> <mark>0.2</mark> <mark>0.1</mark> 0 <mark>-0.1</mark> <mark>-0.2</mark> (b) <mark>0.3</mark> <mark>0.2</mark> <mark>0.1</mark> 0 <mark>-0.1</mark> <mark>-0.2</mark> (c) <mark>0.3</mark> <mark>0.2</mark> <mark>0.1</mark> 0 <mark>-0.1</mark> <mark>-0.2</mark> 1923 2243 2563 n = 0.8 Re =1000 1923 2243 2563 n = 1.0 Re =1000 1923 2243 2563 n = 1.4 Re =1000 <mark>-0.3</mark> 0 <mark>0.2</mark> <mark>0.4</mark> <mark>0.6</mark> <mark>0.8</mark> 1 x <mark>-0.3</mark> 0 <mark>0.2</mark> <mark>0.4</mark> <mark>0.6</mark> <mark>0.8</mark> 1 x <mark>-0.3</mark> 0 <mark>0.2</mark> <mark>0.4</mark> <mark>0.6</mark> <mark>0.8</mark> 1 x FIGURE 3 | Grid independence assessment based on the vertical _?_ -velocity distribution for three distinct grid sizes: (a) _?_ = 0 _._ 8, (b) _?_ = 1 _._ 0, and (c) _?_ = 1 _._ 4, evaluated at _?_ ∕ _?_ = 0 _._ 5 with _??_ = 1000 and _?_ ∕ _?_ = 0 _._ 5. FIGURE 4 | Comparing the current MRT-LBM results with the streamlines and velocity vectors presented by d’Humi’eres et al. [5], under conditions of _??_ = 2000, _?_ = 1, and _??_ = 0. 5.2 | Verification of Code Accuracy Through Qualitative Analysis Using a Lid-Driven Cubic Cavity With Power-Law Fluids After validating the code for Newtonian fluid, the simulated results using MRT-LBM were juxtaposed with those of Jin et al. [26] for non-Newtonian fluids. A qualitative analysis was conducted, comparing streamline patterns and viscosity distribution _?_ = _?_ 0| _?_ | <sup>(</sup> <sup>_?_</sup> <sup>−1)</sup>, where _?_ 0 = 0 _._ 0025 is used by Jin et al. [26] at _??_ = 400 and power-law index of _?_ = 0 _._ 5 and _?_ = 1 _._ 5, as depicted in Figure 5a–d. 5.3 | Quantitative Validation of the Code Using a Lid-Driven Cubic Cavity With Power-Law Fluids Figure 6a–d depict another code validation test involving a lid-driven cubic cavity with power-law non-Newtonian fluid. The horizontal velocity _?_ and vertical velocity _?_ are compared with the results obtained by Adam et al. [29] using the D3Q15 cascaded LBM, considering a Reynolds number of _??_ = 1000 for both shear-thinning fluid ( _?_ = 0 _._ 8) and shear-thickening fluid ( _?_ = 1 _._ 5). This test confirms the capability of the present MRT-LBM code to simulate power-law non-Newtonian fluid flow characteristics accurately. 5.4 | Comparison Between the D3Q19 and D3Q27 MRT-LBM A detailed comparison of the D3Q19 and D3Q27 MRT-LBM models reveals that both discretizations accurately predict velocity distributions for various power-law index at a Reynolds number _??_ = 1200, as shown in Figure 7a,b. The details of the D3Q19 MRT-LBM can be found in [41]. The comparison between the D3Q19 and D3Q27 MRT-LBM models focuses on their ability to predict velocity distributions under FIGURE 5 | Comparative analysis of the streamlines and viscosity on _??_ -plane, where (a) and (b) represent the cases with _?_ = 0 _._ 5 and _?_ = 1 _._ 5 respectively, as reported by Jin et al. [26], and (c) and (d) denote the corresponding results obtained from the current MRT-LBM approach, under conditions of _??_ = 400 and _?_ ∕ _?_ = 0 _._ 5. different conditions, specifically for various power-law indices ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4). Velocity components are evaluated at specific points within the domain. The D3Q27 model, with more discrete velocity directions, might offer slight improvements in capturing complex flow behaviors, especially at higher Reynolds numbers. However, both models are sufficiently accurate for practical purposes, demonstrating their robustness and reliability in simulating Newtonian and non-Newtonian fluid flows. The MRT-LBM is a powerful technique for simulating fluid flow in computational fluid dynamics. Among different lattice configurations, D3Q19 and D3Q27 are commonly used 3D models, where the numbers represent the discrete velocity directions in the simulation. Simulation time is critical for evaluating these models’ efficiency. A comparative analysis shows a significant difference in their computational demands, as shown in Table 1 for different grid arrangements. Specifically, the D3Q27 MRT-LBM requires more than double the simulation time compared with the D3Q19 MRT-LBM. The D3Q27 model utilizes 27 discrete velocity directions, whereas the D3Q19 model uses only 19. This increase in the number of directions leads to a corresponding increase in the distribution functions that must be computed and stored at each lattice node. In MRT-LBM, the collision operator transforms the distribution functions into moment space, performs relaxation, and then transforms them back. The complexity of these operations scales with the number of velocity directions. Consequently, the D3Q27 model involves more complex and time-consuming calculations per time step. Additionally, the D3Q27 model requires more memory to store additional distribution functions, potentially causing bottlenecks in data transfer within the computational architecture. More velocity directions mean more calculations per lattice node, leading to a higher computational load per time step and longer overall simulation times. Empirical studies and simulations confirm these theoretical expectations. For example, in a benchmark simulation involving fluid flow in a 3D cavity, it was observed that the D3Q27 n= 0.8 Adam et al (2021) Present MRT-LBM (a) (c) 1 0.8 0.6 0.4 0.2 0 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 u 1 0.3 0.2 0.1 0 -0.1 -0.2 -0.3 -0.4 n=0.8 Adam et al (2021) Present MRT-LBM (b) (d) -0.5 0 0.2 0.4 0.6 0.8 1 x 0.6 Adam et al (2021) Present MRT-LBM n=1.5 0.4 0.2 0 -0.2 -0.4 0.8 0.6 0.4 0.2 n=1.5 Adam et al (2021) Present MRT-LBM 0 -0.5 0 0.5 1 u -0.6 0 0.2 0.4 0.6 0.8 1 x FIGURE 6 | Contrasting the current results obtained from MRT-LBM for non-Newtonian fluids with the shear-thinning case ( _?_ = 0 _._ 8) using D3Q15 cascaded LBM as presented in Adam et al. [29] (a) _?_ at _?_ = 0 _._ 5 and (b) _?_ at _?_ = 0 _._ 5. Similarly, for the shear-thickening scenario ( _?_ = 1 _._ 5), the analysis includes: (c) _?_ at _?_ = 0 _._ 5 and (d) _?_ at _?_ = 0 _._ 5. These comparisons are conducted at a Reynolds number of _??_ = 1000, with _?_ = 0 _._ 5. (a) (b) n=0.8 n=1.0 n=1.4 n=0.8 n=1.0 n=1.4 Re =1200 D3Q27 MRT-LBM (Solid Line) D3Q19 MRT-LBM (Dased Line) u n=0.8 n=1.0 n=1.4 n=0.8 n=1.0 n=1.4 D3Q27 MRT-LBM (Solid Line) D3Q19 MRT-LBM (Dased Line) Re =1200 x FIGURE 7 | Comparison between the D3Q19 and D3Q27 MRT-LBM in terms of the velocity distribution for the different power-law index ( _?_ = 0 _._ 8 _,_ 1 _,_ 1 _._ 4) (a) _?_ ∕ _?_ at _?_ ∕ _?_ = 0 _._ 5 and (b) _?_ ∕ _?_ at _?_ ∕ _?_ = 0 _._ 5, whereas _??_ = 1200 and _?_ ∕ _?_ = 0 _._ 5. TABLE 1 | Simulation time for the D3Q19 and D3Q27 MRT-LBM while _??_ = 1200 and _?_ = 0 _._ 8 for the different grid with 20000 steps iteration. Lattice size & simulation time MRT-LBM 192 × 192 × 192 224 × 224 × 224 256 × 256 × 256 D3Q19 407.77 (s) 589.132 (s) 882.152 (s) D3Q27 878.045 (s) 1348.57 (s) 1841.68 (s) FIGURE 8 | Streamlines overlaid on the _?_ -velocity field for (a) a shear-thinning fluid with _?_ = 0 _._ 8 and (b) a shear-thickening fluid with _?_ = 1 _._ 4, observed at _?_ ∕ _?_ = 0 _._ 5 for _??_ = 100. MRT-LBM took more than twice the simulation time compared with the D3Q19 MRT-LBM for the same physical scenario and resolution. In summary, while the D3Q27 MRT-LBM offers potentially higher accuracy due to its finer discretization of velocity space, this comes at the cost of significantly increased simulation time. Therefore, choosing between the D3Q19 and D3Q27 models involves a trade-off between computational efficiency and accuracy, with the D3Q27 MRT-LBM requiring more than double the time compared with the D3Q19 MRT-LBM for typical simulations. 6 | Results and Discussion This study implements a power-law viscosity model within the D3Q27 LBM, successfully applied to analyze 3D laminar flows within a cubic cavity subjected to lid-driven motion along a diagonal axis. The simulation yields insightful findings regarding various flow characteristics when utilizing power-law non-Newtonian fluids. A comprehensive understanding of the intricate fluid behavior within these geometries is attained, focusing mainly on streamlines, velocity component distribution ( _?_ and _?_ ), viscosity profiles, iso-surface visualization of viscosity throughout the cavity, and the helicity or twistiness of the non-Newtonian fluids. The lid-driven motion, coupled with the non-Newtonian nature of the fluid, offers valuable insights into the impact of power-law behavior on streamlining generation and structure. These insights have direct implications for real-world applications, such as in the design of industrial processes. Additionally, the simulation offers crucial insights into the distribution of velocities _?_ and _?_, normalized by _?_ across the cavity, aiding in anticipating overall fluid behavior and identifying high and low-velocity zones. This elucidates the influence of power-law non-Newtonian behavior ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4) on these flow properties. The Reynolds number ( _??_ = 100 _,_ 200 _,_ 400 _,_ 500 _,_ 600 _,_ 800 _,_ 1000) plays a pivotal role in characterizing the flow regime within the lid-driven cavity. It is defined as the ratio of inertial to viscous forces and is a key parameter in our study. At low Reynolds numbers, viscous effects dominate due to modest inertial forces, resulting in a flow primarily governed by viscosity. Conversely, at high Reynolds numbers, inertial forces prevail, leading to more intricate and chaotic flow patterns. The varying viscosity, _?_ = _?_ 0| _?_ | <sup>(</sup> <sup>_?_</sup> <sup>−1)</sup>, where _?_ 0 = 0 _._ 01, across the different power-law index, introduces further complexity to the flow dynamics within the driven diagonal cavity, influencing shear resistance and altering flow patterns. 6.1 | Streamlines, Viscosity, and Velocity for _??_ = 100 The streamlines overlaid on the _?_ -velocity field for a shear-thinning fluid with _?_ = 0 _._ 8 and _?_ = 1 _._ 4 are shown in Figure 8 at _?_ ∕ _?_ = 0 _._ 5 and _??_ = 100. For power-law non-Newtonian fluids within a cubic cavity undergoing diagonal lid-driven motion, the streamlined behavior of the _?_ -velocity component provides valuable insights into the fluid dynamics. In the case of a shear-thinning fluid with a power-law index _?_ = 0 _._ 8, illustrated in Figure 8a, the viscosity decreases with increasing shear rates, leading to reduced flow resistance and a significant alteration in streamline patterns, particularly near the driven lid and cavity corners. This reduction in viscosity facilitates the formation of an extensive primary vortex in the upper portion of the cavity, with streamlines reflecting a smoother and less resisted flow as shear rates escalate. In contrast, Figure 8b shows the behavior of a shear-thickening fluid with _?_ = 1 _._ 4, where the viscosity increases with rising shear rates, resulting in more excellent flow resistance and distinct vortex patterns. The streamlines exhibit notable differences compared with the shear-thinning case, particularly in regions with high shear rates. Although the vortex size is slightly smaller for the shear-thickening fluid, its magnitude is more pronounced due to the higher viscosity at elevated shear rates. Further exploration of the streamline patterns is depicted in Figure 9 at _?_ ∕ _?_ = 0 _._ 5 and _??_ = 100 for _?_ = 0 _._ 8 _,_ 1 _._ 4, where both FIGURE 9 | Streamlines superimposed on the non-Newtonian viscosity field for (a) a shear-thinning fluid with _?_ = 0 _._ 8 and (b) a shear-thickening fluid with _?_ = 1 _._ 4, observed at _?_ ∕ _?_ = 0 _._ 5 for _??_ = 100. (a) 1 (b) 0.3 0.2 0.1 0 n = 0.8 n = 1.0 n = 1.4 0.8 0.6 0.4 0.2 n = 0.8 n = 1.0 n = 1.4 0 -0.4 -0.2 0 0.2 0.4 0.6 0.8 u -0.1 -0.2 -0.3 0 0.2 0.4 0.6 0.8 1 x FIGURE 10 | Velocity profiles for various power-law indices ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4), depicted as (a) _?_ at _?_ ∕ _?_ = 0 _._ 5 and (b) _?_ at _?_ ∕ _?_ = 0 _._ 5, under conditions of _??_ = 100 and _?_ ∕ _?_ = 0 _._ 5. shear-thinning and shear-thickening fluids are examined. In Figure 9a, the decreased viscosity of the shear-thinning fluid ( _?_ = 0 _._ 8) with increasing shear rates results in elongated streamlines and reduced resistance to flow, particularly near the diagonally driven lid. This smoother flow is associated with the alignment of fluid molecules, facilitating reduced viscosity and more streamlined patterns. Conversely, Figure 9b highlights the behavior of the shear-thickening fluid ( _?_ = 1 _._ 4), where the increased viscosity at higher shear rates creates more excellent flow resistance, altering the streamline distribution and overall velocity patterns within the cavity. The augmented viscosity is attributed to the molecular resistance to alignment under higher shear rates, significantly impacting the flow dynamics, especially in regions of high shear. These observations underscore the influence of rheological properties, characterized by the power-law index, on the flow behavior and streamline patterns in non-Newtonian fluids within the cavity. Figure 10 examines the velocity distribution within a diagonally driven cubic cavity, focusing on the influence of different power-law indices ( _?_ ) on the velocity profiles. These indices represent shear-thinning ( _?_ = 0 _._ 8), Newtonian ( _?_ = 1 _._ 0), and shear-thickening ( _?_ = 1 _._ 4) fluids, with a Reynolds number of 100 to balance inertial and viscous forces in the flow. In Figure 10a, the _?_ -velocity profile at _?_ ∕ _?_ = 0 _._ 5 highlights how fluid behavior changes with varying _?_ . Shear-thinning fluids ( _?_ = 0 _._ 8) exhibit lower flow resistance due to reduced viscosity at higher shear rates, whereas shear-thickening fluids ( _?_ = 1 _._ 4) show greater resistance with increased viscosity. The Newtonian fluid is a benchmark with a more conventional velocity distribution.’ Similarly, Figure 10b shows the impact of _?_ on the _?_ -velocity profile at _?_ ∕ _?_ = 0 _._ 5. The shear-thinning fluid presents a distinct velocity pattern with reduced resistance, whereas the shear-thickening fluid exhibits higher flow resistance. The Newtonian fluid again serves as a reference for comparison. The maximum _?_ -velocity occurs for _?_ = 1 _._ 4, whereas the minimum is observed for _?_ = 0 _._ 8. TABLE 2 | Tabulated _?_ velocity profiles along the _?_ coordinate of the lid-driven cavity for various values of _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4 and _??_ = 200 _,_ 400. _??_ = 200 _??_ = 400 y-coordinate _?_ = 0 _._ 8 _?_ = 1 _._ 0 _?_ = 1 _._ 4 _?_ = 0 _._ 8 _?_ = 1 _._ 0 _?_ = 1 _._ 4 0.0 −0.0074 −0.0074 −0.0059 −0.0110 −0.0122 −0.0105 0.05 −0.1000 −0.1034 −0.0885 −0.1325 −0.1569 −0.1488 0.10 0.1420 −0.1551 −0.1448 −0.1404 −0.1776 −0.2073 0.15 −0.1452 −0.1669 −0.1738 −0.1082 −0.1421 −0.1974 0.20 −0.1302 −0.1559 −0.1815 −0.0839 −0.1127 −0.1692 0.25 0.1122 −0.1384 −0.1766 −0.0694 −0.0946 −0.1447 0.30 −0.0965 −0.1218 −0.1659 −0.0608 −0.0831 −0.1264 0.35 −0.0845 −0.1081 −0.1533 −0.0558 −0.0754 −0.1126 0.40 −0.0757 −0.0973 −0.1403 −0.0527 −0.0697 −0.1013 0.45 −0.0690 −0.0884 -0.1274 −0.0503 −0.0647 −0.0912 0.50 −0.0633 −0.0802 −0.1140 −0.0478 −0.0595 −0.0811 0.55 −0.0576 −0.0717 −0.0995 −0.0444 −0.0534 −0.0702 0.60 −0.0507 −0.0617 −0.0827 −0.0396 −0.0457 −0.0576 0.65 −0.0416 −0.0491 −0.0621 −0.0326 −0.0358 −0.0427 0.70 −0.0293 −0.0324 −0.0352 -0.0233 -0.0234 −0.0248 0.75 −0.0127 −0.0130 0.0047 −0.0129 −0.0102 −0.0017 0.80 0.0104 0.0241 0.0698 0.0039 0.0123 0.0366 0.85 0.0430 0.0733 0.1583 0.0226 0.0407 0.1002 0.90 0.1315 0.1988 0.3280 0.0761 0.1270 0.2585 0.95 0.2956 0.3825 0.4966 0.2080 0.3009 0.4494 1.00 0.6776 0.6871 0.6961 0.6664 0.6799 0.6931 _Note:_ The table presents the _?_ -velocity profiles calculated at various points along the _?_ -coordinate for different values of _?_ and Reynolds number _??_ . This analysis provides insights into how power-law indices influence fluid rheology and velocity profiles in lid-driven cavity flow. For further comparison, Tables 2 and 3 detail the _?_ and _?_ velocity components at _?_ ∕ _?_ = 0 _._ 5 and _?_ ∕ _?_ = 0 _._ 5 for _??_ = 200 and _??_ = 400. Notably, the _?_ -velocity decreases by 19 _._ 7% and 82 _._ 44% at _?_ = 0 _._ 15, and increases by 571 _._ 15% and 838 _._ 46% at _?_ = 0 _._ 80, for _??_ = 200 and _??_ = 400, respectively. The _?_ -velocity decreases by 19 _._ 15% and 26 _._ 38% for _?_ = 0 _._ 8 and _?_ = 1 _._ 4 as the Reynolds number increases from 200 to 400 at _?_ = 0 _._ 25. 6.2 | Streamlines and Velocity Distribution for _??_ = 500 The rheological properties of non-Newtonian fluids significantly influence the flow dynamics, mainly how streamlines and velocity are shaped by shear-thinning and shear-thickening behaviors, as illustrated in Figure 11 while _?_ ∕ _?_ = 0 _._ 5 for _??_ = 500. For shear-thinning fluids ( _?_ = 0 _._ 8), viscosity decreases with a rising shear rate, reducing shear resistance and elongating distorted streamlines. At _?_ ∕ _?_ = 0 _._ 5 for _??_ = 500, this behavior results in streamlined flow patterns and reduced shear stresses, enhancing fluid momentum and transport (Figure 11a). The _?_ -velocity component, indicating velocity in the x-direction, is expected to increase more substantially, contributing to smoother flow. In contrast, shear-thickening fluids ( _?_ = 1 _._ 4) exhibit increasing viscosity with higher shear rates, causing more excellent resistance to shear and leading to more contracted streamlines TABLE 3 | Tabulated _?_ velocity profiles along the _?_ coordinate of the lid-driven cavity for various values of _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4 and _??_ = 200 _,_ 400. _??_ = 200 _??_ = 400 x-coordinate _?_ = 0 _._ 8 _?_ = 1 _._ 0 _?_ = 1 _._ 4 _?_ = 0 _._ 8 _?_ = 1 _._ 0 _?_ = 1 _._ 4 0.0 0.0057 0.0069 0.0082 0.0058 0.0480 0.0093 0.05 0.0765 0.0961 0.1185 0.0766 0.1008 0.1336 0.10 0.1140 0.1450 0.1856 0.1091 0.1464 0.2027 0.15 0.1277 0.1603 0.2062 0.1143 0.1504 0.2093 0.20 0.1243 0.1504 0.1902 0.1024 0.1273 0.1739 0.25 0.1088 0.1244 0.1530 0.0801 0.0919 0.1237 0.30 0.0854 0.0900 0.1061 0.0529 0.0545 0.0733 0.35 0.0576 0.0531 0.0578 0.0250 0.0197 0.0285 0.40 0.0283 0.0173 0.0133 −0.0019 −0.0111 −0.0091 0.45 0.0001 −0.0152 −0.0260 −0.0267 −0.0376 −0.0398 0.50 −0.0256 −0.0436 −0.0611 −0.0477 −0.0592 −0.0647 0.55 −0.0469 −0.0675 −0.0942 −0.0617 −0.0738 −0.0855 0.60 −0.0628 −0.0873 −0.1269 −0.0659 −0.0799 -0.1052 0.65 −0.0730 −0.1036 −0.1591 −0.0611 −0.0805 −0.1279 0.70 −0.0783 −0.1169 −0.1880 −0.0537 −0.0820 −0.1561 0.75 −0.0797 −0.1259 −0.2072 −0.0494 −0.0888 −0.1858 0.80 −0.0765 −0.1264 −0.2079 −0.0483 −0.0971 −0.2039 0.85 −0.0675 −0.1151 −0.1872 −0.0471 −0.0980 −0.1935 0.90 −0.0455 −0.0811 −0.1311 −0.0385 −0.0791 −0.1475 0.95 −0.0231 −0.0438 −0.0717 −0.0237 −0.0477 −0.0842 1.00 −0.0010 −0.0022 -0.0038 −0.0014 −0.0028 −0.0046 (Figure 11b). At _?_ ∕ _?_ = 0 _._ 5 for _??_ = 500, this heightened resistance results in more complex and intricate flow patterns characterized by localized regions with increased velocity gradients and higher shear stresses. Similarly, Figure 12 shows the streamlines overlaid on the _?_ -velocity field for _?_ = 0 _._ 8 _,_ 1 _._ 4 at _?_ ∕ _?_ = 0 _._ 5 and _??_ = 500. For the shear-thinning fluid ( _?_ = 0 _._ 8), streamlines elongate with reduced resistance, leading to smoother flow with diminished shear stresses and an increased _?_ -velocity. In contrast, the shear-thickening fluid ( _?_ = 1 _._ 4) exhibits heightened resistance to shear, resulting in more constrained and complex flow patterns with localized velocity gradients and increased stresses in the x-direction (Figure 12b). Overall, the fluid’s rheological characteristics profoundly shape the interplay between streamlines and velocity distribution, with shear-thinning fluids facilitating the smoother flow and shear-thickening fluids creating more intricate patterns. In Figure 13, the velocity profiles for different power-law indices ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4) are displayed as _?_ at _?_ ∕ _?_ = 0 _._ 5 and _?_ at _?_ ∕ _?_ = 0 _._ 5 under the conditions of _??_ = 500 and _?_ ∕ _?_ = 0 _._ 5. For the _?_ component at _?_ ∕ _?_ = 0 _._ 5 and _?_ ∕ _?_ = 0 _._ 5 with _??_ = 500 where _?_ represents velocity in the x-direction normalized by characteristic velocity _?_, the behavior changes significantly based on the power-law index. In shear-thinning fluids ( _?_ = 0 _._ 8), viscosity decreases with increasing shear rate, leading to higher velocities in the x-direction, reduced shear stresses, and enhanced momentum transfer. In contrast, shear-thickening fluids ( _?_ = FIGURE 11 | Streamlines superimposed on the non-Newtonian viscosity field for (a) a shear-thinning fluid with _?_ = 0 _._ 8 and (b) a shear-thickening fluid with _?_ = 1 _._ 4, observed at _?_ ∕ _?_ = 0 _._ 5 for _??_ = 500. FIGURE 12 | Streamlines overlaid on the _?_ -velocity field for (a) a shear-thinning fluid with _?_ = 0 _._ 8 and (b) a shear-thickening fluid with _?_ = 1 _._ 4, observed at _?_ ∕ _?_ = 0 _._ 5 for _??_ = 500. (a) 1 (b) 0.3 0.2 0.1 0 n = 0.8 n = 1.0 n = 1.4 0.8 0.6 0.4 0.2 n = 0.8 n = 1.0 n = 1.4 0 -0.4 -0.2 0 0.2 0.4 0.6 0.8 u -0.1 -0.2 -0.3 0 0.2 0.4 0.6 0.8 1 x FIGURE 13 | Velocity profiles for various power-law indices ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4) shown as (a) _?_ at _?_ ∕ _?_ = 0 _._ 5 and (b) _?_ at _?_ ∕ _?_ = 0 _._ 5, under conditions of _??_ = 500 and _?_ ∕ _?_ = 0 _._ 5. TABLE 4 | Tabulated _?_ velocity profiles along the y coordinate of the lid-driven cavity for various values of _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4 and _??_ = 600 _,_ 800. _??_ = 600 _??_ = 800 y-coordinate _?_ = 0 _._ 8 _?_ = 1 _._ 0 _?_ = 1 _._ 4 _?_ = 0 _._ 8 _?_ = 1 _._ 0 _?_ = 1 _._ 4 0.0 −0.0117 −0.0138 −0.0133 −0.0118 −0.0147 −0.0150 0.05 −0.1290 −0.1664 −0.1824 −0.1204 −0.1644 −0.2007 0.10 −0.1158 −0.1580 −0.2225 −0.1017 −0.1410 −0.2196 0.15 −0.0876 −0.1204 −0.1865 −0.0873 −0.1150 −0.1752 0.20 −0.0745 −0.1008 −0.1534 −0.0850 −0.1053 −0.1468 0.25 −0.0688 −0.0907 −0.1322 −0.0865 −0.1015 −0.1305 0.30 −0.0664 −0.0848 −0.1180 −0.0883 −0.0993 -0.1197 0.35 −0.0653 −0.0806 −0.1073 −0.0883 −0.0964 −0.1117 0.40 −0.0642 −0.0765 −0.0983 −0.0846 −0.0908 −0.1043 0.45 −0.0620 −0.0716 −0.0896 −0.0760 −0.0811 −0.0963 0.50 −0.0581 −0.0650 −0.0802 −0.0620 −0.0666 −0.0865 0.55 −0.0520 −0.0562 −0.0693 −0.0439 −0.0476 −0.0739 0.60 −0.0432 −0.0450 −0.0562 −0.0243 −0.0258 −0.0578 0.65 −0.0321 −0.0312 −0.0408 −0.0062 −0.0038 −0.0380 0.70 −0.0192 -0.0154 -0.0228 0.0087 0.0161 −0.0147 0.75 −0.0069 0.0020 −0.0015 0.0203 0.0327 0.0117 0.80 0.0095 0.0209 0.0289 0.0298 0.0464 0.0414 0.85 0.0243 0.0417 0.0784 0.0385 0.0584 0.0792 0.90 0.0609 0.1016 0.2192 0.0608 0.0949 0.1962 0.95 0.1637 0.2528 0.4169 0.1380 0.2204 0.3916 1.00 0.6582 0.6746 0.6910 0.6512 0.6702 0.6893 1 _._ 4) experience increased resistance to shear, resulting in a more constrained _?_ distribution with localized areas of elevated velocity gradients and increased shear stresses. The Newtonian case ( _?_ = 1 _._ 0) presents a more uniform and straightforward velocity profile.] Similarly, the _?_ component at _?_ ∕ _?_ = 0 _._ 5 shows how the power-law index affects velocity in the y-direction. For _?_ = 0 _._ 8, shear-thinning behavior induces higher velocities and enhanced momentum transmission. At the same time, for _?_ = 1 _._ 4, the shear-thickening nature results in a more restricted _?_ distribution, characterized by localized regions with elevated shear stresses. The Newtonian case offers a more consistent and balanced profile. Tables 4 and 5 further illustrate these effects by comparing _?_ and _?_ velocities at _?_ ∕ _?_ = 0 _._ 5 and _?_ ∕ _?_ = 0 _._ 5 for _??_ = 600 and _??_ = 800. The _?_ -velocity increases by 0 _._ 34% and 6 _._ 06% for _?_ = 0 _._ 8 and _?_ = 1 _._ 4, respectively, as the Reynolds number increases from 600 to 800 at _?_ = 0 _._ 15. For the _?_ -velocity, increases of 93 _._ 54% and 89 _._ 09% are observed as _?_ increases from 0.8 to 1.4 at _?_ = 0 _._ 15 for _??_ = 600 and _??_ = 800, respectively. However, at _?_ = 0 _._ 70, the _?_ -velocity decreases by 189 _._ 66% and 111% for _?_ = 1 _._ 4 compared with _?_ = 0 _._ 8 at the same Reynolds numbers. 6.3 | Streamlines, Viscosity, and Velocity Distribution for _??_ = 1000 Figures 14 and 15 together illustrate the behavior of streamlines and _?_ -velocities within non-Newtonian fluids under TABLE 5 | Tabulated _?_ velocity profiles along the _?_ coordinate of the lid-driven cavity for various values of _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4 and _??_ = 600 _,_ 800. _??_ = 600 _??_ = 800 x-coordinate _?_ = 0 _._ 8 _?_ = 1 _._ 0 _?_ = 1 _._ 4 _?_ = 0 _._ 8 _?_ = 1 _._ 0 _?_ = 1 _._ 4 0.0 0.0057 0.0076 0.0097 0.0060 0.0080 0.0102 0.05 0.0762 0.1040 0.1401 0.0799 0.1110 0.1470 0.10 0.1061 0.1476 0.2088 0.1101 0.1542 0.2148 0.15 0.1068 0.1445 0.2067 0.1082 0.1451 0.2046 0.20 0.0899 0.1141 0.1630 0.0872 0.1091 0.1548 0.25 0.0633 0.0742 0.1083 0.0568 0.0666 0.0970 0.30 0.0334 0.0349 0.0559 0.0254 0.0269 0.0421 0.35 0.0041 −0.0001 0.0113 −0.0036 −0.0071 −0.0039 0.40 −0.0236 -0.0299 -0.0234 -0.0309 −0.0365 −0.0370 0.45 −0.0485 −0.0545 -0.0503 -0.0574 −0.0623 −0.0604 0.50 −0.0681 −0.0734 −0.0710 −0.0801 −0.0828 −0.0781 0.55 −0.0776 −0.0831 −0.0844 −0.0911 −0.0929 −0.0866 0.60 −0.0728 −0.0805 −0.0923 −0.0841 −0.0882 −0.0861 0.65 −0.0576 −0.0705 −0.1032 −0.0657 −0.0747 −0.0872 0.70 −0.0435 −0.0639 −0.1260 −0.0491 −0.0642 −0.1036 0.75 −0.0368 −0.0679 -0.1597 −0.0406 −0.0643 −0.1371 0.80 −0.0371 −0.0799 −0.1898 −0.0399 −0.0754 −0.1740 0.85 -0.0399 −0.0878 −0.1933 −0.0435 −0.0870 −0.1888 0.90 −0.0375 −0.0785 −0.1549 -0.0424 -0.0818 -0.1580 0.95 -0.0258 −0.0453 −0.0807 -0.0275 −0.0491 −0.0846 1.00 −0.0018 −0.0032 −0.0051 −0.0022 −0.0036 −0.0054 shear-thinning and shear-thickening conditions at _??_ = 1000. In shear-thinning fluids ( _?_ = 0 _._ 8), viscosity decreases as the shear rate increases, resulting in elongated and smoother streamlines that promote more excellent fluid acceleration and momentum transfer. This leads to higher _?_ -velocity along the streamlines and reduced shear stresses, fostering a more streamlined flow pattern at _?_ ∕ _?_ = 0 _._ 5 and _?_ ∕ _?_ = 0 _._ 5. The reduction in viscosity with increasing velocity allows fluid components to move more freely, enhancing deformation and creating efficient, streamlined flow dynamics. In contrast, viscosity increases with higher shear rates for shear-thickening fluids ( _?_ = 1 _._ 4), resulting in more excellent resistance to flow and more complex, constricted streamlines. This higher viscosity restricts fluid movement, leading to less pronounced increases in _?_ -velocity and more localized areas of elevated shear stresses and velocity gradients. The flow patterns become more intricate and confined due to the fluid’s heightened resistance to shear at higher velocities, as seen at _?_ ∕ _?_ = 0 _._ 5 and _?_ ∕ _?_ = 0 _._ 5. In summary, shear-thinning fluids encourage smoother, more streamlined flow with higher _?_ -velocity along the streamlines. In contrast, shear-thickening fluids exhibit more constrained and complex flow patterns with localized shear stresses. These behaviors, driven by the rheological properties of the fluids, are critical in understanding and predicting flow dynamics in non-Newtonian fluids for practical applications. FIGURE 14 | Streamlines appended on _?_ -velocity for (a) shear − thinning fluid, _?_ = 0 _._ 8 and (b) shear-thickening fluid, _?_ = 1 _._ 4 at _?_ ∕ _?_ = 0 _._ 5 while _??_ = 1000. FIGURE 15 | Streamlines appended on the non-Newtonian viscosity for (a) shear-thinning fluid, _?_ = 0 _._ 8 and (b) shear-thickening fluid, _?_ = 1 _._ 4 at _?_ ∕ _?_ = 0 _._ 5 while _??_ = 1000. The velocity distribution within a fluid with varying power-law indices ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4) is critical in shaping flow dynamics, particularly at specific points within the domain. The power-law index _?_ governs whether the fluid exhibits shear-thinning or shear-thickening behavior, directly impacting the flow characteristics. The velocity distribution for the various power-law indexes ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4) is shown in Figure 16, with _?_ at _?_ ∕ _?_ = 0 _._ 5 and _?_ at _?_ ∕ _?_ = 0 _._ 5, while _??_ = 1000 and _?_ ∕ _?_ = 0 _._ 5. For the _?_ -velocity component at _?_ ∕ _?_ = 0 _._ 5 and _?_ ∕ _?_ = 0 _._ 5 with _??_ = 1000, Figure 16a shows that in shear-thinning fluids ( _?_ = 0 _._ 8), viscosity decreases with increasing shear rates, allowing for higher velocities in the x-direction. This results in a more efficient flow pattern, enhanced momentum transmission, and reduced shear stresses, leading to a smoother and faster flow. Conversely, viscosity increases with the shear rate in shear-thickening fluids ( _?_ = 1 _._ 4), creating more excellent resistance to flow. This leads to a more constrained _?_ -velocity distribution, characterized by isolated regions of elevated velocity gradients and shear stresses. The Newtonian fluid case ( _?_ = 1 _._ 0) produces a more uniform velocity distribution, typical of conventional viscous fluids, where viscosity remains constant and flow is more predictable. Similarly, the _?_ -velocity component at _?_ ∕ _?_ = 0 _._ 5 in Figure 16b further highlights the impact of _?_ on fluid behavior. For _?_ = 0 _._ 8, the shear-thinning fluid experiences increased velocities in the y-direction, facilitating more robust momentum transmission and smoother flow patterns. In contrast, the shear-thickening fluid ( _?_ = 1 _._ 4) shows excellent shear resistance, resulting in a more confined and intricate _?_ -velocity distribution with localized regions of higher shear stresses and velocity gradients. Again, the (a) 1 0.3 0.2 0.1 0 -0.1 -0.2 (b) n = 0.8 n = 1.0 n = 1.4 0.8 0.6 0.4 0.2 n = 0.8 n = 1.0 n = 1.4 0 -0.4 -0.2 0 0.2 0.4 0.6 0.8 u -0.3 0 0.2 0.4 0.6 0.8 1 x FIGURE 16 | Velocity distribution for the different power-law index ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4 (a) _?_ at _?_ ∕ _?_ = 0 _._ 5 and (b) _?_ at _?_ ∕ _?_ = 0 _._ 5 while _??_ = 1000 and _?_ ∕ _?_ = 0 _._ 5. Newtonian case ( _?_ = 1 _._ 0) maintains a more balanced and uniform profile, reflecting its constant viscosity properties. These variations in the _?_ and _?_ velocity components at _?_ ∕ _?_ = 0 _._ 5 and _?_ ∕ _?_ = 0 _._ 5 highlight the importance of rheological properties in shaping flow dynamics, essential for predicting and controlling fluid behavior in practical applications. Figure 17 presents the variations in viscosity distribution for different power-law indices ( _?_ ) in the xy-plane at _?_ ∕ _?_ = 0 _._ 5, along with corresponding iso-surfaces for _??_ = 1000. In Figure 17a, the viscosity distribution for _?_ = 0 _._ 8, representing shear-thinning behavior, shows lower viscosity in the flow field near _?_ ∕ _?_ = 0 _._ 5. This reduction in viscosity allows for enhanced fluid deformation and more efficient flow patterns characterized by higher velocities and lower shear stresses. The reduced viscosity mitigates shear resistance, leading to a smoother and faster flow. Figure 17b visualizes this behavior through a 3D iso-surface, highlighting regions with constant viscosity. In the shear-thinning case, the iso-surface emphasizes areas with high shear rates and lower viscosity, providing insights into regions of the fluid domain experiencing significant deformation. Conversely, in Figure 17c, the viscosity distribution for _?_ = 1 _._ 4 (shear-thickening behavior) shows increased viscosity at the xy-plane and _?_ ∕ _?_ = 0 _._ 5, corresponding to higher shear rates. This heightened viscosity increases shear resistance, resulting in more constrained flow patterns with elevated shear stresses and complex fluid deformation. The iso-surface in Figure 17d highlights areas with constant viscosity for _?_ = 1 _._ 4, showcasing regions with higher viscosity and more excellent shear resistance. This provides a 3D representation of the fluid’s shear-thickening behavior, revealing the spatial distribution of areas with increased viscosity and more intricate flow dynamics. The viscosity distribution varies significantly between shear-thinning ( _?_ = 0 _._ 8) and shear-thickening ( _?_ = 1 _._ 4) behaviors for _??_ = 1000 in the xy-plane and _?_ ∕ _?_ = 0 _._ 5. The iso-surfaces visualize these differences, enhancing our understanding of how shear rates and viscosity affect flow patterns in 3D non-Newtonian fluids. 6.4 | Helicity of the Power-Law Fluids In fluid dynamics, helicity refers to a measure of the topological complexity or “twistiness” of fluid flow patterns. It quantifies the degree of twist and linkage in the velocity field of a fluid. Mathematically, helicity is defined as the dot product of the velocity field and its curl [45]:  = ∫ u ⋅ (∇× u ) _??_ (31) Here, u represents the velocity vector field, ∇× u denotes the curl of the velocity field, and _??_ indicates the volume element over which the integral is taken. Helicity is a conserved quantity in ideal fluid flow, meaning that it remains constant over time for inviscid, incompressible fluids in the case of continuous fluid properties. It plays a significant role in understanding vortex dynamics, providing insight into the formation and evolution of vortex structures. Additionally, helicity has applications in various areas of fluid dynamics, including astrophysics, atmospheric science, and plasma physics. Figure 18a–c presents contour plots of helicity () in the _??_ -plane for varying power-law indices ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4) at _??_ = 1000. These figures illustrate that shear-thinning fluids’ helicity magnitude is greater due to decreased viscosity. Conversely, shear-thickening fluids exhibit lower helicity magnitude due to their higher viscosity. An increase in helicity magnitude suggests a greater degree of helical motion, implying more pronounced swirling patterns within the fluid. Conversely, a decrease in helicity magnitude indicates a reduction in the intensity of helical motion, suggesting less prominent swirling behavior in the flow. In fluid dynamics, the magnitude of helicity can be positive, negative, or zero, depending on the specific characteristics of the flow. Positive helicity occurs when the velocity field and its curl are aligned so their dot product is positive. This typically corresponds to flow patterns with a coherent, organized structure, such as large-scale vortices or helical flows. Positive helicity is often associated with stable structures and coherent turbulent flow formation. Negative helicity occurs when the velocity field and its curl are aligned so that their dot product is negative. This usually indicates flow patterns with a more chaotic, disorganized structure, FIGURE 17 | Viscosity distribution for _??_ = 1000: (a) _?_ = 0 _._ 8 at _??_ - plane and _?_ ∕ _?_ = 0 _._ 5, (b) iso-surface of viscosity for _?_ = 0 _._ 8, (c) _?_ = 1 _._ 4 at _??_ plane and _?_ ∕ _?_ = 0 _._ 5, and (d) iso-surface of viscosity for _?_ = 1 _._ 4. (a) n = 0.8 (b) n = 1 (c) n =1.4 <u>U</u> ~~U~~ ~~U~~ 3.71 3.20 3.18 2.74 2.65 2.28 2.12 1.83 1.59 1.37 1.06 0.91 0.53 0.46 -0.00 0.00 -0.53 -0.46 -1.06 -0.91 -1.59 -1.37 -2.12 -1.83 -2.65 -2.28 -3.18 -2.74 -3.71 -3.20 ~~U~~ 3.20 2.74 2.28 1.83 1.37 0.91 0.46 0.00 -0.46 -0.91 -1.37 -1.83 -2.28 -2.74 -3.20 2.02 1.73 1.44 1.15 0.86 0.58 0.29 -0.00 -0.29 -0.58 -0.86 -1.15 -1.44 -1.73 -2.02 FIGURE 18 | Helicity () for the power-law fluids (a) shear-thinning fluid, _?_ = 0 _._ 8, (b) Newtonian fluid, _?_ = 1, and (c) shear-thickening fluid, _?_ = 1 _._ 4 at _?_ ∕ _?_ = 0 _._ 5 while _??_ = 1000. Dashed lines indicate the negative magnitude of the helicity. where the direction of rotation of vortices is opposite to the overall flow direction. Negative helicity is often associated with regions of intense turbulence and vortex stretching. Zero helicity occurs when the velocity field and its curl are orthogonal to each other, resulting in a dot product of zero. This can happen in certain symmetric flow configurations or when the flow lacks a coherent rotational structure. Zero helicity does not necessarily imply that the flow is uniform or laminar; rather, it indicates a balance between opposing rotational tendencies. The sign and magnitude of helicity provide valuable information about the nature and behavior of fluid flow, especially in complex flow scenarios. As illustrated in Figure 18a–c, it is evident that the helicity distribution exhibits symmetry around the cavity diagonal, attributed to the diagonal motion of the upper lid. This symmetry further signifies laminar flow across all three cases. 7 | Conclusions In the D3Q27 MRT-LBM applied to a diagonally lid-driven cubic cavity, a power-law viscosity model represents the behavior of a generalized Newtonian fluid. The study provides essential information about the behavior of shear-thinning and shear-thickening fluids, including streamline analysis, velocity component distributions, non-Newtonian viscosity visualization on the isosurface, and general flow dynamics. We analyze different flow behaviors across Reynolds numbers from _??_ = 100 to 1200, identifying unique patterns driven by the power-law index ( _?_ = 0 _._ 8 _,_ 1 _._ 0 _,_ 1 _._ 4). The visual presentation of computational solutions provides numerical information and tangible interpretations of the results. Thorough validations demonstrate the current MRT-LBM formulation’s robustness against the results of earlier studies. The following is a summary of the analysis’s main conclusions: - As the shear rate increases, the viscosity in shear-thinning fluids _?<_ 1 reduces, resulting in streamlined flow patterns and decreased shear stresses. Viscosity reduces as the shear rate increases, impacting flow dynamics inside the cavity. - Near the driven lid and cavity corners, streamlines change, suggesting decreasing flow resistance. The upper section of the hollow has a sizeable central vortex. - Higher shear rates cause shear-thickening fluids _?>_ 1 to become more viscous, which leads to more complex and intricate flow patterns. As the shear rate increases, viscosity also increases, improving flow resistance. - In Newtonian behavior with constant viscosity, _?_ should be more uniform and straightforward at _?_ = 1 _._ 0. At _?_ ∕ _?_ = 0 _._ 5, the _?_ component shows the y-axis velocity distribution. - The v-velocity reduces by 19 _._ 15% and 26 _._ 38% for _?_ = 0 _._ 8 and _?_ = 1 _._ 4, respectively, when the Reynolds number increases from 200 to 400 at the x-coordinate of 0.25. - Viscosity distribution in the _??_ -plane, with _?_ ∕ _?_ = 0 _._ 5 and _?_ = 0 _._ 8, indicating shear-thinning behavior, shapes flow. Lower viscosity when _?_ ∕ _?_ = 0 _._ 5 lowers shear resistance, creating flow patterns with greater velocities and decreasing shear stresses. The v velocity increases by 93 _._ 54% and 89 _._ 09% for _??_ 600 and _??_ = 800 when the power-law index (n) is raised from 0.8 to 1.4 at the x-coordinate of 0.15. In contrast, when _?_ increases from 0.8 to 1.4, the v-velocity at _?_ = 0 _._ 7 decreases by 189 _._ 66% and 111% for _??_ = 600 and _??_ = 800, respectively. - The shear-thinning fluid exhibits an increased helicity magnitude due to diminished viscosity. In contrast, shear-thickening fluids have a reduced magnitude due to their elevated viscosity. - The numerical results from this study are set to act as benchmark data for validating 3D codes related to non-Newtonian power-law fluids. - The simulation times of the D3Q19 and D3Q27 MRT-LBM models show that the D3Q27 MRT-LBM takes more than twice as long as the D3Q19 MRT-LBM. Author Contributions Md. Mamun Molla: conceptualization; methodology; software; data curation; investigation; formal analysis; supervision; funding acquisition; visualization; project administration; resources; writing - original draft; writing - review and editing. Amzad Hossain: conceptualization; methodology; data curation; investigation; validation; formal analysis; visualization; writing - original draft; writing - review and editing. Md. Mahadul Islam: conceptualization; methodology; data curation; investigation; validation; formal analysis; writing - original draft; writing - review and editing; visualization. Conflicts of Interest The authors declare no conflicts of interest. Data Availability Statement The data that support the findings of this study are available from the corresponding author upon reasonable request. This study is not associated with any third party data. References 1. Z. Guo, C. Zheng, and B. Shi, “Discrete Lattice Effects on the Forcing Term in the Lattice Boltzmann Method,” _Physical_ _Review_ _E_ 65, no. [4 (2002): 046308, https://doi.org/10.1103/PhysRevE.65.046308.](https://doi.org/10.1103/PhysRevE.65.046308) 2. P. Lallemand and L. S. Luo, “Theory of the Lattice Boltzmann Method: Dispersion, Dissipation, Isotropy, Galilean Invariance, and Stability,” _Physical Review E_ [61, no. 6 (2000): 6546, https://doi.org/10.1103/](https://doi.org/10.1103/PhysRevE.61.6546) [PhysRevE.61.6546.](https://doi.org/10.1103/PhysRevE.61.6546) 3. Z. Chen and C. Shu, “Simplified Lattice Boltzmann Method for Non-Newtonian Power-Law Fluid Flows,” _International_ _Journal_ _for_ _Numerical Methods in Fluids_ [92, no. 1 (2020): 38–54, https://doi.org/10.](https://doi.org/10.1002/fld.4771) [1002/fld.4771.](https://doi.org/10.1002/fld.4771) 4. F. Kuznik, C. Obrecht, G. Rusaouen, et al., “LBM Based Flow Simulation Using GPU Computing Processor,” _Computers_ _&_ _Mathematics_ _with Applications_ [59, no. 7 (2010): 2380–2392, https://doi.org/10.1016/j.](https://doi.org/10.1016/j.camwa.2009.08.052) [camwa.2009.08.052.](https://doi.org/10.1016/j.camwa.2009.08.052) 5. D. d’Humieres, “Multiple–Relaxation–Time Lattice Boltzmann Models in Three Dimensions,” _Philosophical Transactions of the Royal Society_ _of London, Series A: Mathematical, Physical and Engineering Sciences_ 360, [no. 1792 (2002): 437–451, https://doi.org/10.1098/rsta.2001.0955.](https://doi.org/10.1098/rsta.2001.0955) 6. X. Tang, Y. Su, F. Wang, et al., Numerical Research on Lid Driven Cavity Flows Using a Three-Dimensional Lattice Boltzmann Model on Non-Uniform Meshes,” _SCIENCE_ _CHINA_ _Technological_ _Sciences_ 56, no. 9 (2013): 2178–2187, [https://link.springer.com/article/10.1007/](https://link.springer.com/article/10.1007/s11431-013-5312-4) [s11431-013-5312-4.](https://link.springer.com/article/10.1007/s11431-013-5312-4) 7. M. M. Hedayat, M. H. Borghei, A. Fakhari, et al., “On the Use of Lattice-Boltzmann Model for Simulating Lid-Driven Cavity Flows of Strain-Hardening Fluids,” _Nihon_ _Reoroji_ _Gakkaishi_ 38, no. 4_5 (2011): [201–207, https://doi.org/10.1678/rheology.38.201.](https://doi.org/10.1678/rheology.38.201) 8. A. Toghaniyan, M. Zarringhalam, O. A. Akbari, G. A. S. Shabani, and D. Toghraie, “Application of Lattice Boltzmann Method and Spinodal Decomposition Phenomenon for Simulating Two-Phase Thermal Flows,” _Physica A: Statistical Mechanics and its Applications_ 509 (2018): 673–689, [https://doi.org/10.1016/j.physa.2018.06.030.](https://doi.org/10.1016/j.physa.2018.06.030) 9. K. N. Premnath and S. Banerjee, “On the Three-Dimensional Central Moment Lattice Boltzmann Method,” _Journal_ _of_ _Statistical_ _Physics_ 143, no. 4 (2011): 747–794, [https://link.springer.com/article/10.1007/](https://link.springer.com/article/10.1007/s10955-011-0208-9) [s10955-011-0208-9.](https://link.springer.com/article/10.1007/s10955-011-0208-9) 10. R. Samanta, H. Chattopadhyay, and C. Guha, “Transport Phenomena in a Differentially Heated Lid-Driven Cavity: A Study Using Multi-Relaxation-Time Thermal Lattice Boltzmann Modeling,” _Physics of_ _Fluids_ [32, no. 9 (2020): 093610, https://doi.org/10.1063/5.0021105.](https://doi.org/10.1063/5.0021105) 11. C. Zhuo, C. Zhong, X. Guo, et al., “Numerical Investigation of Four-Lid-Driven Cavity Flow Bifurcation Using the Multiple-Relaxation-Time Lattice Boltzmann Method,” _Computers_ _& Fluids_ [110 (2015): 136–151, https://doi.org/10.1016/j.compfluid.2014.](https://doi.org/10.1016/j.compfluid.2014.11.018) [11.018.](https://doi.org/10.1016/j.compfluid.2014.11.018) 12. D. B. Dong, S. J. Shi, Z. X. Hou, et al., “Numerical Simulation of Viscous Flow in a 3D Lid-Driven Cavity Using Lattice Boltzmann Method,” _Applied_ _Mechanics_ _and_ _Materials,_ _Trans_ _Tech_ _Publications_ 444 (2014): [395–399, https://doi.org/10.4028/www.scientific.net/AMM.444-445.395.](https://doi.org/10.4028/www.scientific.net/AMM.444-445.395) 13. D. A. Perumal, “Lattice Boltzmann Simulation of Laminar Flow in a Three-Dimensional Two-Sided Lid-Driven Cavity,” _World Journal of Mod-_ _elling and Simulation_ 9, no. 4 (2013): 277–288. 14. M. Jourabian, A. A. R. Darzi, O. A. Akbari, and D. Toghraie, “The Enthalpy-Based Lattice Boltzmann Method (LBM) for Simulation of NEPCM Melting in Inclined Elliptical Annulus.Physica A: Statistical [Mechanics and Its Applications,” (2020), https://doi.org/10.1016/j.physa.](https://doi.org/10.1016/j.physa.2019.123887) [2019.123887.](https://doi.org/10.1016/j.physa.2019.123887) 15. A. Hossain and M. M. Molla, “MHD Mixed Convection of Non-Newtonian Power-Law Ferrofluid in a Wavy Enclosure,” _Journal_ _of_ _Thermal_ _Analysis_ _and_ _Calorimetry_ 148, no. 21 (2023): 11871–11892, [https://doi.org/10.1007/s10973-023-12485-7.](https://doi.org/10.1007/s10973-023-12485-7) 16. S. Thohura, M. M. Molla, M. A. Sarker, et al., “Study of Mixed Convection Flow of Power-Law Fluids in a Skewed Lid-Driven Cavity,” _Heat_ _Transfer_ [50, no. 6 (2021): 6328–6357, https://doi.org/10.1002/htj.22174.](https://doi.org/10.1002/htj.22174) 17. S. Thohura, M. M. Molla, and M. M. A. Sarker, “Numerical Simulation of Non-Newtonian Power-Law Fluid Flow in a Lid-Driven Skewed Cavity,” _International_ _Journal_ _of_ _Applied_ _and_ _Computational_ _Mathe-_ _matics_ 5, no. 1 (2019): 14, [https://link.springer.com/article/10.1007/](https://link.springer.com/article/10.1007/s40819-018-0590-y) [s40819-018-0590-y.](https://link.springer.com/article/10.1007/s40819-018-0590-y) 18. P. Sikdar and S. M. Dash, “A Numerical Study on the Lid-Driven Cavity With Power-Law Fluids at Different Moving Lengths of the Top Lid,” _CFD Letters_ [12, no. 6 (2020): 107–117, https://doi.org/10.37934/cfdl.12.6.](https://doi.org/10.37934/cfdl.12.6.107117) [107117.](https://doi.org/10.37934/cfdl.12.6.107117) 19. S. S. Mendu and P. Das, “Flow of Power-Law Fluids in a Cavity Driven by the Motion of Two Facing Lids–A Simulation by Lattice Boltzmann Method,” _Journal of Non-Newtonian Fluid Mechanics_ 175 (2012a): 10–24, [https://doi.org/10.1016/j.jnnfm.2012.03.007.](https://doi.org/10.1016/j.jnnfm.2012.03.007) 20. N. S. Akbar, J. Akram, M. F. Hussain, E. Maraj, and T. Muhammad, “Thermal Storage Study and Enhancement of Heat Transfer Through Hybrid Jeffrey Nanofluid Flow in Ducts Under Peristaltic Motion With Entropy Generation, _Thermal_ _Science_ _and_ _Engineering_ _Progress_ 49 [(2024): 102463, https://doi.org/10.1016/j.tsep.2024.102463.](https://doi.org/10.1016/j.tsep.2024.102463) 21. K. M. Gangawane and H. F. Oztop, “Mixed Convection in the Heated Semi-Circular Lid-Driven Cavity for Non-Newtonian Power-Law Fluids: Effect of Presence and Shape of the Block,” _Chinese Journal of Chemical_ _Engineering_ [28, no. 5 (2020): 1225–1240, https://doi.org/10.1016/j.cjche.](https://doi.org/10.1016/j.cjche.2020.03.005) [2020.03.005.](https://doi.org/10.1016/j.cjche.2020.03.005) 22. R. Mahmood, S. Bilal, A. H. Majeed, et al., “CFD Analysis for Characterization of Non-Linear Power Law Material in a Channel Driven Cavity With a Square Cylinder by Measuring Variation in Drag and Lift Forces,” _Journal of Materials Research and Technology_ 9, no. 3 (2020): 3838–3846, [https://doi.org/10.1016/j.jmrt.2020.02.010.](https://doi.org/10.1016/j.jmrt.2020.02.010) 23. Y. Tizakast, M. Kaddiri, M. Lamsaadi, et al., “Effect of Lewis Number on Mixed Double-Diffusive Convection in Shallow Rectangular Cavities With Double-Lid-Driven Boundaries Filled With Non-Newtonian Power-Law Fluids,” _AIP_ _Conference_ _Proceedings_ 2345 (2021): 020030, [https://doi.org/10.1063/5.0049493.](https://doi.org/10.1063/5.0049493) 24. N. S. Akbar, M. F. Hussain, T. Muhammad, and M. T. Alghamdi, “Thermal Synthesize of Shear Thinning Nanofluid in Small Flexible Vessel Type Channel With Low Seepage Reynold Number and Au Nanoparticles,” _Case Studies in Thermal Engineering_ [53 (2024): 103932, https://doi.](https://doi.org/10.1016/j.csite.2023.103932) [org/10.1016/j.csite.2023.103932.](https://doi.org/10.1016/j.csite.2023.103932) 25. M. Bisht and D. V. Patil, “Power-Law Fluid Flow in Driven Enclosures With Undulation Using MRT-Lattice Boltzmann Method,” _Computers &_ _Mathematics with Applications_ [79, no. 1 (2020): 100–110, https://doi.org/](https://doi.org/10.1016/j.camwa.2017.09.006) [10.1016/j.camwa.2017.09.006.](https://doi.org/10.1016/j.camwa.2017.09.006) 26. K. Jin, S. Vanka, R. Agarwal, et al., “GPU Accelerated Simulations of Three-Dimensional Flow of Power-Law Fluids in a Driven Cube,” _International Journal of Computational Fluid Dynamics_ 31, no. 1 (2017): [36–56, https://doi.org/10.1080/10618562.2016.1270449.](https://doi.org/10.1080/10618562.2016.1270449) 27. M. Nemati, A. R. S. N. Abady, D. Toghraie, and A. Karimipour, “Numerical Investigation of the Pseudopotential Lattice Boltzmann Modeling of Liquid–Vapor for Multi-Phase Flows,” _Physica A: Statistical Mechan-_ _ics and its Applications_ [89 (2018): 65–77, https://doi.org/10.1016/j.physa.](https://doi.org/10.1016/j.physa.2017.07.013) [2017.07.013.](https://doi.org/10.1016/j.physa.2017.07.013) 28. M. Chowdhury and B. R. Kumar, “Study of Unsteady Non-Newtonian Fluid Flow Behavior in a Two-Sided Lid-Driven Cavity at Different Aspect Ratios,” _Journal of Non-Newtonian Fluid Mechanics_ 312 (2023): 104975, [https://doi.org/10.1016/j.jnnfm.2022.104975.](https://doi.org/10.1016/j.jnnfm.2022.104975) 29. S. Adam, F. Hajabdollahi, and K. N. Premnath, “Cascaded Lattice Boltzmann Modeling and Simulations of Three-Dimensional Non-Newtonian Fluid Flows,” _Computer_ _Physics_ _Communications_ 262 [(2021): 107858, https://doi.org/10.1016/j.cpc.2021.107858.](https://doi.org/10.1016/j.cpc.2021.107858) 30. A. Safdari and K. C. Kim, “Lattice Boltzmann Simulation of Solid Particles Behavior in a Three-Dimensional Lid-Driven Cavity Flow,” _Computers_ _&_ _Mathematics_ _with_ _Applications_ 68, no. 5 (2014): 606–621, [https://doi.org/10.1016/j.camwa.2014.07.004.](https://doi.org/10.1016/j.camwa.2014.07.004) 31. C. L. Chen, S. C. Chang, and C. Y. Chen, “Lattice Boltzmann Simulation of Convective Heat Transfer of Non-Newtonian Fluids in Impeller Stirred Tank,” _Applied_ _Mathematical_ _Modelling_ 46 (2017): 519–535, [https://doi.org/10.1016/j.apm.2017.01.088.](https://doi.org/10.1016/j.apm.2017.01.088) 32. M. Alghamdi, N. S. Akbar, T. Zamir, and T. Muhammad, “Duble Layered Combined Convective Heated Flow of Eyring-Powell Fluid Across an Elevated Stretched Cylinder Using Intelligent Computing Approach,” _Case_ _Studies_ _in Thermal_ _Engineering_ 54 (2024): 104009, [https://doi.org/](https://doi.org/10.1016/j.csite.2024.104009) [10.1016/j.csite.2024.104009.](https://doi.org/10.1016/j.csite.2024.104009) 33. A. Y. Malkin, and A. Isayev, “Rheology: Concepts, Methods and Applications,” _Applied Rheology_ [16, no. 5 (2006): 240–241, https://doi.org/10.](https://doi.org/10.1515/arh-2006-0039) [1515/arh-2006-0039.](https://doi.org/10.1515/arh-2006-0039) 34. K. Suga, Y. Kuwata, K. Takashima, et al., “A D3Q27 Multiple-Relaxation-Time Lattice Boltzmann Method for Turbulent Flows, _Computers_ _&_ _Mathematics_ _with_ _Applications_ 69, no. 6 (2015): [518–529, https://doi.org/10.1016/j.camwa.2015.01.010.](https://doi.org/10.1016/j.camwa.2015.01.010) 35. H. Chen, S. Chen, and W. H. Matthaeus, “Recovery of the Navier-Stokes Equations Using a Lattice-Gas Boltzmann Method,” _Phys-_ _ical Review A_ [45, no. 8 (1992): R5339, https://doi.org/10.1103/PhysRevA.](https://doi.org/10.1103/PhysRevA.45.R5339) [45.R5339.](https://doi.org/10.1103/PhysRevA.45.R5339) 36. S. Chen and G. D. Doolen, “Lattice Boltzmann Method for Fluid Flows,” _Annual_ _Review_ _of_ _Fluid_ _Mechanics_ 30, no. 1 (1998): 329–364, [https://doi.org/10.1146/annurev.fluid.30.1.329.](https://doi.org/10.1146/annurev.fluid.30.1.329) 37. Y. H. Qian, D. d’Humières, and P. Lallemand, “Lattice BGK Models for Navier-Stokes Equation,” _Europhysics_ _Letters_ 17, no. 6 (1992): 479, [https://iopscience.iop.org/article/10.1209/0295-5075/17/6/001.](https://iopscience.iop.org/article/10.1209/0295-5075/17/6/001) 38. F. Dubois and P. Lallemand, “Quartic Parameters for Acoustic Applications of Lattice Boltzmann Scheme,” _Computers_ _&_ _Mathematics_ _with_ _Applications_ 61, no. 12 (2011): 3404–3416, [https://doi.org/10.1016/j.](https://doi.org/10.1016/j.camwa.2011.01.011) [camwa.2011.01.011.](https://doi.org/10.1016/j.camwa.2011.01.011) 39. Z. Chai, B. Shi, Z. Guo, et al., “Multiple-Relaxation-Time Lattice Boltzmann Model for Generalized Newtonian Fluid Flows,” _Journal_ _of_ _Non-Newtonian Fluid Mechanics_ [166, no. 5-6 (2011): 332–342, https://doi.](https://doi.org/10.1016/j.jnnfm.2011.01.002) [org/10.1016/j.jnnfm.2011.01.002.](https://doi.org/10.1016/j.jnnfm.2011.01.002) 40. Q. Li, N. Hong, B. Shi, et al., “Simulation of Power-Law Fluid Flows in Two-Dimensional Square Cavity Using Multi-Relaxation-Time Lattice Boltzmann Method,” _Communications in Computational Physics_ 15, no. [1 (2014): 265–284, https://doi.org/10.4208/cicp.160212.210513a.](https://doi.org/10.4208/cicp.160212.210513a) 41. M. F. Hasan, M. M. Molla, S. Siddiqa, et al., “Mesoscopic CUDA 3D MRT-LBM Simulation of Natural Convection of Power-Law Fluids in a Differentially Heated Cubic Cavity With a Machine Learning Cross-Validation,” _Arabian_ _Journal_ _for_ _Science_ _and_ _Engineer-_ _ing_ 49 (2023): 10687–10723, [https://link.springer.com/article/10.1007/](https://link.springer.com/article/10.1007/s13369-023-08464-7) [s13369-023-08464-7.](https://link.springer.com/article/10.1007/s13369-023-08464-7) 42. M. M. Molla, P. Nag, S. Thohura, et al., “A Graphics Process Unit-Based Multiple-Relaxation-Time Lattice Boltzmann Simulation of Non-Newtonian Fluid Flows in a Backward Facing Step,” _Computation_ [8, no. 3 (2020): 83, https://doi.org/10.3390/computation8030083.](https://doi.org/10.3390/computation8030083) 43. W. Zhang, C. Huang, Y. Wang, et al., “The Computation of Strain Rate Tensor in Multiple-Relaxation-Time Lattice Boltzmann Model,” _Com-_ _puters_ _&_ _Mathematics_ _with_ _Applications_ 75, no. 8 (2018): 2888–2902, [https://doi.org/10.1016/j.camwa.2018.01.019.](https://doi.org/10.1016/j.camwa.2018.01.019) 44. M. M. Molla, M. J. Haque, M. A. I. Khan, et al., “GPU Accelerated Multiple-Relaxation-Time Lattice Boltzmann Simulation of Convective Flows in a Porous Media,” _Frontiers in Mechanical Engineering_ 4 (2018): [15, https://www.frontiersin.org/articles/10.3389/fmech.2018.00015/full.](https://www.frontiersin.org/articles/10.3389/fmech.2018.00015/full) 45. A. Povitsky, “Three-Dimensional Flow With Elevated Helicity in Driven Cavity by Parallel Walls Moving in Perpendicular Directions,” _Physics_ _of_ _Fluids_ 29, no. 8 (2017): 083601, [https://doi.org/10.1063/1.](https://doi.org/10.1063/1.4996179) [4996179.](https://doi.org/10.1063/1.4996179)

섹션 본문 103문단 · 49,398자

(제목 없음)

1The study examines the flow dynamics of power-law non-Newtonian fluids in a cubic cavity with a top lid-driven diagonally-driven diagonally using the D3Q27 multiple-relaxation-time (MRT) lattice Boltzmann method (LBM).This situation frequently occurs in both natural and industrial processes.Utilizing CUDA C++ programming on a graphics processing unit (GPU) speeds up the simulations, enabling effective investigation of intricate fluid dynamics.Non-Newtonian behaviors, such as shear-thinning and shear-thickening properties, are frequently found in many real-world fluid systems and are captured by the power-law rheology model.LBM provides a mesoscopic method that makes handling intricate geometries easier and scales effectively on GPUs and other parallel computing architectures.The simulations investigate how Reynolds numbers ( = 100, 200, 400, 500, 600, 800, 1000, 1200) and power-law indices ( = 0.8, 1, 1.4) affect non-Newtonian fluid flow characteristics like streamlines, velocity profiles, viscosity distributions, iso-surfaces, and helicity (twistiness).GPU acceleration makes faster simulations and parametric research possible, improving computational efficiency.These findings provide information for non-Newtonian fluid engineering applications in the food industry, biomedical engineering, and polymer processing.Because of their decreased viscosity, shear-thinning fluids have higher helicity than shear-thickening fluids.The numerical results of the study offer applicable standards for evaluating 3D codes for fluids with non-Newtonian power laws.The uniqueness is that a D3Q27 multiple-relaxation-time lattice Boltzmann method (MRT-LBM) framework with GPU acceleration can be used to model an underexplored situation, revealing fluid dynamics and rheological features with unprecedented detail and computing efficiency.We also examine how the power-law index influences vortex generation, helicity, and flow stability in a diagonally driven cavity.Additionally, a comparison of the D3Q19 and D3Q27 MRT-LBM models is provided, emphasizing how they handle complex fluid behaviors differently.

| Introduction

2Investigating non-Newtonian fluid fluxes in constrained geometries is crucial for biomedical engineering, food production, and polymer processing.Complex rheological behaviors, including shear-thinning and shear-thickening, are observed in non-Newtonian fluids.Intensive modeling of these unique characteristics is necessary to depict flow dynamics accurately.Lid-driven cavity flow problems have long been benchmark cases in computational fluid dynamics (CFD) due to their simple geometries and capacity to reveal intricate flow characteristics, such as vortices, recirculation zones, and secondary flow patterns.Newtonian or two-dimensional (2D) models of non-Newtonian fluids have been implemented in most research.Non-Newtonian fluids frequently exhibit three-dimensional (3D) fluxes in intricate configurations in real life.The movement of the diagonal lid in a cubic chamber complicates the flow by introducing shear interactions and 3D phenomena that have not been completely investigated.

3Lattice Boltzmann methods (LBMs) have garnered much interest because of their computational efficiency and versatility in simulating complex fluid dynamics phenomena.In various flow scenarios, the D3Q27 multiple-relaxation-time (MRT) LBM has proven to be an effective tool for simulating non-Newtonian fluid behavior.The D3Q27 multiple-relaxation-time lattice Boltzmann method (MRT-LBM) was developed based on research by Guo et al. [1] and Lallemand and Luo [2], which showed that it could effectively capture fluid dynamics while resolving numerical instabilities related to the single-relaxation-time (SRT) model.This approach has been widely used to simulate Newtonian fluid flows, and it has recently been shown to work with non-Newtonian fluids as well.Chen and Shu's research [3] demonstrated how well simplified LBM can simulate power-law non-Newtonian fluids, which behave in shear-thinning or shear-thickening ways.With their emphasis on straightforward geometries and boundary conditions (BCs), these investigations shed light on non-Newtonian fluids' rheological and flow characteristics.The studies by Kuznic et al. [4] demonstrated the significant acceleration achieved by graphics processing unit (GPU) computing in LBMs, paving the way for large-scale simulations and parametric studies.Numerous scholars have conducted substantial analyses on 3D lid-driven cavity flows over time, using the LBM.For instance, in 2002, d'Humieres et al. [5] conducted 3D simulations of lid-driven cavity flow using D3Q15 and D3Q19 models at Reynolds numbers of 500 and 2000.

4Tang et al. [6] devised a LBM using D3Q19 on non-uniform meshes along with curvilinear coordinates to explore 3D vortex flows within a lid-driven cavity numerically.Their simulations accurately forecasted the flow patterns, aligning well with established literature.Hedayat et al. [7] delved into lid-driven cavity flows of strain-hardening fluids and their LBM-based simulation.They observed that heightened strain-hardening behavior in the fluid is anticipated to reduce the size of corner vortices.Toghaniyan et al. [8] investigated spinodal decomposition phenomena and the LBM to simulate two-phase thermal flows.They concluded that as the droplets fell on the heated wall, the rising and falling trends of the isothermal lines within the drop decreased as the Rayleigh number increased, bringing them to equilibrium.The 3D central moment LBM, augmented with forcing terms, underwent scrutiny by Premnath and Banerjee [9].Their investigation revealed that, under diffusive scaling, the method maintained second-order grid convergence.Using MRT-LBM, Samanta et al. [10] scrutinized transport phenomena in differentially heated lid-driven cavities.They noted an increase in the average value of concerning and at a constant .Zhuo et al. [11], using the MRT-LB method, investigated numerically the bifurcation of cavity flow driven by four lids, deeming the solution stable based on quickly diminishing below 10 −14 with modest variations around this threshold.Dong et al. [12] simulated viscous flow in a 3D lid-driven cavity under various inflow angles utilizing D3Q19 LBM with on-site BCs.Their study concluded that both Reynolds number and inflow angle influence the flow pattern within a lid-driven cavity.Perumal [13] utilized the LBM to simulate laminar flow within a 3D two-sided lid-driven cubical cavity, revealing that, for 3D parallel wall motion, a pair of counter-rotating secondary vortices emerges alongside two primary vortices.To simulate NEPCM melting in an inclined elliptical annulus, Jourabian et al. [14] used the enthalpy-based LBM.They discovered that injecting nanoparticles is the most efficient way to increase the liquid percentage in the oblate annulus since this improves conduction heat transfer.[15,16] explored the mixed convection flow of power-law fluids within a lid-driven cavity.They observed that maximum heat transfer occurs with dilatant fluids and noted the sensitivity of the heat transfer rate to the power-law index.In a separate investigation, Thohura et al. [17] conducted numerical simulations of non-Newtonian power-law fluid flow in a lid-driven skewed cavity.They observed that for cases where = 1 and = 1.5, the primary vortex center shifts toward the upper right corner with increasing .Sikdar et al. [18] studied the lid-driven cavity with power-law fluids for various lengths of top lid movement.They found that increasing beyond a critical value switches the flow regime from one primary vortex to two primary vortices, with this vital value dependent on the values of and .Mendu and Das [19] analyzed power-law fluid flow in a cavity driven by two facing lids' motion using LBM, observing that as increases, the effect of lid motion extends beyond the lid.However, the power-law index does not affect the velocity at the cavity core.The study by Akbar et al. [20] examined the improvement of heat transmission and thermal storage using hybrid Jeffrey nanofluid flow in ducts under peristaltic motion with entropy creation.They discover that when a hybrid nanofluid is present, the flow rate and Brinkmann number both help to increase entropy creation.Gangawane et al. [21] numerically simulated mixed convection in heated semi-circular lid-driven cavities for non-Newtonian power-law fluids, concluding that the average Nusselt number decreases with increasing in all cases.Mahmood et al. [22] conducted a CFD analysis of nonlinear power-law material characterization in a channel-driven cavity with a square cylinder, finding that as the power-law index increases, the velocity profile becomes more distinct, as evidenced by cut lines in different configurations.Tizakast et al. [23] investigated the effect of Lewis number on mixed double-diffusive convection in shallow rectangular cavities with double-lid-driven boundaries filled with non-Newtonian power-law fluids, predicting that fluid flow, heat, and mass transfer characteristics remain insensitive to increases

of 20

5Engineering Reports, 2025 in aspect ratio.Shear thinning nanofluid was thermally synthesized in a tiny flexible vessel-type channel with low seepage Reynold number and nanoparticles by Akbar et al. [24].The heat transfer and the mass transfer rate showed the opposite pattern as the Reynold number of seepage, , increased.

6Bisht and Patil [25] conducted simulations of non-Newtonian laminar fluid flow, focusing on 2D power-law modeled non-Newtonian fluid flow in driven cavities with undulated bottom walls using MRT-LBM.They observed that the flow structure became increasingly complex with higher Reynolds numbers at steady-state in the case of shear-thinning fluids.Several notable investigations have explored the behavior of 3D non-Newtonian power-law fluids in lid-driven cavities.Jin et al. [26] analyzed the 3D flow of power-law fluids in a cubic cavity driven by shear from the top wall, implementing their study on GPU.Their simulations revealed steady flows and exhibited non-Newtonian behavior in velocity profiles, viscosity distributions, and streamlines.The numerical study of the pseudopotential lattice Boltzmann modeling of liquid-vapor for multi-phase flows was conducted by Nemati et al. [27].The study demonstrates that the force term inclusion approach and the inter-particle interaction force term scheme are essential for precise and reliable results.Chowdhury and Kumar [28] investigated the unsteady behavior of non-Newtonian fluid flow in a two-sided lid-driven cavity at various aspect ratios, uncovering multiple flow patterns for different Reynolds numbers and times.These patterns often involved combining two primary vortices to form a single cat's eye vortex, followed by the generation of secondary vortices.Adam et al. [29] developed a 3D cascaded LBM on the D3Q19 lattice to simulate non-Newtonian power-law fluids.Their model demonstrated improved numerical stability compared with the SRT-LBM, suggesting promising results for complex 3D non-Newtonian fluid flows.Safdari and Kim [30] investigated the simulation of solid particle behavior in cavity flow driven by a lid, concluding that the cavity's diameter, density, and vortex behavior strongly influenced particle trajectories.Chen et al. [31] studied convective heat transfer of power-law non-Newtonian fluids from an oscillating hot impeller to cold tank walls using LBM.They found that increasing the impeller's aspect ratio and oscillation amplitude enhanced the heat transfer rate.Alghamdi et al. [32] used an intelligent computing approach to study the double-layered combined convective heated flow of Eyring-Powell fluid across an elevated stretched cylinder.They discovered that the concentration profile decreases with the Schmidt number and solutal stratification parameter and increases with the thermal stratification parameter.

7The scope of the article is to explore the behavior of power-law non-Newtonian fluids within a diagonally lid-driven cubic cavity, which has yet to be extensively investigated in the previous research.Although previous studies have focused on simpler geometries (e.g., rectangular or skewed cavities) or Newtonian fluids, our study addresses the gap in understanding how non-Newtonian fluids behave in more complex, diagonally driven flows.The novelty lies in integrating a D3Q27 MRT-LBM framework with GPU acceleration to simulate this underexplored scenario, providing insights into fluid dynamics and rheological properties at a level of detail and computational efficiency not previously possible.Additionally, the present work addresses how the power-law index affects vortex formation, helicity, and flow stability in a diagonally driven cavity.These insights advance the application of LBMs and the broader understanding of non-Newtonian fluid dynamics in complex systems.

| Power-Law Non-Newtonian Fluids

8In this numerical simulation, a 3D incompressible power-law non-Newtonian fluids have been simulated using the D3Q27 MRT-LBM.Power-law non-Newtonian fluids are complex fluids that exhibit non-linear behavior in response to applied shear stress.Power-law fluids, also known as Ostwald fluids [33], are characterized by a non-linear relationship between shear stress and shear rate, described by the power-law equation:

9where is the shear stress, is the shear-rate, is the consistency index, is the flow behavior index and | ̇| denotes the magnitude of the shear-rate as follows:

10Here, is defined as 1 2

11, representing the shear-rate.

12The non-Newtonian viscosity of the power-law fluid represents by

13Unlike Newtonian fluids ( = 1), whose viscosity remains constant regardless of shear rate, power-law fluids show shear-thinning or shear-thickening behavior.Shear-thinning ( < 1) means viscosity decreases as the shear rate increases.This is typically observed in fluids like ketchup, which flow more easily under stress.Shear-thickening ( > 1) means viscosity increases as the shear rate increases.This behavior is found in fluids like cornstarch and water mixture, which become more viscous when agitated.Power-law non-Newtonian fluids find applications in various fields, such as (i) Food industry: sauces, dressings, and food thickeners.(ii) Cosmetics: creams, lotions, and gels.(iii) Industrial processes: polymer melts, drilling fluids, and paints.(iv) Biomedical applications: blood flow and synovial fluid in joints.

14Understanding the behavior of power-law non-Newtonian fluids is crucial for designing processes and predicting flow characteristics in systems where these fluids are involved.Computational models, such as the power-law model, are often used to simulate the behavior of these fluids under different conditions.Power-law non-Newtonian fluids exhibit complex rheological behavior, making them an essential area of study in fluid dynamics and materials science.

| Computational Model and the Governing Navier-Stokes Equation

15In the context of a 3D laminar and incompressible flow involving a non-Newtonian fluid confined within a cubic cavity of height , the physical representation of the geometry is depicted in

| Problem Formulation Using D3Q27 MRT-LBM

16In this numerical simulation, we utilize a D3Q27 MRT LBM, selected for its numerical stability.The adoption of MRT aids in alleviating discrepancies in numerical solutions stemming from the twenty-seven relaxation parameters, as elaborated by Suga et al. [34].The expression for fluid flow within the MRT LBM operates in the moment space rather than velocity, as illustrated below:

17where r = (, , ) = (, , ).The standard settings for the lattice spacing Δ = Δ = Δ, time step Δ, and lattice speed = Δ∕Δ = 1.The discrete velocities, denoted as

18, are depicted in Figure 2 and defined as follows:

19Here, ℱ = ( 0 , ) stands for equilibrium moments pertaining to velocity.By means of linear transformation, the relationship between velocity and moment spaces can be achieved as m = Mℱ , ℱ = M −1 m, and m = Mℱ .Here, ℱ represents the equilibrium distribution function as described in [35][36][37].

20In Equation (10) For the D3Q27 lattice model, M is the 27 × 27 orthogonal transformation matrix.Initially, the non-orthogonal raw moments are calculated based on the procedure of Dubois and Lallemand [38] as follows:

21i the density

22(11) ii the momentum

23(12) iii the second-order moments

24(13) iv the fluxes of the energy

25v the square of the energy

26vi the cube of the energy

27vii the product of the second-order tensor and the energy

28viii the third-order pseudo-vector

29ix the antisymmetric tensor

30Using the above non-orthogonal moments, one can construct the non-orthogonal 27 × 27 matrix M, that the Gram-Schmidt procedure can normalize as follows:

31where Mi and M i are the ith rows of M and M matrices, respectively.The obtained 27 × 27 orthogonal transformation matrix M for the D3Q27 lattice model.The matrix M and its inverse are available in Suga et al. [34].

32In equation ( 6), the collision matrix S f is a 27 × 27 diagonal matrix whose elements are the relaxation parameters as in Suga et al. [34].The collision matrix S f is written as where

33Here (r, ) is the kinematic viscosity of the power-law non-Newtonian fluid which will be calculated locally later on.

34The determination of non-Newtonian fluid viscosity (r, ), governed by the shear rate, is locally computed at every node according to Equation (22), following the methodology detailed in [19].

35Chai et al. [39,40] used another relation for the MRT-LBM to calculate the shear-rate for the non-Newtonian fluids as follows:

36Here () is calculated from the equation (10).The above two relations have been used in the studies [41,42] for the D2Q9 and D3Q19 MRT-LBM models.For the D3Q27 MRT-LBM, Zhang et al. [43] proposed new relations for the shear-rate calculations as follows:

37,, = − 3 7 2 (1) 7,8,9

38In the present D3Q27 MRT-LBM, following Zhang et al. [43], the relations (24)(25)(26)(27) are used in the formula (3) for calculating the non-Newtonian viscosity.

| Mesoscopic BCs

39BCs play a crucial role in maintaining the stability and precision of numerical solutions.Within the framework of LBM modeling, careful consideration is necessary to manage discrete distribution functions at boundaries to represent the macroscopic BCs of the fluid faithfully.In this investigation, the bounce-back condition is implemented at the wall.While in macroscopic computational fluid dynamics, the no-slip BC is utilized at walls, in LBM, a mesoscopic bounce-back BC is adopted at the walls.The bounce-back condition stipulates that when a particle from a specific fluid's discrete distribution function reaches a boundary node, it rebounds into the fluid along its incoming direction.In a 3D domain, bounce-back conditions are applied at six surfaces: east, west, north, south, top, and bottom, as given below for the east surface.

40East surface: In the present simulation, a performance evaluation was conducted comparing the GPU-based CUDA C++ implementation for MRT-LBM with CPU-based sequential code, revealing an eighty-fold acceleration compared with CPU-based computations.The CPU configuration consists of an Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz with 128 GB RAM, whereas the GPU utilized is a Quadro RTX 6000 with 4608 CUDA cores and 24 GB RAM.

| Criteria for Convergence

41The iterative process in the current MRT-LBM stops when the velocity fields meet the specified convergence criteria.

42Here, denotes the iteration index, Φ represents the velocity field u, and the summation is conducted across the entire domain.

| Grid-Independent Test and Code Validation

43To conduct a numerical simulation effectively, executing a grid sensitivity test and validating the code against benchmark solutions is imperative.In this simulation, we tested three different lattice sizes (192 3 , 224 3 , 256 3 ), ultimately opting for the 256 3 lattice dimensions for the entire simulation.For example, Figure 3a,b shows the results in terms of the vertical -velocity distribution for three different grid sizes and the power index.

44The following subsections detail the various code validation tests conducted.

| Verification of Code Accuracy Through Qualitative Analysis Using a Lid-Driven Cubic Cavity With Power-Law Fluids

45After validating the code for Newtonian fluid, the simulated results using MRT-LBM were juxtaposed with those of Jin et al. [26] for non-Newtonian fluids.A qualitative analysis was conducted, comparing streamline patterns and viscosity distribution = 0 || (−1) , where 0 = 0.0025 is used by Jin et al. [26] at = 400 and power-law index of = 0.5 and = 1.5, as depicted in Figure 5a-d.

| Comparison Between the D3Q19 and D3Q27 MRT-LBM

46A detailed comparison of the D3Q19 and D3Q27 MRT-LBM models reveals that both discretizations accurately predict velocity distributions for various power-law index at a Reynolds number = 1200, as shown in Figure 7a,b.The details of the D3Q19 MRT-LBM can be found in [41].

47The comparison between the D3Q19 and D3Q27 MRT-LBM models focuses on their ability to predict velocity distributions under different conditions, specifically for various power-law indices ( = 0.8, 1.0, 1.4).Velocity components are evaluated at specific points within the domain.The D3Q27 model, with more discrete velocity directions, might offer slight improvements in capturing complex flow behaviors, especially at higher Reynolds numbers.However, both models are sufficiently accurate for practical purposes, demonstrating their robustness and reliability in simulating Newtonian and non-Newtonian fluid flows.

48The MRT-LBM is a powerful technique for simulating fluid flow in computational fluid dynamics.Among different lattice configurations, D3Q19 and D3Q27 are commonly used 3D models, where the numbers represent the discrete velocity directions in the simulation.Simulation time is critical for evaluating these models' efficiency.A comparative analysis shows a significant difference in their computational demands, as shown in Table 1 for different grid arrangements.Specifically, the D3Q27 MRT-LBM requires more than double the simulation time compared with the D3Q19 MRT-LBM.

49The D3Q27 model utilizes 27 discrete velocity directions, whereas the D3Q19 model uses only 19.This increase in the number of directions leads to a corresponding increase in the distribution functions that must be computed and stored at each lattice node.In MRT-LBM, the collision operator transforms the distribution functions into moment space, performs relaxation, and then transforms them back.The complexity of these operations scales with the number of velocity directions.Consequently, the D3Q27 model involves more complex and time-consuming calculations per time step.Additionally, the D3Q27 model requires more memory to store additional distribution functions, potentially causing bottlenecks in data transfer within the computational architecture.More velocity directions mean more calculations per lattice node, leading to a higher computational load per time step and longer overall simulation times.

50Empirical studies and simulations confirm these theoretical expectations.For example, in a benchmark simulation involving fluid flow in a 3D cavity, it was observed that the D3Q27 MRT-LBM took more than twice the simulation time compared with the D3Q19 MRT-LBM for the same physical scenario and resolution.In summary, while the D3Q27 MRT-LBM offers potentially higher accuracy due to its finer discretization of velocity space, this comes at the cost of significantly increased simulation time.Therefore, choosing between the D3Q19 and D3Q27 models involves a trade-off between computational efficiency and accuracy, with the D3Q27 MRT-LBM requiring more than double the time compared with the D3Q19 MRT-LBM for typical simulations.

| Results and Discussion

51This study implements a power-law viscosity model within the D3Q27 LBM, successfully applied to analyze 3D laminar flows within a cubic cavity subjected to lid-driven motion along a diagonal axis.The simulation yields insightful findings regarding various flow characteristics when utilizing power-law non-Newtonian fluids.A comprehensive understanding of the intricate fluid behavior within these geometries is attained, focusing mainly on streamlines, velocity component distribution ( and ), viscosity profiles, iso-surface visualization of viscosity throughout the cavity, and the helicity or twistiness of the non-Newtonian fluids.The lid-driven motion, coupled with the non-Newtonian nature of the fluid, offers valuable insights into the impact of power-law behavior on streamlining generation and structure.These insights have direct implications for real-world applications, such as in the design of industrial processes.Additionally, the simulation offers crucial insights into the distribution of velocities and , normalized by across the cavity, aiding in anticipating overall fluid behavior and identifying high and low-velocity zones.This elucidates the influence of power-law non-Newtonian behavior ( = 0.8, 1.0, 1.4) on these flow properties.The Reynolds number ( = 100, 200, 400, 500, 600, 800, 1000) plays a pivotal role in characterizing the flow regime within the lid-driven cavity.It is defined as the ratio of inertial to viscous forces and is a key , where 0 = 0.01, across the different power-law index, introduces further complexity to the flow dynamics within the driven diagonal cavity, influencing shear resistance and altering flow patterns.

| Streamlines, Viscosity, and Velocity for 𝑹𝒆 = 100

52The streamlines overlaid on the -velocity field for a shear-thinning fluid with = 0.8 and = 1.4 are shown in Figure 8 at ∕ = 0.5 and = 100.For power-law non-Newtonian fluids within a cubic cavity undergoing diagonal lid-driven motion, the streamlined behavior of the -velocity component provides valuable insights into the fluid dynamics.In the case of a shear-thinning fluid with a power-law index = 0.8, illustrated in Figure 8a, the viscosity decreases with increasing shear rates, leading to reduced flow resistance and a significant alteration in streamline patterns, particularly near the driven lid and cavity corners.This reduction in viscosity facilitates the formation of an extensive primary vortex in the upper portion of the cavity, with streamlines reflecting a smoother and less resisted flow as shear rates escalate.In contrast, Figure 8b shows the behavior of a shear-thickening fluid with = 1.4,where the viscosity increases with rising shear rates, resulting in more excellent flow resistance and distinct vortex patterns.The streamlines exhibit notable differences compared with the shear-thinning case, particularly in regions with high shear rates.Although the vortex size is slightly smaller for the shear-thickening fluid, its magnitude is more pronounced due to the higher viscosity at elevated shear rates.

53Further exploration of the streamline patterns is depicted in Figure 9 at ∕ = 0.5 and = 100 for = 0.8, 1.4,where both shear-thinning and shear-thickening fluids are examined.In Figure 9a, the decreased viscosity of the shear-thinning fluid ( = 0.8) with increasing shear rates results in elongated streamlines and reduced resistance to flow, particularly near the diagonally driven lid.This smoother flow is associated with the alignment of fluid molecules, facilitating reduced viscosity and more streamlined patterns.Conversely, Figure 9b highlights the behavior of the shear-thickening fluid ( = 1.4),where the increased viscosity at higher shear rates creates more excellent flow resistance, altering the streamline distribution and overall velocity patterns within the cavity.The augmented viscosity is attributed to the molecular resistance to alignment under higher shear rates, significantly impacting the flow dynamics, especially in regions of high shear.These observations underscore the influence of rheological properties, characterized by the power-law index, on the flow behavior and streamline patterns in non-Newtonian fluids within the cavity.

54Figure 10 examines the velocity distribution within a diagonally driven cubic cavity, focusing on the influence of different power-law indices () on the velocity profiles.These indices represent shear-thinning ( = 0.8), Newtonian ( = 1.0), and shear-thickening ( = 1.4) fluids, with a Reynolds number of 100 to balance inertial and viscous forces in the flow.In Figure 10a, the -velocity profile at ∕ = 0.5 highlights how fluid behavior changes with varying .Shear-thinning fluids ( = 0.8) exhibit lower flow resistance due to reduced viscosity at higher shear rates, whereas shear-thickening fluids ( = 1.4) show greater resistance with increased viscosity.The Newtonian fluid is a benchmark with a more conventional velocity distribution.'Similarly, Figure 10b shows the impact of on the -velocity profile at ∕ = 0.5.The shear-thinning fluid presents a distinct velocity pattern with reduced resistance, whereas the shear-thickening fluid exhibits higher flow resistance.The Newtonian fluid again serves as a reference for comparison.The maximum -velocity occurs for = 1.4,whereas the minimum is observed for = 0.8.This analysis provides insights into how power-law indices influence fluid rheology and velocity profiles in lid-driven cavity flow.For further comparison, Tables 2 and 3

| Streamlines and Velocity Distribution for 𝑹𝒆 = 500

55The rheological properties of non-Newtonian fluids significantly influence the flow dynamics, mainly how streamlines and velocity are shaped by shear-thinning and shear-thickening behaviors, as illustrated in Figure 11 while ∕ = 0.5 for = 500.For shear-thinning fluids ( = 0.8), viscosity decreases with a rising shear rate, reducing shear resistance and elongating distorted streamlines.At ∕ = 0.5 for = 500, this behavior results in streamlined flow patterns and reduced shear stresses, enhancing fluid momentum and transport (Figure 11a).The -velocity component, indicating velocity in the x-direction, is expected to increase more substantially, contributing to smoother flow.

56In contrast, shear-thickening fluids ( = 1.4) exhibit increasing viscosity with higher shear rates, causing more excellent resistance to shear and leading to more contracted streamlines (Figure 11b).At ∕ = 0.5 for = 500, this heightened resistance results in more complex and intricate flow patterns characterized by localized regions with increased velocity gradients and higher shear stresses.

57Similarly, Figure 12 shows the streamlines overlaid on the -velocity field for = 0.8, 1.4 at ∕ = 0.5 and = 500.For the shear-thinning fluid ( = 0.8), streamlines elongate with reduced resistance, leading to smoother flow with diminished shear stresses and an increased -velocity.In contrast, the shear-thickening fluid ( = 1.4) exhibits heightened resistance to shear, resulting in more constrained and complex flow patterns with localized velocity gradients and increased stresses in the x-direction (Figure 12b).Overall, the fluid's rheological characteristics profoundly shape the interplay between streamlines and velocity distribution, with shear-thinning fluids facilitating the smoother flow and shear-thickening fluids creating more intricate patterns.

58In Figure 13, the velocity profiles for different power-law indices ( = 0.8, 1.0, 1.4) are displayed as at ∕ = 0.5 and at ∕ = 0.5 under the conditions of = 500 and ∕ = 0.5.For the component at ∕ = 0.5 and ∕ = 0.5 with = 500 where represents velocity in the x-direction normalized by characteristic velocity , the behavior changes significantly based on the power-law index.In shear-thinning fluids ( = 0.8), viscosity decreases with increasing shear rate, leading to higher velocities in the x-direction, reduced shear stresses, and enhanced momentum transfer.In contrast, shear-thickening fluids ( = Similarly, the component at ∕ = 0.5 shows how the power-law index affects velocity in the y-direction.For = 0.8, shear-thinning behavior induces higher velocities and enhanced momentum transmission.At the same time, for = 1.4, the shear-thickening nature results in a more restricted distribution, characterized by localized regions with elevated shear stresses.The Newtonian case offers a more consistent and balanced profile.Tables 4 and 5 further illustrate these effects by comparing and velocities at ∕ = 0.5 and ∕ = 0.5 for = 600 and = 800.The -velocity increases by 0.34% and 6.06% for = 0.8 and = 1.4,respectively, as the Reynolds number increases from 600 to 800 at = 0.15.For the -velocity, increases of 93.54% and 89.09% are observed as increases from 0.8 to 1.4 at = 0.15 for = 600 and = 800, respectively.However, at = 0.70, the -velocity decreases by 189.66% and 111% for = 1.4 compared with = 0.8 at the same Reynolds numbers.

| Streamlines, Viscosity, and Velocity

59Distribution for = 1000 shear-thinning and shear-thickening conditions at = 1000.In shear-thinning fluids ( = 0.8), viscosity decreases as the shear rate increases, resulting in elongated and smoother streamlines that promote more excellent fluid acceleration and momentum transfer.This leads to higher -velocity along the streamlines and reduced shear stresses, fostering a more streamlined flow pattern at ∕ = 0.5 and ∕ = 0.5.The reduction in viscosity with increasing velocity allows fluid components to move more freely, enhancing deformation and creating efficient, streamlined flow dynamics.

60In contrast, viscosity increases with higher shear rates for shear-thickening fluids ( = 1.4), resulting in more excellent resistance to flow and more complex, constricted streamlines.This higher viscosity restricts fluid movement, leading to less pronounced increases in -velocity and more localized areas of elevated shear stresses and velocity gradients.The flow patterns become more intricate and confined due to the fluid's heightened resistance to shear at higher velocities, as seen at ∕ = 0.5 and ∕ = 0.5.

61In summary, shear-thinning fluids encourage smoother, more streamlined flow with higher -velocity along the streamlines.In contrast, shear-thickening fluids exhibit more constrained and complex flow patterns with localized shear stresses.These behaviors, driven by the rheological properties of the fluids, are critical in understanding and predicting flow dynamics in non-Newtonian fluids for practical applications.For the -velocity component at ∕ = 0.5 and ∕ = 0.5 with = 1000, Figure 16a shows that in shear-thinning fluids ( = 0.8), viscosity decreases with increasing shear rates, allowing for higher velocities in the x-direction.This results in a more efficient flow pattern, enhanced momentum transmission, and reduced shear stresses, leading to a smoother and faster flow.Conversely, viscosity increases with the shear rate in shear-thickening fluids ( = 1.4), creating more excellent resistance to flow.This leads to a more constrained -velocity distribution, characterized by isolated regions of elevated velocity gradients and shear stresses.The Newtonian fluid case ( = 1.0) produces a more uniform velocity distribution, typical of conventional viscous fluids, where viscosity remains constant and flow is more predictable.

62Similarly, the -velocity component at ∕ = 0.5 in Figure 16b further highlights the impact of on fluid behavior.For = 0.8, the shear-thinning fluid experiences increased velocities in the y-direction, facilitating more robust momentum transmission and smoother flow patterns.In contrast, the shear-thickening fluid ( = 1.4) shows excellent shear resistance, resulting in a more confined and intricate -velocity distribution with localized regions of higher shear stresses and velocity gradients.Again, the Newtonian case ( = 1.0) maintains a more balanced and uniform profile, reflecting its constant viscosity properties.These variations in the and velocity components at ∕ = 0.5 and ∕ = 0.5 highlight the importance of rheological properties in shaping flow dynamics, essential for predicting and controlling fluid behavior in practical applications.

63Figure 17 presents the variations in viscosity distribution for different power-law indices () in the xy-plane at ∕ = 0.5, along with corresponding iso-surfaces for = 1000.In Figure 17a, the viscosity distribution for = 0.8, representing shear-thinning behavior, shows lower viscosity in the flow field near ∕ = 0.5.This reduction in viscosity allows for enhanced fluid deformation and more efficient flow patterns characterized by higher velocities and lower shear stresses.The reduced viscosity mitigates shear resistance, leading to a smoother and faster flow.Figure 17b visualizes this behavior through a 3D iso-surface, highlighting regions with constant viscosity.In the shear-thinning case, the iso-surface emphasizes areas with high shear rates and lower viscosity, providing insights into regions of the fluid domain experiencing significant deformation.Conversely, in Figure 17c, the viscosity distribution for = 1.4 (shear-thickening behavior) shows increased viscosity at the xy-plane and ∕ = 0.5, corresponding to higher shear rates.This heightened viscosity increases shear resistance, resulting in more constrained flow patterns with elevated shear stresses and complex fluid deformation.The iso-surface in Figure 17d highlights areas with constant viscosity for = 1.4,showcasing regions with higher viscosity and more excellent shear resistance.This provides a 3D representation of the fluid's shear-thickening behavior, revealing the spatial distribution of areas with increased viscosity and more intricate flow dynamics.The viscosity distribution varies significantly between shear-thinning ( = 0.8) and shear-thickening ( = 1.4) behaviors for = 1000 in the xy-plane and ∕ = 0.5.The iso-surfaces visualize these differences, enhancing our understanding of how shear rates and viscosity affect flow patterns in 3D non-Newtonian fluids.

| Helicity of the Power-Law Fluids

64In fluid dynamics, helicity refers to a measure of the topological complexity or "twistiness" of fluid flow patterns.It quantifies the degree of twist and linkage in the velocity field of a fluid.Mathematically, helicity is defined as the dot product of the velocity field and its curl [45]:

65Here, u represents the velocity vector field, ∇ × u denotes the curl of the velocity field, and indicates the volume element over which the integral is taken.

66Helicity is a conserved quantity in ideal fluid flow, meaning that it remains constant over time for inviscid, incompressible fluids in the case of continuous fluid properties.It plays a significant role in understanding vortex dynamics, providing insight into the formation and evolution of vortex structures.Additionally, helicity has applications in various areas of fluid dynamics, including astrophysics, atmospheric science, and plasma physics.

67Figure 18a-c presents contour plots of helicity () in the -plane for varying power-law indices ( = 0.8, 1.0, 1.4) at = 1000.These figures illustrate that shear-thinning fluids' helicity magnitude is greater due to decreased viscosity.Conversely, shear-thickening fluids exhibit lower helicity magnitude due to their higher viscosity.An increase in helicity magnitude suggests a greater degree of helical motion, implying more pronounced swirling patterns within the fluid.Conversely, a decrease in helicity magnitude indicates a reduction in the intensity of helical motion, suggesting less prominent swirling behavior in the flow.

68In fluid dynamics, the magnitude of helicity can be positive, negative, or zero, depending on the specific characteristics of the flow.

69Positive helicity occurs when the velocity field and its curl are aligned so their dot product is positive.This typically corresponds to flow patterns with a coherent, organized structure, such as large-scale vortices or helical flows.Positive helicity is often associated with stable structures and coherent turbulent flow formation.Negative helicity occurs when the velocity field and its curl are aligned so that their dot product is negative.This usually indicates flow patterns with a more chaotic, disorganized structure, where the direction of rotation of vortices is opposite to the overall flow direction.Negative helicity is often associated with regions of intense turbulence and vortex stretching.Zero helicity occurs when the velocity field and its curl are orthogonal to each other, resulting in a dot product of zero.This can happen in certain symmetric flow configurations or when the flow lacks a coherent rotational structure.Zero helicity does not necessarily imply that the flow is uniform or laminar; rather, it indicates a balance between opposing rotational tendencies.The sign and magnitude of helicity provide valuable information about the nature and behavior of fluid flow, especially in complex flow scenarios.As illustrated in Figure 18a-c, it is evident that the helicity distribution exhibits symmetry around the cavity diagonal, attributed to the diagonal motion of the upper lid.This symmetry further signifies laminar flow across all three cases.

| Conclusions

70In the D3Q27 MRT-LBM applied to a diagonally lid-driven cubic cavity, a power-law viscosity model represents the behavior of a generalized Newtonian fluid.The study provides essential information about the behavior of shear-thinning and shear-thickening fluids, including streamline analysis, velocity component distributions, non-Newtonian viscosity visualization on the isosurface, and general flow dynamics.We analyze different flow behaviors across Reynolds numbers from = 100 to 1200, identifying unique patterns driven by the power-law index ( = 0.8, 1.0, 1.4).The visual presentation of computational solutions provides numerical information and tangible interpretations of the results.Thorough validations demonstrate the current MRT-LBM formulation's robustness against the results of earlier studies.The following is a summary of the analysis's main conclusions:

71• As the shear rate increases, the viscosity in shear-thinning fluids < 1 reduces, resulting in streamlined flow patterns and decreased shear stresses.Viscosity reduces as the shear rate increases, impacting flow dynamics inside the cavity.

72• Near the driven lid and cavity corners, streamlines change, suggesting decreasing flow resistance.The upper section of the hollow has a sizeable central vortex.

73• Higher shear rates cause shear-thickening fluids > 1 to become more viscous, which leads to more complex and intricate flow patterns.As the shear rate increases, viscosity also increases, improving flow resistance.

74• In Newtonian behavior with constant viscosity, should be more uniform and straightforward at = 1.0.At ∕ = 0.5, the component shows the y-axis velocity distribution.

75• The v-velocity reduces by 19.15% and 26.38% for = 0.8 and = 1.4,respectively, when the Reynolds number increases from 200 to 400 at the x-coordinate of 0.25.

76• Viscosity distribution in the -plane, with ∕ = 0.5 and = 0.8, indicating shear-thinning behavior, shapes flow.Lower viscosity when ∕ = 0.5 lowers shear resistance, creating flow patterns with greater velocities and decreasing shear stresses.

77• The v-velocity increases by 93.54% and 89.09% for = 600 and = 800 when the power-law index (n) is raised from 0.8 to 1.4 at the x-coordinate of 0.15.In contrast, when increases from 0.8 to 1.4, the v-velocity at = 0.7 decreases by 189.66% and 111% for = 600 and = 800, respectively.

78• The shear-thinning fluid exhibits an increased helicity magnitude due to diminished viscosity.In contrast, shear-thickening fluids have a reduced magnitude due to their elevated viscosity.

79• The numerical results from this study are set to act as benchmark data for validating 3D codes related to non-Newtonian power-law fluids.

80• The simulation times of the D3Q19 and D3Q27 MRT-LBM models show that the D3Q27 MRT-LBM takes more than twice as long as the D3Q19 MRT-LBM.

FIGURE 1 |

81FIGURE 1 | Schematic model and coordinate systems.

Figure 1 .

82Figure 1.The flow is initiated by the sliding movement of the top wall along the diagonal of the − plane, and the conservation equations for mass and momentum govern it.In the case of non-Newtonian fluid flow, these equations can be expressed in the following dimensionless manner:

FIGURE 2 |

83FIGURE 2 | D3Q27 lattice model.

FIGURE 3 |

84FIGURE 3 | Grid independence assessment based on the vertical -velocity distribution for three distinct grid sizes: (a) = 0.8, (b) = 1.0, and (c) = 1.4,evaluated at ∕ = 0.5 with = 1000 and ∕ = 0.5.

FIGURE 4 |

85FIGURE 4 | Comparing the current MRT-LBM results with the streamlines and velocity vectors presented by d'Humi'eres et al. [5], under conditions of = 2000, = 1, and = 0.

Figure

86Figure 6a-d depict another code validation test involving a lid-driven cubic cavity with power-law non-Newtonian fluid.The horizontal velocity and vertical velocity are compared with the

FIGURE 5 |

87FIGURE 5 | Comparative analysis of the streamlines and viscosity on -plane, where (a) and (b) represent the cases with = 0.5 and = 1.5 respectively, as reported by Jin et al. [26], and (c) and (d) denote the corresponding results obtained from the current MRT-LBM approach, under conditions of = 400 and ∕ = 0.5.

8 FIGURE 6 |FIGURE 7 |

88FIGURE 6 | Contrasting the current results obtained from MRT-LBM for non-Newtonian fluids with the shear-thinning case ( = 0.8) using D3Q15 cascaded LBM as presented in Adam et al. [29] (a) at = 0.5 and (b) at = 0.5.Similarly, for the shear-thickening scenario ( = 1.5), the analysis includes: (c) at = 0.5 and (d) at = 0.5.These comparisons are conducted at a Reynolds number of = 1000, with = 0.5.

FIGURE 8 |

89FIGURE 8 | Streamlines overlaid on the -velocity field for (a) a shear-thinning fluid with = 0.8 and (b) a shear-thickening fluid with = 1.4,observed at ∕ = 0.5 for = 100.

90parameter in our study.At low Reynolds numbers, viscous effects dominate due to modest inertial forces, resulting in a flow primarily governed by viscosity.Conversely, at high Reynolds numbers, inertial forces prevail, leading to more intricate and chaotic flow patterns.The varying viscosity, = 0 || (−1)

FIGURE 9 |FIGURE 10 |

91FIGURE 9 | Streamlines superimposed on the non-Newtonian viscosity field for (a) a shear-thinning fluid with = 0.8 and (b) a shear-thickening fluid with = 1.4,observed at ∕ = 0.5 for = 100.

TABLE 2 |𝒏 = 0. 8 𝒏 = 1 . 0 𝒏 = 1 . 4 𝒏 = 0. 8 𝒏 = 1 . 0 𝒏 = 1

92Tabulated -velocity profiles along the -coordinate of the lid-driven cavity for various values of = 0.8, 1.0, 1.4 and = 200, 400.0690 −0.0884 -0.1274 −0.0503 −0.0647 −0.0912 0.50 −0.0633 −0.0802 −0.1140 −0.0478 −0.0595 −0.0811 0.55 −0.0576 −0.0717 −0.0995 −0.0444 −0.0534 −0.0702 0.60 −0.0507 −0.0617 −0.0827 −0.0396 −0.0457 −0.0576 0.65 −0.0416 −0.0491 −0.0621 −0.0326 −0.0358 −0.0427 0.70 −0.0293 −0.0324 −0

93detail the and velocity components at ∕ = 0.5 and ∕ = 0.5 for = 200 and = 400.Notably, the -velocity decreases by 19.7% and 82.44% at = 0.15, and increases by 571.15% and 838.46% at = 0.80, for = 200 and = 400, respectively.The -velocity decreases by 19.15% and 26.38% for = 0.8 and = 1.4 as the Reynolds number increases from 200 to 400 at = 0.25.

TABLE 3 |𝒏 = 0. 8 𝒏 = 1 . 0 𝒏 = 1 . 4 𝒏 = 0. 8 𝒏 = 1 . 0 𝒏 = 1

94Tabulated -velocity profiles along the -coordinate of the lid-driven cavity for various values of = 0.8, 1.0, 1.4 and = 200, 400.−0.0152 −0.0260 −0.0267 −0.0376 −0.0398 0.50 −0.0256 −0.0436 −0.0611 −0.0477 −0.0592 −0.0647 0.55 −0.0469 −0.0675 −0.0942 −0.0617 −0.0738 −0.0855 0.60 −0.0628 −0.0873 −0.1269 −0.0659 −0.0799 -0.1052 0.65 −0.0730 −0.1036 −0.1591 −0.0611 −0.0805 −0.1279 0.70 −0.0783 −0.1169 −0.1880 −0.0537 −0.0820 −0.1561 0.75 −0.0797 −0.1259 −0.2072 −0.0494 −0.0888 −0.1858 0.80 −0.0765 −0.1264 −0.2079 −0.0483 −0.0971 −0.2039 0.85 −0.0675 −0.1151 −0.1872 −0.0471 −0.0980 −0.1935 0.90 −0.0455 −0.0811 −0.1311 −0.0385 −0.0791 −0.1475 0.95 −0.0231 −0.0438 −0.0717 −0.0237 −0.0477 −0.0842 1.00 −0.0010 −0.0022 -0.0038 −0.0014 −0.0028 −0.0046

FIGURE 11 |FIGURE 12 |FIGURE 13 |TABLE 4 |𝒏 = 0. 8 𝒏 = 1 . 0 𝒏 = 1 . 4 𝒏 = 0. 8 𝒏 = 1 . 0 𝒏 = 1 4 )

95FIGURE 11 | Streamlines superimposed on the non-Newtonian viscosity field for (a) a shear-thinning fluid with = 0.8 and (b) a shear-thickening fluid with = 1.4,observed at ∕ = 0.5 for = 500.

Figures 14 and 15 TABLE 5 |𝒏 = 0. 8 𝒏 = 1 . 0 𝒏 = 1 . 4 𝒏 = 0. 8 𝒏 = 1 . 0 𝒏 = 1

96Figures 14 and 15 together illustrate the behavior of streamlines and -velocities within non-Newtonian fluids under

FIGURE 14 |FIGURE 15 |

97FIGURE 14 | Streamlines appended on -velocity for (a) shear − thinning fluid, = 0.8 and (b) shear-thickening fluid, = 1.4 at ∕ = 0.5 while = 1000.

FIGURE 16 |

98FIGURE 16 | Velocity distribution for the different power-law index ( = 0.8, 1.0, 1.4 (a) at ∕ = 0.5 and (b) at ∕ = 0.5 while = 1000 and ∕ = 0.5.

FIGURE 17 |

99FIGURE 17 | Viscosity distribution for = 1000: (a) = 0.8 at − plane and ∕ = 0.5, (b) iso-surface of viscosity for = 0.8, (c) = 1.4 at − plane and ∕ = 0.5, and (d) iso-surface of viscosity for = 1.4.

FIGURE 18 |

100FIGURE 18 | Helicity () for the power-law fluids (a) shear-thinning fluid, = 0.8, (b) Newtonian fluid, = 1, and (c) shear-thickening fluid, = 1.4 at ∕ = 0.5 while = 1000.Dashed lines indicate the negative magnitude of the helicity.

1017 , 8 = 10 , 17 = 11 , 13 = 15 20 = 26 , 24 = 22 , 25 = 19 , 21 = 23 (28) Similarly, the bounce-back conditions are used for the west, north, south and bottom faces.Top lid moving diagonally with the velocity ( , , ) = ( facilitated by streaming multiprocessors.During the execution of the kernel function, distinct kernels operate concurrently in distinct grids.Individual threads are identified using the reserved threadIdx variable, whereas thread blocks are accessed through the blockIdx variable.The size of the block and grid is determined across one, two, or three dimensions using the variables and respectively [4].

102model for executing computational programs on GPUs, capitalizing on the inherent advantages of GPU architecture by managing thread and memory hierarchies within the GPU.This programming model executes computational programs based on the single instruction multiple thread (SIMT) principle.SIMT entails the parallel execution of multiple threads through a designated function, the kernel,

TABLE 1 |

103Simulation time for the D3Q19 and D3Q27 MRT-LBM while = 1200 and = 0.8 for the different grid with 20000 steps iteration.

참고문헌 45건

  1. Lattice Boltzmann simulation of solid particles behavior in a three-dimensional lid-driven cavity flow Computers & Mathematics with Applications · Elsevier BV · 2014 10.1016/j.camwa.2014.07.004
  2. Lattice BGK Models for Navier-Stokes Equation EPL (Europhysics Letters) · Institute of Physics · 1992 10.1209/0295-5075/17/6/001
  3. Recovery of the Navier-Stokes equations using a lattice-gas Boltzmann method Physical Review A · American Physical Society · 1992 10.1103/physreva.45.r5339
  4. Numerical Simulation of Viscous Flow in a 3D Lid-Driven Cavity Using Lattice Boltzmann Method Applied Mechanics and Materials · Trans Tech Publications · 2013 10.4028/www.scientific.net/amm.444-445.395
  5. Numerical research on lid-driven cavity flows using a three-dimensional lattice Boltzmann model on non-uniform meshes Science China Technological Sciences · Springer Science+Business Media · 2013 10.1007/s11431-013-5312-4
  6. LBM based flow simulation using GPU computing processor Computers & Mathematics with Applications · Elsevier BV · 2009 10.1016/j.camwa.2009.08.052
  7. Discrete lattice effects on the forcing term in the lattice Boltzmann method Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2002 10.1103/physreve.65.046308
  8. A D3Q27 multiple-relaxation-time lattice Boltzmann method for turbulent flows Computers & Mathematics with Applications · Elsevier BV · 2015 10.1016/j.camwa.2015.01.010
  9. Theory of the lattice Boltzmann method: Dispersion, dissipation, isotropy, Galilean invariance, and stability Physical review. E, Statistical physics, plasmas, fluids, and related interdisciplinary topics · American Physical Society · 2000 10.1103/physreve.61.6546
  10. Numerical investigation of four-lid-driven cavity flow bifurcation using the multiple-relaxation-time lattice Boltzmann method Computers & Fluids · Elsevier BV · 2014 10.1016/j.compfluid.2014.11.018
  11. Quartic parameters for acoustic applications of lattice Boltzmann scheme Computers & Mathematics with Applications · Elsevier BV · 2011 10.1016/j.camwa.2011.01.011
  12. Multiple–relaxation–time lattice Boltzmann models in three dimensions Philosophical Transactions of the Royal Society A Mathematical Physical and Engineering Sciences · Royal Society · 2002 10.1098/rsta.2001.0955
  13. Flow of power-law fluids in a cavity driven by the motion of two facing lids – A simulation by lattice Boltzmann method Journal of Non-Newtonian Fluid Mechanics · Elsevier BV · 2012 10.1016/j.jnnfm.2012.03.007
  14. LATTICE BOLTZMANN METHOD FOR FLUID FLOWS Annual Review of Fluid Mechanics · Annual Reviews · 1998 10.1146/annurev.fluid.30.1.329
  15. Simulation of Power-Law Fluid Flows in Two-Dimensional Square Cavity Using Multi-Relaxation-Time Lattice Boltzmann Method Communications in Computational Physics · Cambridge University Press · 2013 10.4208/cicp.160212.210513a
  16. On the Three-Dimensional Central Moment Lattice Boltzmann Method Journal of Statistical Physics · Springer Science+Business Media · 2011 10.1007/s10955-011-0208-9
  17. Multiple-relaxation-time lattice Boltzmann model for generalized Newtonian fluid flows Journal of Non-Newtonian Fluid Mechanics · Elsevier BV · 2011 10.1016/j.jnnfm.2011.01.002
  18. On the Use of Lattice-Boltzmann Model for Simulating Lid-Driven Cavity Flows of Strain-hardening Fluids Nihon Reoroji Gakkaishi · Society of Rheology, Japan · 2011 10.1678/rheology.38.201
  19. GPU accelerated simulations of three-dimensional flow of power-law fluids in a driven cube International journal of computational fluid dynamics · Taylor & Francis · 2017 10.1080/10618562.2016.1270449
  20. Lattice Boltzmann simulation of convective heat transfer of non-Newtonian fluids in impeller stirred tank Applied Mathematical Modelling · Elsevier BV · 2017 10.1016/j.apm.2017.01.088
  21. Three-dimensional flow with elevated helicity in driven cavity by parallel walls moving in perpendicular directions Physics of Fluids · American Institute of Physics · 2017 10.1063/1.4996179
  22. Numerical investigation of the pseudopotential lattice Boltzmann modeling of liquid–vapor for multi-phase flows Physica A Statistical Mechanics and its Applications · Elsevier BV · 2017 10.1016/j.physa.2017.07.013
  23. Power-law fluid flow in driven enclosures with undulation using MRT-lattice Boltzmann method Computers & Mathematics with Applications · Elsevier BV · 2017 10.1016/j.camwa.2017.09.006
  24. Application of lattice Boltzmann method and spinodal decomposition phenomenon for simulating two-phase thermal flows Physica A Statistical Mechanics and its Applications · Elsevier BV · 2018 10.1016/j.physa.2018.06.030
  25. GPU Accelerated Multiple-Relaxation-Time Lattice Boltzmann Simulation of Convective Flows in a Porous Media Frontiers in Mechanical Engineering · Frontiers Media · 2018 10.3389/fmech.2018.00015
  26. Numerical Simulation of Non-Newtonian Power-Law Fluid Flow in a Lid-Driven Skewed Cavity International Journal of Applied and Computational Mathematics · Springer Nature · 2019 10.1007/s40819-018-0590-y
  27. The computation of strain rate tensor in multiple-relaxation-time lattice Boltzmann model Computers & Mathematics with Applications · Elsevier BV · 2018 10.1016/j.camwa.2018.01.019
  28. Rheology. Concepts, Methods, and Applications Applied Rheology · De Gruyter · 2006 10.1515/arh-2006-0039
  29. Simplified lattice Boltzmann method for non‐Newtonian power‐law fluid flows International Journal for Numerical Methods in Fluids · Wiley · 2019 10.1002/fld.4771
  30. The enthalpy-based lattice Boltzmann method (LBM) for simulation of NePCM melting in inclined elliptical annulus Physica A Statistical Mechanics and its Applications · Elsevier BV · 2019 10.1016/j.physa.2019.123887
  31. CFD analysis for characterization of non-linear power law material in a channel driven cavity with a square cylinder by measuring variation in drag and lift forces Journal of Materials Research and Technology · Elsevier BV · 2020 10.1016/j.jmrt.2020.02.010
  32. Mixed convection in the heated semi-circular lid-driven cavity for non-Newtonian power-law fluids: Effect of presence and shape of the block Chinese Journal of Chemical Engineering · Elsevier BV · 2020 10.1016/j.cjche.2020.03.005
  33. A Numerical Study on the Lid-Driven Cavity with Power-Law Fluids at Different Moving Lengths of the Top Lid CFD letters · Akademia Baru Publishing · 2020 10.37934/cfdl.12.6.107117
  34. A Graphics Process Unit-Based Multiple-Relaxation-Time Lattice Boltzmann Simulation of Non-Newtonian Fluid Flows in a Backward Facing Step Computation · Multidisciplinary Digital Publishing Institute · 2020 10.3390/computation8030083
  35. Transport phenomena in a differentially heated lid-driven cavity: A study using multi-relaxation-time thermal lattice Boltzmann modeling Physics of Fluids · American Institute of Physics · 2020 10.1063/5.0021105
  36. On the Three-Dimensional Central Moment Lattice Boltzmann Method Journal of Statistical Physics · Springer Science+Business Media · 2011 10.1007/s10955-011-0208-9
  37. Cascaded lattice Boltzmann modeling and simulations of three-dimensional non-Newtonian fluid flows Computer Physics Communications · Elsevier BV · 2021 10.1016/j.cpc.2021.107858
  38. Study of mixed convection flow of power‐law fluids in a skewed lid‐driven cavity Heat Transfer · Wiley · 2021 10.1002/htj.22174
  39. Effect of Lewis number on mixed double-diffusive convection in shallow rectangular cavities with double-lid-driven boundaries filled with non-Newtonian power-law fluids AIP conference proceedings · American Institute of Physics · 2021 10.1063/5.0049493
  40. Study of unsteady non-Newtonian fluid flow behavior in a two-sided lid-driven cavity at different aspect ratios Journal of Non-Newtonian Fluid Mechanics · Elsevier BV · 2022 10.1016/j.jnnfm.2022.104975
  41. MHD mixed convection of non-Newtonian power-law ferrofluid in a wavy enclosure Journal of Thermal Analysis and Calorimetry · Springer Science+Business Media · 2023 10.1007/s10973-023-12485-7
  42. Mesoscopic CUDA 3D MRT-LBM Simulation of Natural Convection of Power-Law Fluids in a Differentially Heated Cubic Cavity with a Machine Learning Cross-Validation Arabian Journal for Science and Engineering · Springer Science+Business Media · 2023 10.1007/s13369-023-08464-7
  43. Thermal synthesize of shear thinning nanofluid in small flexible vessel type channel with low seepage Reynold number and Au nanoparticles Case Studies in Thermal Engineering · Elsevier BV · 2023 10.1016/j.csite.2023.103932
  44. Double layered combined convective heated flow of Eyring-Powell fluid across an elevated stretched cylinder using intelligent computing approach Case Studies in Thermal Engineering · Elsevier BV · 2024 10.1016/j.csite.2024.104009
  45. Thermal storage study and enhancement of heat transfer through hybrid Jeffrey nanofluid flow in ducts under peristaltic motion with entropy generation Thermal Science and Engineering Progress · Elsevier BV · 2024 10.1016/j.tsep.2024.102463