FINITE-DIFFERENCE IMPLEMENTATION OF LATTICE BOLTZMANN METHOD FOR USE WITH NON-UNIFORM GRIDS

Similar documents
External and Internal Incompressible Viscous Flows Computation using Taylor Series Expansion and Least Square based Lattice Boltzmann Method

Study on lattice Boltzmann method/ large eddy simulation and its application at high Reynolds number flow

LATTICE BOLTZMANN SIMULATION OF FLUID FLOW IN A LID DRIVEN CAVITY

Assessment of the Accuracy of the Multiple-Relaxation-Time Lattice Boltzmann Method for the Simulation of Circulating Flows

Numerical Investigation on Shear Driven Cavity Flow by the Constrained Interpolated Profile Lattice Boltzmann Method

Simulation of Lid-driven Cavity Flow by Parallel Implementation of Lattice Boltzmann Method on GPUs

A Momentum Exchange-based Immersed Boundary-Lattice. Boltzmann Method for Fluid Structure Interaction

Numerical Study of the 2D Lid-driven Triangular Cavities Based on the Lattice Boltzmann Method Bo AN 1a and J.M. Bergadà 1

Lattice Boltzmann Method for Fluid Simulations

Lattice Boltzmann Modeling of Wave Propagation and Reflection in the Presence of Walls and Blocks

68 Guo Wei-Bin et al Vol. 12 presented, and are thoroughly compared with other numerical data with respect to the Strouhal number, lift and drag coeff

Predictor-Corrector Finite-Difference Lattice Boltzmann Schemes

Lattice Boltzmann Method for Fluid Simulations

Simulation of lid-driven cavity ows by parallel lattice Boltzmann method using multi-relaxation-time scheme

The behaviour of high Reynolds flows in a driven cavity

Drag Force Simulations of Particle Agglomerates with the Lattice-Boltzmann Method

Computer simulations of fluid dynamics. Lecture 11 LBM: Algorithm for BGK Maciej Matyka

A Compact and Efficient Lattice Boltzmann Scheme to Simulate Complex Thermal Fluid Flows

SEMICLASSICAL LATTICE BOLTZMANN EQUATION HYDRODYNAMICS

Simulation of 2D non-isothermal flows in slits using lattice Boltzmann method

1. Introduction, tensors, kinematics

SIMULATION OF MIXED CONVECTIVE HEAT TRANSFER USING LATTICE BOLTZMANN METHOD

LATTICE BOLTZMANN MODELLING OF PULSATILE FLOW USING MOMENT BOUNDARY CONDITIONS

Numerical Investigation of Fluid and Thermal Flow in a Differentially Heated Side Enclosure walls at Various Inclination Angles

Due Tuesday, November 23 nd, 12:00 midnight

Two-Dimensional Unsteady Flow in a Lid Driven Cavity with Constant Density and Viscosity ME 412 Project 5

arxiv: v1 [physics.flu-dyn] 10 Aug 2015

SIMULATION OF THREE-DIMENSIONAL INCOMPRESSIBLE CAVITY FLOWS

Project Topic. Simulation of turbulent flow laden with finite-size particles using LBM. Leila Jahanshaloo

Lattice-Boltzmann vs. Navier-Stokes simulation of particulate flows

DURING the past two decades, the standard lattice Boltzmann

Fine Grid Numerical Solutions of Triangular Cavity Flow

Practical Aspects of the Simulation of Two- Dimensional Flow Around Obstacle with Lattice Boltzmann Method (LBM)

Simulation of Rarefied Gas Flow in Slip and Transitional Regimes by the Lattice Boltzmann Method

NON-DARCY POROUS MEDIA FLOW IN NO-SLIP AND SLIP REGIMES

Project 4: Navier-Stokes Solution to Driven Cavity and Channel Flow Conditions

Lattice Boltzmann Modeling From the Macro- to the Microscale - An Approximation to the Porous Media in Fuel Cells -

