Elsevier

Computers & Fluids

Volume 202, 30 April 2020, 104492
Computers & Fluids

Rectangular lattice Boltzmann method using multiple relaxation time collision operator in two and three dimensions

https://doi.org/10.1016/j.compfluid.2020.104492Get rights and content

Highlights

  • A novel 2D and 3D rectangular grid, MRT lattice Boltzmann implementation.

  • Equilibrium moments and matrices included for D2Q9 and D3Q27 lattice implementation.

  • Linear stability analysis performed.

  • Quasi-incompressible second order multi-scale expansion presented.

  • Taylor-Green vortex and turbulent channel flow simulations performed.

Abstract

We present a lattice Boltzmann (lb) method using a rectangular, non-isotropic lattice based on d2q9 and d3q27 velocity sets in two and three dimensions. A second order multi-scale expansion ensures that the scheme correctly reproduces hydrodynamic behaviour. A novel set of basis vectors is introduced in order to allow independent adjustment of eigenvalues corresponding to second order moments as required in order to ensure correct hydrodynamic behaviour using the non-isotropic lattice. Errors are reduced compared to other rectangular grid implementations. Linear perturbation analysis indicates that our scheme has similar stability properties to the isotropic lb method. We investigate the error behaviour of our scheme by performing Taylor-Green vortex flow simulations and comparing our results to simulations using a square grid and also to analytical results. We demonstrate that our scheme is well suited to direct numerical simulation of wall bounded turbulent flows and compare to well known benchmark results.

Introduction

The lattice Boltzmann (lb) method has been increasing in popularity as a means of simulating fluid flow. The explicit and local nature of calculations allows highly efficient parallel implementations and the method has been successfully adapted to massively parallel computing architectures such as graphics processing units [1], [2], [3], [4] as well as achieving high performance on traditional parallel machines [5], [6], [7]. The kinetic nature of the lb method simplifies the implementation of additional physics and the method has enjoyed success in simulating flows involving multiple phases or components, reacting species and complex geometries such as porous media as well as particle laden flows, thermal flows and microfluidics. Thorough reviews of the method and its application to the range of problems mentioned, as well as incompressible and compressible fluid dynamics are presented in Annual Reviews [8], [9] and books [10], [11].

Despite these successes, one persistent drawback has been that the standard lattice Boltzmann method relies on a uniform, square or cube shaped grid coinciding with an isotropic velocity basis so that the advection part of the discrete velocity Boltzmann equation,tfi(xβ,t)+ciααfi(xβ,t)=Ωi(xβ,t),may be solved by simple point to point transfer of particles. To date, most progress towards the use of non-uniform grids has been made by retaining the isotropic velocity basis and performing calculations on an unrelated, non-uniform computational grid. The advection of particles can be solved using finite volume methods [6], [12], [13], [14], finite element methods [15], [16], [17], [18], or finite difference methods [19], [20], [21]. Spectral schemes have also been used [22]. Decoupling the grid from the velocity basis even allows the use of velocity basis that does not tile space, such as the 13 velocity, icosahedral basis used by Tamura et al. [21]. Second order or higher difference schemes must be used in order to avoid introducing numerical viscosity, resulting in additional stability concerns compared to the unconditionally stable point to point advection of the normal lb method. Stability can be ensured for finite volume schemes by using flux limiters [6] while others have simply reported reduced stability and the presence of oscillations as drawbacks of their proposed schemes [21].

Standard lb methods use an upwind collision operator, where the collision term is calculated and applied at the beginning of the time step, followed by an independent streaming operation. This decoupling of advection and collision terms introduces an artificial negative viscosity which is related to the grid size and time step and is also referred to as the discrete lattice effect. Thus when the grid is non-uniform, the upwind collision operator may not be used since the discrete lattice effect would vary across the domain and the collision operator must then be solved using a higher order scheme, which must also take into account the interdependent effects of particle advection and collision. Ubertini, Succi and Bella [14] have noted issues in reaching a small viscosity while other studies have not tested the stability at small viscosities [12], [13], [19]. Advanced treatments of the collision operator have been proposed [15], [16], [17], [18], [20] and have demonstrated success with higher Reynolds number unsteady flows, although these methods have thus far only been demonstrated in two dimensions.

