Tuesday, October 13, 2015

Numerical simulation of flow past a square obstacle with Lattice Boltzmann Method

 Та бүхэнд Японы барилгын инженерүүдийн холбооны Нийгата муж дахь салбарын зохион байгуулж буй 2015 оны 33-р эрдэм шинжилгээний бага хуралд тавигдах илтгэлээ толилуулж байна. PDF файлаар татах бол энд дарна уу. Зарим текстэн дундах томъёо энэ тэрийг оруулах боломж байхгүй учир pdf файлыг нь үзсэн нь дээр байх.

PDF version of paper is provided to download in here.
Илтгэлийн нэр: Квадрат саад тойрч урсах урсгалыг ЛБА-аар тооцсон нь.

Numerical simulation of flow past a square obstacle with Lattice Boltzmann Method


Nagaoka University of Technology, Graduate student, Ayurzana Badarch
Nagaoka University of Technology, Professor Hosoyamada Tokuzo
Nagaoka University of Technology, Graduate student, Ohtake Takeshi



1.      Introduction

Numerical technique Lattice Boltzmann Method (LBM) is relatively new approach based on gas kinetic theory in meso-scale. Macroscopic variables such as pressure and velocity can be determined by momentum of so called particle distribution functions which are described by Boltzmann transport equation. LBM has been extensively studied in last several decades and witnessed as capable like conventional methods for various fluid problems. LBM has its own procedure to solve fluid problems and aforementioned Boltzmann equation (LBE) used to solve fluid flow instead of Navier-Stokes equation (NSE) [1]. To reveal LBM is liable to apply fluid flow, derivation of macroscopic NSE from LBE is made under the Chapman-Enskog expansion which is a multiscale analysis by Chapman and Enskog [2]. LBM is a well-established alternative when it comes to simulate various types of fluid flows including turbulence, multicomponent, multiphase, and porous media flows across complicated geometries [3]. In civil engineering field LBM has been successfully solved free surface flow, groundwater flow and tsunami with shallow water equation. Main advantages of LBM being useful and attractive method in fluid dynamics over the classical approach to solving NSE are its remarkable conceptual simplicity, ease of implementation, predestination to massive parallel computing and straightforward implementation of geometry. In this paper, simplest form of LBM, namely LBM with Bhatnagar-Gross-Krook (BGK) collision operator, is incorporated with turbulent theory and presented for flow around simple square obstacle.

Flow around bluff bodies has been studied for a long time and still an attraction. Most of these studies were concerned with the circular cylinder case under free flow condition in both of traditional and LBM [4]. Flow past rectangular and different shaped bodies were studied extensively but less than circular shape. Practical application of flow past bluff bodies can be found in many fields such as bridge and tall building in civil engineering. Also those well studied problems are considered benchmark to validate code or proposed models in fluid dynamics. In this paper flow past square obstacle is presented by LBM at different Reynolds number of 100 to 3.82x104.

2.      Extended Lattice Boltzmann method with BGK collision operator

Nature of standard LBM with BGK is devoted to solve incompressible flow under condition of low Mach and Reynolds number. Particularly in high Reynolds number flow, instability of simulation is caused by value of relaxation time which relevant to solving fluid viscosity. To overcome this difficulty, conventional turbulence models such as Large Eddy simulation (LES), Reynolds Averaged Navier-Stokes (RANS) and Direct Numerical simulation (DNS) are incorporating to LBE get extension. To use LES in LBM, one approach is to use Sub Grid Scale (SGS) model in lattice Boltzmann equation [2]. So main equation with BGK collision operator to be solved in LBM framework is given as following discretized form [5]:
Where fi and fieq are particle and equilibrium distribution functions at position x and time t,  is the particle velocity along the i th direction, and tau (=3nu+1/2) is relaxation time that controls the rate of approach to equilibrium. For simulate two dimensional problems, so called D2Q9 (two dimensional nine velocity square lattice) arrangement of lattice with nine discrete velocities  is commonly used. The discrete velocity set is written as
Where . Equilibrium distribution function works main role of problem specifications and expressed as follow in flow field [1].
Where wi and cs are lattice weighting factor (for D2Q9 ) and lattice sound speed,  and  are macroscopic density and velocity which can be obtained by momentum of distribution function  as follows;
Where N=8. To incorporate turbulent model, this paper use introduced approach of SGS in ref. [6]. Modified relaxation time  included local eddy viscosity  is embedded in equation (1) instead of relaxation time . So total relaxation time is
Where  is physical kinematic viscosity and  is eddy viscosity term,  and  are Smagorinsky constant and mesh size of numeric grid,  is magnitude of large scale strain rate. In ref. [6], they neglected high order velocity effects to get this magnitude.
Where  can be easily calculated locally in LBM framework as follow,
So called the Extended Lattice Boltzmann equation (ExLBM) can be written as;
For boundary condition, simple bounce back condition is used to obstacle surface and top and bottom wall of channel while extrapolation method imposed in outlet of domain. Inflow velocity assumed to be uniform.