Simulation of Flow Induced Noise in Exhaust Silencers

n i,j+1/2 q i,j * qi+1,j * S i+1/2,j

Three-dimensional simulation of slip-flow and heat transfer in a microchannel using the lattice Boltzmann method

Validation 3. Laminar Flow Around a Circular Cylinder

MODELLING OF THE BOUNDARY CONDITION FOR MICRO CHANNELS WITH USING LATTICE BOLTZMANN METHOD (LBM)

Alternative and Explicit Derivation of the Lattice Boltzmann Equation for the Unsteady Incompressible Navier-Stokes Equation

Using OpenMP on a Hydrodynamic Lattice-Boltzmann Code

Improved treatment of the open boundary in the method of lattice Boltzmann equation

A Unified Gas-kinetic Scheme for Continuum and Rarefied Flows

APPRAISAL OF FLOW SIMULATION BY THE LATTICE BOLTZMANN METHOD

The Use of Lattice Boltzmann Numerical Scheme for Contaminant Removal from a Heated Cavity in Horizontal Channel

Shear Force in Radiometric Flows

Lattice Boltzmann Simulations of 2D Laminar Flows past Two Tandem Cylinders

Computational Fluid Dynamics-1(CFDI)

Fine grid numerical solutions of triangular cavity flow

Development of a Parallel, 3D, Lattice Boltzmann Method CFD Solver for Simulation of Turbulent Reactor Flow

Lattice Bhatnagar Gross Krook model for the Lorenz attractor

Grad s approximation for missing data in lattice Boltzmann simulations

Level Set-based Topology Optimization Method for Viscous Flow Using Lattice Boltzmann Method

Turbulent Boundary Layers & Turbulence Models. Lecture 09

ME615 Project Presentation Aeroacoustic Simulations using Lattice Boltzmann Method

Coupling of Lattice Boltzmann Equation and Finite Volume Method to Simulate Heat Transfer in a Square Cavity

Pressure-velocity correction method Finite Volume solution of Navier-Stokes equations Exercise: Finish solving the Navier Stokes equations

Detailed Outline, M E 521: Foundations of Fluid Mechanics I

Lattice Boltzmann Model

Lattice Boltzmann Method for Moving Boundaries

Multiphase Flow Simulations in Inclined Tubes with Lattice Boltzmann Method on GPU

Research of Micro-Rectangular-Channel Flow Based on Lattice Boltzmann Method

Lattice Boltzmann Method Solver Documentation

Numerical Solutions of 2-D Steady Incompressible Driven Cavity Flow at High Reynolds Numbers

LATTICE-BOLTZMAN METHOD IN CFD MODELLING OF DIRECT ACTING RELIEF VALVE

Simulation and improvement of the ventilation of a welding workshop using a Finite volume scheme code

THE development of computational aeroacoustics essentially

Chapter 6: Incompressible Inviscid Flow

NOVEL FINITE DIFFERENCE SCHEME FOR THE NUMERICAL SOLUTION OF TWO-DIMENSIONAL INCOMPRESSIBLE NAVIER-STOKES EQUATIONS

Fluid Dynamics: Theory, Computation, and Numerical Simulation Second Edition

The lattice Boltzmann equation (LBE) has become an alternative method for solving various fluid dynamic

Simulation of floating bodies with lattice Boltzmann

Research Article Numerical Simulation of Viscous Flow over a Square Cylinder Using Lattice Boltzmann Method

CFD Based Optimization of a Vertical Axis Wind Turbine

ZFS - Flow Solver AIA NVIDIA Workshop

Analysis and boundary condition of the lattice Boltzmann BGK model with two velocity components

Numerical Simulation Of Pore Fluid Flow And Fine Sediment Infiltration Into The Riverbed

An Accurate Curved Boundary Treatment in the Lattice Boltzmann Method