The interpolation supplemented lb method [23], [24], [25], [26], [27] is an alternative approach keeping simple point to point advection of particles and an upwind collision operator. Particle locations no longer coincide with grid points after advection so interpolation is used to reconstruct the populations at grid sites. Second order or higher interpolation must be used in order to maintain the second order accuracy of the lb method and results can be improved by using a least squares interpolation [26], [27]. These methods have had success at higher Reynolds numbers, however they require significant additional computational effort and introduce additional stability concerns.

Another alternative to these methods is to use local grid refinement, using smaller cube elements [5], [28], [29], [30]. Grid refinement does not allow the treatment of curved boundaries or the use of non-rectangular elements as the other mentioned methods do however it has been shown to successfully simulate fully turbulent three dimensional flows [5], [31].

All of these methods introduce significant additional computational effort and complexity and some of them suffer from reduced stability. Karlin, Succi and Orszag Karlin et al. [32] were the first to suggested a lattice Boltzmann method on a completely irregular grid but noted that there were significant problems to be solved before it would become usable. Lattice Boltzmann schemes using a non-isotropic but uniform rectangular grid and corresponding velocities basis such that particle populations transfer directly from one node to another, have since been implemented. The generalised lb method, also known as the multiple relaxation time (mrt) method, simplifies implementation of these schemes since it is sufficient to define equilibrium moments rather than an explicit formula for each equilibrium population.

The standard d2q9 mrt lattice can reproduce the correct hydrodynamic moments up to second order. Bouzidi et al. [33] introduced a two dimensional scheme based on the d2q9 lattice using this approach noting stability decreases as the aspect ratio of each cell was increased from one. Zhou [34], [35], Ren et. al. [36] and Hegeler et. al. [37] have also demonstrated similar schemes however the aforementioned models do not correctly model diffusive terms since the third order and higher moments are not hydrodynamically correct and hence viscosity is not isotropic. Adjusting the relaxation rates alone is not sufficient to recover hydrodynamic behaviour using the standard velocity basis.

Peng et. al. [38] have developed a mrt based lb method which correctly reproduces hydrodynamic behaviour. The errors introduced by incorrect rank three moments previously mentioned are corrected by using a quasi-equilibrium collision operator. Peng et. al. perform a multi-scale expansion based on each moment that is used as a basis in order to develop the coefficients that are used in the quasi-equilibrium terms. As a consequence, the analysis must be repeated in order to develop coefficients for each new lattice that may be developed in the future. Results are presented for the d2q9 velocity set using the He and Luo [39] incompressible approximation.

In this paper we present a novel rectangular lattice Boltzmann method including two and three dimensional lattices as shown in Fig. 1. Our method uses a different set of basis vectors compared to typical mrt methods that allows hydrodynamic behaviour to be restored by adjusting relaxation parameters alone without requiring any quasi-equilibrium collision step. Both our work and the work of Peng et. al. [38] correctly eliminates all diffusive errors in the second order multi-scale expansion however our work is also extended to three dimensions. Our theoretical derivation is based on the standard multi-scale expansion typically applied to lb methods rather than the perturbation analysis or moment based analysis used by Peng et. al., which means that our method is applicable to a larger range of lattices without requiring extensive recalculation of coefficients. Our analysis is also novel since it does not use the He and Luo [39] incompressible approximation during multi-scale expansion.