3.      Numerical simulation and code validation

Numerical simulations have been carried out in a domain corresponding to that ref [7] and shown in figure 1. This domain was tested by several authors in turbulence flow with LES, DNS and even experiments. In current study, obstacle side length D is chosen to be 20 nodes, so Reynolds number and Strouhal number are expressed as;
  Figure 1. Schematic illustration of domain and lattice, a) domain size and position of obstacle, b) measurement direction of obstacle, c) lattice arrangement.
Where  and  are inflow velocity and vortex shedding frequency, respectively. For bluff bodies, important parameters are drag, lift and pressure coefficients. They are estimated with rms and mean value.
Where  and  are pressure and forces acting on obstacle surface,  is reference pressure. Forces on single node can be calculated by momentum exchange with surrounding all possible fluid nodes as follow [8];
Where –i is opposite direction of i. Before to simulate high Reynolds number flow, we must validate our result with several ref at Re=100 and compared (see figure 2). Standard LBM (SLBM) and Extended LBM (ExLBM) in same conditions also should be compared. In ref [9], they use different domain and periodic inflow condition. Approaching velocity is coincided in all simulation, however past flow presents different behavior which can be impacted by domain distinction and inflow condition. Flow profiles of SLBM and ExLBM are should be same at certain time according to its concept. But in same simulation time and condition, they present different profile which may due to evaluation of eddy viscosity in every lattice in ExLBM. It should be noted that flow pattern and its magnitude were same in SLBM and ExLBM at different time. In ref [9], drag coefficient and Strouhal number were estimated as 1.35 and 0.14, respectively, while in our calculation they are estimated as 1.27 and 0.15, respectively. This nearby result shows that our code works properly in laminar flow. For flow past bluff bodies, Reynolds number higher than 300 are considered in turbulent flow. To validate our code works proper in turbulent regime, we compared pressure coefficient with result of ref [10] shown in figure 4.

Figure 2. Profile of horizontal velocity component in streamwise direction obtained by ExLBM is compared with Finite volume method and Standard Lattice Boltzmann method of ref. [9].

Figure 3. Vorticity around and past square obstacle at Re=100. Lower figure is result of ref [9]
In our simulation pressure coefficient drop down more than result of ref [10] in two corner of front face of obstacle. Except two corners, other point’s values are agreeable with references at Reynolds number of 22000. It is notable that combination of chosen value for viscosity and inflow velocity imposes result and numerical oscillation. Streamlines around obstacle is compared with ref [10] and that was also in good agreement. Drag, lift coefficients and Strouhal number are determined as , and St=0.126 in current study while those parameters in ref [10] was  and St=0.134 at Re=22000. In ref [10], recirculation eddies observed in upper and lower part of obstacle also can be found with finer grid condition in our simulation. Framework of ExLBM use to stress tensor evaluated by Smagorinsky model, so it is obvious to compare vertical velocity of observation points nearest wake of obstacle (see fig 1) to ref results obtained from conventional method [11] incorporated with Smagorinsky model in figure 6.

Figure 4. Pressure coefficient on obstacle surface of different studies [10] and starting point is O shown in figure 1.

Figure 5. Streamlines comparison, upper one is current study while lower one is result of ref [10] at Re=22000.
With same geometry (see fig 1), conventional high order computational framework, called PHEONICS, is used to solve 2D&3D LES simulation with different approach for sub grid Reynolds stress in ref [7]. From the comparison in fig 6, both results of present and ref [7] used to Smagorinsky model are met each other very well while LES with different model has higher amplitude of velocity profile than them. Important parameters such as coefficients and Strouhal number are compared with different results in table 1 at Re=21400 because parameters are suitable to compare and determined from direct effect of distribution functions in LBM framework and averaged over simulation time. In high Reynolds number flow, two case have been compared and in good agreement with references. Currently, up to Re=2.2x104 flow study on square obstacle have not yet been simulated with LBM among survey of previous studies on internet. In this study, flow past square obstacle has studied until Re of 3.82x105 and some of their parameters are put into lower part of table 1.