FINITE ELEMENT ANALYSIS OF MIXED CONVECTION HEAT TRANSFER ENHANCEMENT OF A HEATED SQUARE HOLLOW CYLINDER IN A LID-DRIVEN RECTANGULAR ENCLOSURE

Suppression of the unsteady vortex wakes of a circular cylinder pair by a doublet-like counter-rotation

Application of the Lattice-Boltzmann method in flow acoustics

Computation of Incompressible Flows: SIMPLE and related Algorithms

SIMULATION OF NATURAL CONVECTION HEAT TRANSFER USING NANOFLUID IN A CONCENTRIC ANNULUS

Connection Between the Lattice Boltzmann Equation and the Beam Scheme

Numerical Study of Natural Unsteadiness Using Wall-Distance-Free Turbulence Models

Chapter 9: Differential Analysis

Cranfield University, Cranfield, Bedfordshire, MK43 0AL, United Kingdom. Cranfield University, Cranfield, Bedfordshire, MK43 0AL, United Kingdom

Boundary-Layer Theory

Gas Turbine Technologies Torino (Italy) 26 January 2006

Simplified Mesoscale Lattice Boltzmann Numerical Model for Prediction of Natural Convection in a Square Enclosure filled with Homogeneous Porous Media

IMMERSED BOUNDARY METHODS IN THE LATTICE BOLTZMANN EQUATION FOR FLOW SIMULATION. A Dissertation SHIN KYU KANG

A one-point boundary condition for the lattice Boltzmann method

LATTICE BOLTZMANN METHOD AND DIFFUSION IN MATERIALS WITH LARGE DIFFUSIVITY RATIOS

Numerical Investigation of Laminar Flow over a Rotating Circular Cylinder

Chapter 9: Differential Analysis of Fluid Flow

Available online at ScienceDirect. Procedia Engineering 61 (2013 ) 94 99

A DYNAMICALLY ADAPTIVE LATTICE BOLTZMANN METHOD FOR THERMAL CONVECTION PROBLEMS

Transcription:

7. ANKARA INTERNATIONAL AEROSPACE CONFERENCE AIAC-2013-143 11-13 September 2013 - METU, Ankara TURKEY FINITE-DIFFERENCE IMPLEMENTATION OF LATTICE BOLTZMANN METHOD FOR USE WITH NON-UNIFORM GRIDS Fatih ÇEVİK 1, Göktan GÜZEL 2 Dr. Bedri YAĞIZ 3 Aselsan Inc. Ankara, Turkey Prof. Dr. M. Haluk AKSEL 4 Prof. Dr. Kahraman ALBAYRAK 5, Middle East Technical University Ankara, Turkey ABSTRACT In this paper, finite-difference based Lattice Boltzmann Method (LBM) is implemented to perform fluid flow analysis using non-uniform grids. The implementation is done through the transformation of coordinates from physical space to computational space. With the approach followed, the known limitation of the standard LBM on lattice uniformity is removed. This improvement gives the possibility of solving fluid flow problems with the LBM using coarser grids that are refined where it is necessary. Another advantage gained with the present implementation is handling curved boundaries much easier with non-uniform grids since body-fitted grids might be used now. To validate the present implementation, laminar 2-D lid-driven cavity problem is solved and the results obtained using both uniform and non-uniform grids with the same number of points are compared against each other and with the results from literature. It is observed that clustering the grid points towards to the cavity walls, the solution is improved significantly regarding the velocity profiles along the vertical and horizontal center lines of the square cavity. Then, laminar flow around a 2-D cylinder is solved to show the capability of handling curved boundaries with the current method. For this purpose, some computed quantities are compared with the data from the literature that is obtained experimentally. Very close agreement is obtained for this case, too. INTRODUCTION The LBM is a fairly new numerical method which is originated from the Lattice-Gas Automata (LGA) method. The LGA method can be considered as a simple Molecular Dynamics method. The purpose of the LGA method is to simulate the behavior and interaction of particles in a gas as simple as possible. For this purpose, the gas is modeled as a cluster of solid spheres moving along a uniform lattice [Chopard, B. and Droz, M. 2005]. Each solid sphere has a discrete set of possible velocities and the collision between separate particles is handled by a set of elastic collision rules. Macroscopic quantities, such as particle density and velocity at each lattice node, can be computed using the microscopic quantities, making it possible to study the macroscopic behavior of a fluid flow. Even though the idea is simple, the method still gives the same behavior corresponding to the Navier- Stokes equations. Beyond this, it has the advantages such as low memory requirement and high parallelization capability. But numerically, the LGA method suffers the statistical noise caused by the averaging procedure to obtain the macroscopic properties from the microscopic properties. To remedy the statistical noise that the LGA method suffers, the LBM was developed. As being a derivate of the LGA method, the LBM basically relies on the same idea. But, instead of handling single particles, the LBM handles particle distributions. This removes the need for averaging to obtain the 1 Senior Specialist, Email: facevik@aselsan.com.tr 2 Senior Specialist, Email: goguzel@aselsan.com.tr 3 Senior Specialist, Email: byagiz@aselsan.com.tr 4 Professor, Mech. Eng. Dept, Email: aksel@metu.edu.tr 5 Professor, Mech. Eng. Dept, Email: albayrak@metu.edu.tr