We perform a linear perturbation analysis and find that the maximum stable Mach number decreases if the aspect ratio is increased in the same direction as the mean flow. The scheme retains similar stability compared to uniform grid methods for moderate aspect ratios. This instability is sensitive to the flow being investigated and will be more problematic for configurations with a significant mean velocity. The d3q27 lattice used has a chequerboard invariant that can cause stability problems in some situations [40], [41], [42]. We have successfully used fractional propagation to eliminate this problem. Adjustment of relaxation rates corresponding to non-hydrodynamic moments has been reported as a means of stabilising lb simulations [41], [43] although we have not found it necessary to use this stabilization method in our turbulent calculations.

Our scheme is tested for convergence by comparing to the analytic solutions of Taylor-Green vortex flow with varying Mach number and grid resolution. We perform a direct numerical simulation of turbulent channel flow using both normal and non-isotropic grids and compare turbulence statistics to the results of Moser et al. [44], finding good agreement between lb simulations using isotropic and rectangular grids.

The use of a non-isotropic grid allows improvements in computational efficiency for flow configurations that have larger gradients in one direction. The advantage of the present scheme, compared to other methods capable of using a fully non-uniform grid, is in its simplicity. The scheme does not introduce any new calculation steps or theoretical assumptions compared to the well understood mrt method. Research on the use of non-isotropic lattices is also important because it will advance progress towards the use of a fully non-uniform lattice Boltzmann method [32].

Section snippets

Lattice Boltzmann method

Most common lattice Boltzmann methods, including the single relaxation time method and the generalised lb method can be described using a linear collision operator [45]. We have included a slightly more general form than usual using a non-unit Courant number (Cr) for particle advection [46],Cr=ciαΔtΔxα.The time advancement of these methods is,fi(xα+Δxα,t+Δt)=(1Cr)fi(xα+Δxα,t)+Crfi(xα,t)+ΔtΩi(xα,t),where Ω is the linearised collision operator,Ωi(xα,t)=j=0qAij(fj(xα,t)fjeq(xα,t)).Here bold

Moment basis

A set of orthogonal basis vectors and their equilibrium distributions must be defined in order to proceed using the moment based method. Linearly independent basis vectors are chosen and then the Gram-Schmidt process is used to make the set orthogonal. It is helpful if the basis vectors are closely related to the moments from Eq. (4) since these can then be set directly to their correct equilibrium values. In some cases, moments may be linearly dependent to others and hence cannot be used.

It is

Unsuitable lattices

As shown, it is possible to construct orthogonal basis vectors using the d2q9 and d3q27 lattices so that the eigenvalues for each of the square factors ciαciβ can be adjusted independently. Basis vectors involving multiple second order moments are problematic since they result in additional terms in the multi-scale expansion under some circumstances. Existing basis sets for the d2q9, d2q9 rectangular, d3q15, d3q13 and d3q19 lattices [33], [41], [42], [51] all feature such terms.

The

Stability

There has been significant work on the stability of the lb method, beginning with linear perturbation analysis [41], [52] and progressing to increasingly more complex techniques [53], [54], [55], [56]. The stability properties of applications such as turbulent channel flow simulation are well predicted by linear perturbation analysis, in particular the flow is sensitive to a mean background velocity. In addition to analysing stability, linear perturbation analysis can also provide insight into

Numerical results

The new non-isotropic scheme proposed in this work has been tested by performing numerical simulations of Taylor-Green vortex flow and turbulent channel flow in order to verify its expected theoretical properties. Laminar channel flow testing was also performed however the results for this simple flow were identical to all significant figures printed when the grid was stretched along the stream-wise direction. Since laminar channel flow only has two terms in the Navier-Stokes equations that are

Discussion and conclusions

We have presented a lattice Boltzmann scheme using a rectangular grid and non-isotropic lattices to simulate quasi-incompressible fluid dynamics in two and three dimensions. We have shown that the scheme correctly models Navier-Stokes behaviour according to a second order multi-scale expansion similarly to other lb methods.