Figure 6. Vertical velocity plotted on observation point behind of obstacle in different models at Re=21400.
Table 1. Time averaged square cylinder data. Some labels used are the same as in ref. [11]
Ref.
Label
St
Pr.study
ExLBE
0.022
3.081762
0.818
0.159
[11]
SGS
0.03
2.01
-
0.139
[12]
ST2
-
2.72
-
0.16
Parameters at different Reynolds number in present study
Re
30500
0.022
3.081549
0.817
0.11

48469
0.022
3.078461
0.818
0.1

50064
0.021
3.078595
0.82
0.103

87230
0.021
3.081680
0.823
0.107

101702
0.022
3.081954
0.82
0.106

153214
0.023
3.057498
0.819
0.096

204367
0.021
3.058541
0.828
0.099

306064
0.021
3.057901
0.822
0.109

382280
0.023
3.069460
0.822
0.1

4.      Conclusion

In this study, flow past square cylinder has been studied with LBM incorporated with Smagorinsky subgrid scale model at wide range of Reynolds number (102-3.82x105). Numerous results from conventional methods like FD and FVM are compared with present study on corresponding condition with in good agreement which imply that our LBM code works properly and has reasonable accuracy. To be stable simulation over long simulation time, control parameters such as input velocity and fluid viscosity or relaxation time should be chosen in a certain combination. In case of channel flow with square obstacle, decrease of input velocity was good combination with increase of relaxation parameter. Our code to simulate flow past bluff bodies can carry out up to Re of 5x105 with some oscillation on vicinity of obstacle edge. In large scale problem with ExLBM would have computational cost which can be managed by exploit of parallel computation. It should be noted that results in paper are shown in dimensionless form.
Standard LBM has not only limited to apply as shown above turbulent flow, but also restricted to non homogenies and multicomponent flows which are challenged and branched to different type LBM models such as Two Fluid and Phase function model etc. Our future work related to both restrictions. With LBM method we have been striving to solve crucial hydraulics problem such as density current in estuary, sediment transport or bed evaluation and ice formation process in continental rivers.

References

[1]
A.A.Mohamad, Lattice Boltzmann Method: fundamentals and Engineering applications with Computer Codes, New York: Springer, 2011.
[2]
Z. Guo and C. Shu, Lattice Boltzmann Method and its applications in Engineering, London: World Scientific Publishing, 2013.
[3]
S. Chen and G. D.Doolen, "Lattice Boltzmann method for fluid flows," Annual Review of Fluid Mechanics, vol. 30, pp. 329-364, 1998.
[4]
X. He and G. Doolen, "Lattice Moltzmann Method on curvilinear Coordinates system: Flow around a circular cylinder," Journal of Computational Physics, vol. 134, no. 2, pp. 306-315, 1997.
[5]
D. Perumal, G. V.S, V.S.Kumar and A. K.Dass, "Numerical simulation of Viscous flow over a Square Cylinder using Lattice Boltzmann Method," ISRN Mathematical Physics, vol. 2012, p. 16, 2012.
[6]
S.Hou, J.Sterling, S.Chen and G.D.Doolen, "A Lattice Boltzmann Model for High Reynolds Number Flows," arXiv:comp-gas/9401004, p. 18, 1994.
[7]
J.S.Ochoa and N.Fueyo, "Large Eddy Simulation of the flow a square cylinder," Journal of Fluids Engineering, vol. 122, no. 1, pp. 39-47, 2000.
[8]
A. J. C. Ladd, "Numerical Simulation of Particulate Suspensions via a Discretized Boltzmann Equation. Part II Numerical Results.," Journal of Fluid Mechanics, pp. 311-339, 1994.
[9]
M.Breuer, J.Bernsdorf and F. T.Zeiser, "Accurate computations of the laminar flow past a square cylinder based on two different methods: Lattice Boltzmann and Finite volume," International Journal of Heat and Fluid flow, vol. 21, pp. 186-196, 2000.
[10]
T. Liu, G. Liu, Y. Ge, H. Wu and W. Wu, "Extended Lattice Boltzmann Equation for simulation of flows around bluff bodies in high Reynolds number," in Bluff Bodies Aerodynamics & Applications, Milano, Italy, 2008.
[11]
D.-H. Kim, K.-S. Yang and M. Senda, "Large Eddy Simulation of turbulent flow past a square cylinder confined in a channel," Computer & Fluids, vol. 33, no. 1, pp. 81-96, 2004.
[12]
K. Norifusa and H. Kawamura, "Numerical Analysis of Les of Flow Past a Long Square Cylinder," in direct abd Large Eddy simulation II, Zurich, Springer Netherlands, 1997, pp. 413-422.




No comments:

Post a Comment