macroscopic properties from the microscopic properties, so the statistical noise is also removed. Still, it retains the same advantages as LGA method has [Nourgaliev, R.R. et al 2003]. So, this makes the LBM an attractive method, and there is an increasing interest in the LBM in the Computational Fluid Dynamics (CFD) community. So, the progress in developing and employing LBM is rapid. Even, there are various LBM based commercial flow solvers available on the market, like PowerFLOW developed by Exa Corporation. However, the method is restrictive about the uniformity of the computational grid. This restriction is the property that LBM inherited from the LGA method. These shortcomings are to be the major handicap on widespread use of LBM in engineering problems. So, a lot of research is going on to improve these aspects of LBM. In this paper, the LBM is implemented using the finite difference approach on generalized coordinates. With the approach followed, the known limitation of the LBM on lattice uniformity is removed and better handling of curved boundaries is succeeded. A generic viscous flow problem, 2-D lid-driven cavity, is solved at low Reynolds number condition and the results obtained using both uniform and non-uniform grids are compared against each other and with the results from literature. Then, laminar flow around a 2-D cylinder is solved to show the capability of handling curved boundaries with the current method. NUMERICAL METHOD In the LBM, one solves the kinetic equation of particle distribution function. A kinetic model widely used in the literature is Bhatnagar-Gross-Krook (BGK) model [Bhatnagar, P.L., Gross, E.P., and Krook, M. 1954], which has the following form; (1) where is the particle distribution function, in which is the position vector, is the particle velocity vector, t is the time, is the Maxwell- Boltzmann distribution function, and λ is the relaxation time. To solve numerically, Equation (1) is discretized in the velocity space using a set of velocities, [Bhatnagar, P.L., Gross, E.P., and Krook, M. 1954] (2) In the above equation, is the distribution function associated with the th discrete velocity,. For 2- D problems, one might use D2Q9 model [He, X.Y. and Luo, L.S. 1997b] of which the discrete velocities are shown in Figure (1) below; 6 2 5 3 1 7 4 8 Figure 1. Dicrete velocities of D2Q9 model. 2

The discrete velocities of D2Q9 model are presented by; (3) where is the lattice velocity. Equation (2) might be written in the following form; (4) In order to deal with non-uniform grids, a transformation from physical coordinate system to generalized coordinate system is performed. The relation between these two coordinate systems is given by; (5) where the Jacobian, J, is defined as; (6) Using the chain rule, the convective term in Equation (4) can be written as; (7) where and are the contravariant velocities and are defined by; (8) So, Equation (4) takes the following form in generalized coordinate system; (9) The macroscopic properties can be calculated using the particle distribution functions using; (10) 3