The multi-scale expansion presented in this paper represents the non-isotropic part of the third order equilibrium moments in terms of a rank four Kronecker delta and offers

CRediT authorship contribution statement

Vanja Zecevic: Conceptualization, Methodology, Software, Validation, Formal analysis, Investigation, Resources, Data curation, Writing - original draft, Writing - review & editing, Project administration. Michael P. Kirkpatrick: Writing - review & editing, Supervision, Funding acquisition. Steven W. Armfield: Writing - review & editing, Supervision, Funding acquisition.

Declaration of Competing Interest

The authors declare that they do not have any financial or nonfinancial conflict of interests.

Acknowledgment

This work has been supported by Australian Research Council Discovery Grant dp150100912.

References (63)

  • H.N. Dixit et al.

    Simulation of high Rayleigh number natural convection in a square cavity using the lattice Boltzmann method

    Int J Heat Mass Transf

    (2006)
  • F. Kuznik et al.

    A double-population lattice Boltzmann method with non-uniform mesh for the simulation of natural convection in a square cavity

    Int J Heat Fluid Flow

    (2007)
  • O. Filippova et al.

    Grid refinement for lattice-BGK models

    J Comput Phys

    (1998)
  • M. Stiebler et al.

    Advection-diffusion lattice Boltzmann scheme for hierarchical grids

    Comput Math Appl

    (2008)
  • D. Lagrava et al.

    Advances in multi-domain lattice Boltzmann grid refinement

    J Comput Phys

    (2012)
  • M. Bouzidi et al.

    Lattice Boltzmann equation on a two-dimensional rectangular grid

    J Comput Phys

    (2001)
  • C. Peng et al.

    A hydrodynamically-consistent MRT lattice Boltzmann model on a 2D rectangular grid

    J Comput Phys

    (2016)
  • D. Kandhai et al.

    Implementation aspects of 3D lattice-BGK: boundaries, accuracy, and a new fast relaxation method

    J Comput Phys

    (1999)
  • P. Dellar

    Incompressible limits of lattice Boltzmann equations using multiple relaxation times

    J Comput Phys

    (2003)
  • I. Karlin et al.

    Factorization symmetry in the lattice Boltzmann method

    Physica A

    (2010)
  • J.D. Sterling et al.

    Stability analysis of lattice Boltzmann methods

    J Comput Phys

    (1996)
  • J. Latt et al.

    Lattice Boltzmann method with regularized pre-collision distribution functions

    Math Comput Simul

    (2006)
  • R. Mei et al.

    Consistent initial conditions for lattice Boltzmann simulations

    Comput Fluids

    (2006)
  • M.B. Reider et al.

    Accuracy of discrete-velocity BGK models for the simulation of the incompressible Navier-Stokes equations

    Comput Fluids

    (1995)
  • V. Zecevic et al.

    The lattice Boltzmann method for turbulent channel flows using graphics processing units

    Proceedings of the 15th Biennial Computational Techniques and Applications Conference, CTAC-2010, Vol. 52 of ANZIAM J.

    (2011)
  • J. Toelke et al.

    TeraFLOP computing on a desktop PC with GPUs for 3D CFD

    Int J Comput Fluid Dyn

    (2008)
  • K.N. Premnath et al.

    Generalized lattice Boltzmann equation with forcing term for computation of wall-bounded turbulent flows

    Phys Rev E

    (2009)
  • S. Chen et al.

    Lattice Boltzmann method for fluid flows

    Annu Rev Fluid Mech

    (1998)
  • C.K. Aidun et al.

    Lattice Boltzmann method for complex flows

    Annu Rev Fluid Mech

    (2010)
  • D.A. Wolf-Gladrow

    Lattice-gas cellular automata and lattice Boltzmann models - an Introduction, Vol. 1725 of Lect. notes math

    (2000)
  • S. Succi

    The lattice Boltzmann equation for fluid dynamics and beyond

    (2001)
  • Cited by (0)

    View full text