The convection term in Equation (9) might be discretized using any central or upwind schemes. The central scheme is less dissipative compared to upwind schemes, but it is known to produce unphysical wiggles in the solution field. To remedy this, a mix of central and upwind schemes is used for the present study and 2 nd order accuracy is obtained in spatial discretization. The time integration of Equation (9) is done using 2 nd order Implicit-Explicit Runge Kutta time discretization scheme [Qian, Y.H., Dhumieres, D., and Lallemand, P. 1992]. The implementation of boundary conditions is done using the extrapolation method giving in [Pareschi, L. and Russo, G. 2005]. VALIDATION OF THE METHOD First, laminar 2-D lid-driven cavity problem for Reynolds number of 400 is solved both on uniform and non-uniform Cartesian grids of 64x64 points. The obtained solutions are compared against each other and with the results from the literature [Ghia, U., Ghia, K.N., and Shin, C.T. 1982] to show the validity of the current method. The computed result of Reference [Ghia, U., Ghia, K.N., and Shin, C.T. 1982]in terms of streamlines inside the square cavity at Reynolds number of 400 is shown in Figure (2). The grid used for that computation is a uniform grid with 128x128 points. Figure 2. Streamlines inside the cavity for Re = 400 on uniform grid of 128x128 points [Ghia, U., Ghia, K.N., and Shin, C.T. 1982] Figure 3. Grid and computed streamlines inside the cavity for Re = 400 on uniform grid of 64x64 points. 4

Figure 4. Grid and computed streamlines inside the cavity for Re = 400 on non-uniform grid of 64x64 points. As seen from Figure (2), for this Reynolds number, there exist one primary vortex around the center and two secondary vortices around the bottom corners of the cavity. In the present computations, when uniform grid of 64x64 points is used, the primary and one of the secondary vortices that is at the right corner of the cavity are captured but with smaller magnitude (see Figure (3)). The resolution of the grid is seen to be not enough to capture the left vortex. When a non-uniform grid of 64x64 points is used, the magnitude of the right vortex is increased and the left vortex is captured. This is because of the better resolution around the corners that is obtained with grid stretching. Comparisons of the velocity profiles along the vertical and horizontal center lines of the square cavity for the grids used and the results of the computations from Reference [Ghia, U., Ghia, K.N., and Shin, C.T. 1982]is shown in Figure (5) and (6), respectively. Figure 5. Comparison of velocity component in x-direction with the results from [Ghia, U., Ghia, K.N., and Shin, C.T. 1982], for Re=400. 5

Figure 6. Comparison of velocity component in y-direction with the results [Ghia, U., Ghia, K.N., and Shin, C.T. 1982], for Re=400. As seen from Figure (5) and (6), the velocity profiles are predicted more accurately with non-uniform grid compared to uniform grid that has equal number of points. To show the capability of the present implementation on handling curved boundaries, the laminar flow around a circular cylinder is solved for various Reynolds numbers ranging from 10 to 40 and the results are compared with the experimental data. The whole computational domain and a closer view of the grid around the cylinder are shown in Figure (7). Figure 7. Computational domain and a closer view of the grid around the cylinder. 6

For the Reynolds numbers up to 40, the flow around the cylinder is steady and the separated flow over the cylinder surface forms two vortices that rotate in opposite direction. The computed streamlines for Reynolds number equal to 10, 20, and 40 are shown in Figure (8). Figure 8. Computed streamlines around the cylinder for Re = 10, 20, and 40 respectively. 7

From Figure (8), the length of the wake and separation angles for the 3 different cases are extracted and compared with the data from the literature as given in Table (1). The computed drag coefficients are also compared as in Table (2). As seen from Table (1) and (2), the present results are in good agreement with the experimental data. Table 1. Computed and experimental parameters of flow over a cylinder for Re = 10, 20, and 40. Re=10 Re=20 Re=40 L/r θ L/r θ L/r θ [Nieuwstadt, F.T. and Keller, H.B. 1973] 0.434 27.96 1.786 43.37 4.357 53.34 [Coutanceau, M. and Bouard, R. 1977] 0.680 32.50 1.86 44.80 4.260 53.50 [He, X.Y. and Luo, L.S. 1997b] 0.474 26.89 1.842 42.90 4.490 52.84 [Mei, R.W. and Shyy, W. 1998] 0.498 30.0 1.804 42.10 4.380 50.12 Present 0.492 29.11 1.864 43.38 4.357 53.34 Table 2. Computed and experimental drag coefficients of a cylinder for Re = 10, 20, and 40. Cd Re=10 Re=20 Re=40 [Nieuwstadt, F.T. and Keller, H.B. 1973] 2.828 2.053 1.550 [He, X.Y. and Luo, L.S. 1997a] 3.170 2.152 1.499 Present 2.862 2.051 1.529 CONCLUSION In this paper, finite-difference based Lattice Boltzmann Method (LBM) is implemented on non-uniform grids. With the approach followed, the known limitation of the standard LBM on lattice uniformity is removed. To validate the present implementation, laminar 2-D lid-driven cavity problem is solved and the results obtained using both uniform and non-uniform grids with the same number of grid points are compared against each other and with the results from literature. It is observed that clustering the grid points towards to the cavity walls, the solution is improved significantly regarding the velocity profiles along the vertical and horizontal center lines of the square cavity. Then, laminar flow around a 2-D cylinder is solved to show the capability of handling curved boundaries with the current method. For this purpose, some computed quantities are compared with the data from the literature that is obtained experimentally. Very close agreement is obtained for this case, too. References Bhatnagar, P. L., Gross, E. P., and Krook, M.(1954)A Model for Collision Processes in Gases.1. Small Amplitude Processes in Charged and Neutral One-Component Systems,94p:511-525, 1954 Chopard, B. and Droz, M.(2005)Cellular Automata Modeling of Physical Systems,Cambridge University Press, 2005 Coutanceau, M. and Bouard, R.(1977)Experimental-Determination of Main Features of Viscous-Flow in Wake of A Circular-Cylinder in Uniform Translation.1. Steady Flow,79p:231-&, 1977 Ghia, U., Ghia, K. N., and Shin, C. T.(1982)High-Re Solutions for Incompressible-Flow Using the Navier Stokes Equations and A Multigrid Method,48p:387-411, 1982 He, X. Y. and Luo, L. S.(Aug 1997a)Lattice Boltzmann model for the incompressible Navier-Stokes equation,88p:927-944, Aug 1997a 8

He, X. Y. and Luo, L. S.(Dec 1997b)Theory of the lattice Boltzmann method: From the Boltzmann equation to the lattice Boltzmann equation,56p:6811-6817, Dec 1997b Mei, R. W. and Shyy, W.(Jul 1998)On the finite difference-based lattice Boltzmann method in curvilinear coordinates,143p:426-448, Jul 1998 Nieuwstadt, Frans T and Keller, Herbert B.(Jan 1973)Viscous flow past circular cylinders,1, Jan 1973 Nourgaliev, R. R., Dinh, T. N., Theofanous, T. G., and Joseph, D.(Jan 2003)The lattice Boltzmann equation method: theoretical interpretation, numerics and implications,29p:117-169, Jan 2003 Pareschi, L. and Russo, G.(Oct 2005)Implicit-explicit Runge-Kutta schemes and applications to hyperbolic systems with relaxation,25p:129-155, Oct 2005 Qian, Y. H., Dhumieres, D., and Lallemand, P.(Feb 1992)Lattice Bgk Models for Navier-Stokes Equation,17p:479-484, Feb 1992 9