Abstract
After reading this chapter, you will be familiar with the basics of lattice Boltzmann boundary conditions. After also having read Chap. 3, you will be able to implement fluid flow problems with various types of grid-aligned boundaries, representing both no-slip and open surfaces. From the boundary condition theory explained in this chapter together with the theory given in Chap. 4, you will be familiar with the basic theoretical tools used to analyse numerical lattice Boltzmann solutions. Additionally, you will understand how the details of the initial state of a simulation can be important and you will know how to compute a good initial simulation state.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Although no mathematical proof exists yet, this book takes for granted that solutions to the NSEs exist, are unique and vary smoothly with changes to initial conditions.
- 2.
- 3.
The extension to more advanced collision operators is discussed in Chap. 10
- 4.
Moving boundaries are also possible and are discussed in Sect. 5.3.3.
- 5.
Exceptional cases of time-dependent problems where initial conditions have an immaterial role are discussed in Sect. 5.5.
- 6.
The understanding of (F2) is also relevant in the context of LB. By exploiting the similarity between LB and finite difference schemes, a procedure similar to (F2) was proposed as a way to prescribe boundary conditions in the LBM. The original suggestion from Chen and co-workers [8] consists of adding virtual lattice sites. More refined versions of this method were later developed based on an improved understanding of LB theory, e.g. [9–12].
- 7.
Although more complex boundary shapes and/or orientations can also be handled with the techniques discussed here, the resulting geometry will represent a “staircase” approximation of the true boundary. The implications are discussed in Sect. 11.1 Methods to treat smooth complex surfaces usually come at the price of increased complexity and/or the need for data from neighboring nodes, making them non-local schemes. While exceptions of local schemes for curved boundaries exist [13, 14], they are considerably more difficult to implement than comparable non-local techniques.
- 8.
The same kind of “non-uniqueness” problem affects the specification of hydrodynamically consistent initial conditions in LBM (cf. Sect. 5.5).
- 9.
We obtained this number by performing a Web of Science search for articles with the words “lattice Boltzmann boundary condition” in the title.
- 10.
We say “approximately” because in link-wise schemes the exact boundary location is not fixed. Rather, standard link-wise boundaries have a “second-order” dependence on the relaxation rates of the LB collision scheme. For example, with the BGK model this defect leads to a dependency of the no-slip wall location with the fluid viscosity [15, 21, 23]. We will discuss this issue in Sect. 5.3.3 using numerical examples and in Sect. 5.4.1 with a theoretical analyses. Such a “second-order” artefact is also disturbed by anisotropic effects, meaning the wall location will change according to the orientation of the boundary with respect to the lattice.
- 11.
The computational convenience of considering these extra layers of nodes in multithreading implementations of LB algorithms is given in Sect. 13.4.1
- 12.
In an attempt to make this explanation of the bounce-back method more intuitive, we will often refer to the parameter f i as “particles” instead of “particle distributions” or “populations”, as it should be called more rigorously. We have to remember that LBM is not a true particle method, such as those presented in Chap. 2. Rather, LBM deals with discretised forms of continuous fields (cf. Chap. 3).
- 13.
For fullway, we only need to check whether we are on a solid node or not. Algorithmically, this is one if-statement per lattice node. For half-way, we have to check where each population propagates, i.e. whether it will finish on a solid node (which implies bounce-back), or it will reach a fluid or boundary node (which implies normal streaming). For example, with the D3Q19 model this boils down to evaluating 18 if-statements!
- 14.
Possible differences in the steady-state performance of fullway and halfway bounce-back schemes are related to grid-scaled artefacts called “staggered invariants” [13, 22, 30]. Staggered invariants manifest as a velocity oscillation between two constant values over two successive time steps [22]. Their magnitude is usually small, yet the precise value depends on several factors, such as the initial conditions, the mesh size and the parity of the number of grid nodes. Staggered invariants are conserved by halfway bounce-back. For example, a typical channel flow along the x-axis, if initialised with u y (t = 0) = u y, 0 and using an odd number of nodes along the y-axis, will conserve this constant transverse velocity u y, 0 throughout the channel width as a staggered invariant if halfway bounce-back is used [30]. However, with an even number of lattice nodes, this artefact vanishes. One way to correct this halfway bounce-back defect is by averaging the solution between two successive time steps as suggested in [22]. The fullway bounceback does not produce this artefacts since it delays the exchange of information between successive time steps. However, the conservation and stability properties of this scheme may be worse [30].
- 15.
According to [20], instability is often triggered by the boundary condition rather than the bulk algorithm when LBM is running close to τ = Δ t∕2.
- 16.
Conversion between simulation and physical units will be discussed in Chap. 7
- 17.
The numerical values for the correction terms come from 2w i ∕c s 2 = 1∕(6c 2), with c s 2 = (1∕3)c 2 and using the D2Q9 lattice weights w i given in Table 3.1
- 18.
Since this Poiseuille flow is driven by the pressure difference Δ p, the incompressible LB model of Sect. 4.3.2 is appropriate. Recall that the standard LB equilibrium uses an isothermal equation of state where pressure and density relate linearly. Therefore, a pressure gradient inevitably leads to a gradient of density, which is incompatible with incompressible hydrodynamics. With the incompressible model this compressibility error can be avoided (at least in steady flows).
- 19.
We will cover closure relations for boundary conditions in Sect. 5.4.1.
- 20.
Although the LBM may reproduce the continuity condition in two different forms, depending on the equilibrium model adopted, i.e. \(\partial _{t}\rho + \nabla \cdot (\rho {\boldsymbol u}) = 0\) for the standard compressible equilibrium or \(c_{\mathrm{s}}^{-2}\partial _{t}p +\rho _{0}\nabla \cdot {\boldsymbol u} = 0\) for the incompressible equilibrium, the procedure described here remains applicable in both cases.
- 21.
Recall that f i neq is related to the spatial derivatives of the flow field. Consequently, f i neq = 0 corresponds to a spatially uniform solution.
- 22.
Obviously, the use of other equilibrium distributions (e.g. the full standard equilibrium) will not lead to improvements as the problem identified here comes from neglecting the non-equilibrium part of the boundary populations.
- 23.
- 24.
A possible numerical approximation procedure is using the formula given in Sect. 5.3.5 to find \({\boldsymbol u}_{\text{w}}\) in the anti-bounce-back approach, but now applied to ρ w.
- 25.
Remember that c s 2 = c 2∕3 = Δ x 2∕(3Δ t 2).
- 26.
Here, and throughout this discussion, we will assume no mass source is present.
- 27.
Depending on the definition of mass balance, as explained in [55], a third case may be considered: the presence of tangential density gradients along the wall surface. Here, a mass flux difference, proportional to the density gradient, may exist.
- 28.
Note that we have used the no-slip condition ∂ x u x = ∂ x u y = 0 at the wall to simplify (5.77).
- 29.
The MEA also works for curved boundaries as we will discuss in Sect. 11.2
- 30.
Note that the number of identified links varies with the chosen lattice. For example, there will be more links for the same geometry when D3Q27 rather than D3Q15 is used. This does not affect the validity of the MEA, though.
- 31.
- 32.
Wet-node formulations that replace all populations are simpler to implement in 3D. Examples are the equilibrium scheme [23], the non-equilibrium extrapolation method [9], the finite-difference velocity gradient method [18] and the regularised method [18]. As they are based on reconstructing all populations, they are not sensitive to the number of populations. The downside of these approaches is that they either decrease the accuracy or increase the complexity of implementation, e.g. by making the scheme non-local [18].
- 33.
One obtains this equation by computing the divergence of the incompressible NSE.
- 34.
- 35.
For this initialisation method, it is important to employ the incompressible LB algorithm. The standard equilibrium leads to large initial pressure errors.
- 36.
Using the incompressible equilibrium for the actual simulations does not result in significantly different results. This is no surprise since the incompressible model is only formally more accurate for steady flows.
References
A.J. Chorin, J.E. Marsden, A Mathematical Introduction to Fluid Mechanics, 3rd edn. (Springer, New York, 2000)
P.A. Skordos, Phys. Rev. E 48 (6), 4823 (1993)
R. Mei, L.S. Luo, P. Lallemand, D. d’Humières, Comput. Fluids 35 (8-9), 855 (2006)
R. Haberman, Applied Partial Differential Equations: with Fourier Series and Boundary Value Problems (Pearson Prentice Hall, Upper Saddle River, 2004)
G.K. Batchelor, An Introduction to Fluid Dynamics (Cambridge University Press, Cambridge, 2000)
J. Anderson, Computational Fluid Dynamics (McGraw-Hill, New York, 1995)
H.K. Versteed, M. Malalasekera, An Introduction to Computational Fluid Dynamics, the Finite Volume Method (Prentice-Hall, Upper Saddle River, 1996)
S. Chen, D. Martinez, R. Mei, Phys. Fluids 8, 2527 (1996)
Z.L. Guo, C.G. Zheng, B.C. Shi, Chin. Phys. 11, 366 (2002)
Z.L. Guo, C.G. Zheng, B.C. Shi, Phys. Fluids 14, 2007 (2002)
M. Shankar, S. Sundar, Comput. Math. Appl. 57, 1312 (2009)
X. Kang, Q. Liao, X. Zhu, Y. Yang, Appl. Thermal Eng. 30, 1790 (2010)
I. Ginzbourg, D. d’Humières, J. Stat. Phys. 84, 927 (1996)
M. Junk, Z. Yang, Phys. Rev. E 72, 066701 (2005)
I. Ginzburg, D. d’Humières, Phys. Rev. E 68, 066614 (2003)
B. Chun, A.J.C. Ladd, Phys. Rev. E 75, 066705 (2007)
J.C.G. Verschaeve, B. Müller, J. Comput. Phys. 229, 6781 (2010)
J. Latt, B. Chopard, O. Malaspinas, M. Deville, A. Michler, Phys. Rev. E 77 (5), 056703 (2008)
M. Junk, Z. Yang, J. Stat. Phys. 121, 3 (2005)
J.C.G. Verschaeve, Phys. Rev. E 80, 036703 (2009)
I. Ginzbourg, P.M. Adler, J. Phys. II France 4 (2), 191 (1994)
A.J.C. Ladd, J. Fluid Mech. 271, 285 (1994)
X. He, Q. Zou, L.S. Luo, M. Dembo, J. Stat. Phys. 87 (1–2), 115 (1997)
M. Bouzidi, M. Firdaouss, P. Lallemand, Phys. Fluids 13, 3452 (2001)
D.R. Noble, Chen, J.G. Georgiadis, R.O. Buckius, Phys. Fluids 7, 203 (1995)
T. Inamuro, M. Yoshino, F. Ogino, Phys. Fluids 7, 2928 (1995)
Q. Zou, X. He, Phys. Fluids 9, 1591 (1997)
I. Halliday, L.A. Hammond, C.M. Care, A. Stevens, J. Phys. A Math. Gen. 35, 157 (2002)
A.P. Hollis, I.H.H.M. Care, J. Phys. A Math. Gen. 39, 10589 (2006)
I. Ginzburg, F. Verhaeghe, D. d’Humières, Commun. Comput. Phys. 3, 427 (2008)
I. Ginzburg, F. Verhaeghe, D. d’Humières, Commun. Comput. Phys. 3, 519 (2008)
C. Pan, L.S. Luo, C.T. Miller, Comput. Fluids 35 (8-9), 898 (2006)
S. Khirevich, I. Ginzburg, U. Tallarek, J. Comp. Phys. 281, 708 (2015)
R.S. Maier, R.S. Bernard, D.W. Grunau, Phys. Fluids 8, 1788 (1996)
S. Succi, The Lattice Boltzmann Equation for Fluid Dynamics and Beyond (Oxford University Press, Oxford, 2001)
M.C. Sukop, D.T. Thorne Jr., Lattice Boltzmann Modeling: An Introduction for Geoscientists and Engineers (Springer, New York, 2006)
S.H. Kim, H. Pitsch, Phys. Fluids 19, 108101 (2007)
Q. Zou, S. Hou, S. Chen, G.D. Doolen, J. Stat. Phys. 81, 35 (1995)
X. He, L.S. Luo, J. Stat. Phys. 88, 927 (1997)
S.V. Patankar, C.H. Liu, E.M. Sparrow, ASME J. Heat Transfer 99, 180 (1977)
J. Zhang, D.Y. Kwok, Phys. Rev. E 73, 047702 (2006)
O. Gräser, A. Grimm, Phys. Rev. E 82, 016702 (2010)
U. Frisch, B. Hasslacher, Y. Pomeau, Phys. Rev. Lett. 56 (14), 1505 (1986)
R. Cornubert, D. d’Humières, D. Levermore, Physica D 47, 241 (1991)
D.P. Ziegler, J. Stat. Phys. 71, 1171 (1993)
J. Hardy, Y. Pomeau, O. de Pazzis, J. Math. Phys. 14 (12), 1746 (1973)
J.P. Rivet, J.P. Boon, Lattice Gas Hydrodynamics (Cambridge University Press, Cambridge, 2001)
D.A. Wolf-Gladrow, Lattice-Gas Cellular Automata and Lattice Boltzmann Models (Springer, New York, 2005)
A.J.C. Ladd, R. Verberg, J. Stat. Phys. 104 (5–6), 1191 (2001)
A.J. Wagner, I. Pagonabarraga, J. Stat. Phys. 107, 531 (2002)
C. Aidun, Y. Lu, J. Stat. Phys. 81, 49 (1995)
C.K. Aidun, Y. Lu, E.J. Ding, J. Fluid Mech. 373, 287 (1998)
S. Krithivasan, S. Wahal, S. Ansumali, Phys. Rev. E 89, 033313 (2014)
N.Q. Nguyen, A.J.C. Ladd, Phys. Rev. E 66 (4), 046708 (2002)
X. Yin, G. Le, J. Zhang, Phys. Rev. E 86 (2), 026701 (2012)
O. Filippova, D. Hänel, J. Comput. Phys. 147, 219 (1998)
I. Ginzburg, J. Stat. Phys. 126, 157 (2007)
D. d’Humières, In Rarefied Gas Dynamics: Theory and Simulations, ed. B. Shizgal, D Weaver 159, 450 (1992)
P. Lallemand, L.S. Luo, Phys. Rev. E 61 (6), 6546 (2000)
D. d’Humières, I. Ginzburg, M. Krafczyk, P. Lallemand, L.S. Luo, Phil. Trans. R. Soc. Lond. A 360, 437 (2002)
A.J.C. Ladd, J. Fluid Mech. 271, 311 (1994)
L.S. Luo, W. Lia, X. Chen, Y. Peng, W. Zhang, Phys. Rev. E 83, 056710 (2011)
A.A. Mohamad, S. Succi, Eur. Phys. J. 171, 213 (2009)
R.G.M. Van der Sman, Comput. Fluids 35, 849 (2006)
D. d’Humières, I. Ginzburg, Comput. Math. Appl. 58, 823 (2009)
I. Ginzburg, Commun. Comput. Phys. 11, 1439 (2012)
M. Hecht, J. Harting, J. Stat. Mech. Theory Exp. P, 01018 (2010)
H. Chen, Y. Qiao, C. Liu, Y. Li, B. Zhu, Y. Shi, D. Sun, K. Zhang, W. Lin, Appl. Math. Model 36, 2031 (2012)
S. Izquierdo, N. Fueyo, Phys. Rev. E 78, 046707 (2008)
S. Izquierdo, P. Martinez-Lera, N. Fueyo, Comput. Math. Appl. 58, 914 (2009)
A.P. Hollis, I. HalIiday, C.M. Care, J. Comput. Phys. 227, 8065 (2008)
S. Izquierdo, N. Fueyo, Phys. Rev. E 78 (4) (2008)
D. Heubes, A. Bartel, M. Ehrhardt, J. Comput. Appl. Math. 262, 51 (2014)
L. Talon, D. Bauer, D. Gland, H. Auradou, I. Ginzburg, Water Resour. Res. 48, W04526 (2012)
S. Hou, Q. Zou, S. Chen, G.D. Doolen, A.C. Cogley, J. Comput. Phys. 118, 329 (1995)
A.R. da Silva, Numerical studies of aeroacoustic aspects of wind instruments. Ph.D. thesis, McGill University, Montreal (2008)
G. Falcucci, M. Aureli, S. Ubertini, M. Porfiri, Phil. Trans. R. Soc. A 369, 2456 (2011).
P. Lallemand, L.S. Luo, J. Comput. Phys. 184 (2), 406 (2003)
S. Tao, J. Hu, Z. Guo, Comput. Fluids 133, 1 (2016)
R. Mei, D. Yu, W. Shyy, L.S. Luo, Phys. Rev. E 65 (4), 041203 (2002)
T. Krüger, F. Varnik, D. Raabe, Phys. Rev. E 79 (4), 046704 (2009)
W.A. Yong, L.S. Luo, Phys. Rev. E 86, 065701(R) (2012)
D. Yu, R. Mei, L.S. Luo, W. Shyy, Prog. Aerosp. Sci. 39, 329 (2003)
Y. Chen, H. Ohashi, M. Akiyama, Phys. Rev. E 50 (4), 2776 (1994)
P.C. Philipi, L.A. Hegele, L.O.E. Santos, R. Surmas, Phys. Rev. E 73, 056702 (2006)
A. Scagliarini, L. Biferale, M. Sbragaglia, K. Sugiyama, F. Toschi, Phys. Fluids 22, 055101 (2010)
X. Shan, X.F. Yuan, H. Chen, J. Fluid Mech. 550, 413 (2006)
S.H. Kim, H. Pitsch, I.D. Boyd, J. Comp. Phys. 227, 8655 (2008)
C.E. Colosqui, M.E. Kavousanakis, A.G. Papathanasiou, I.G. Kevrekidis, Phys. Rev. E 87, 013302 (2013)
J. Meng, Y. Zhang, J. Comp. Phys. 258, 601 (2014)
O. Malaspinas, B. Chopard, J. Latt, Comput. Fluids 49, 29 (2011)
Z. Guo, T.S. Zhao, Y. Shi, Phys. Rev. E 70 (6), 066706 (2004)
A.M.M. Artoli, A.G. Hoekstra, P.M.A. Sloot, Int. J. Mod. Phys. C 14 (6), 835 (2003)
A. Caiazzo, J. Stat. Phys. 121 (1–2), 37 (2005)
P. Van Leemput, M. Rheinlander, M. Junk, Comput. Math. Appl. 58 (5), 867 (2009)
J. Huang, H. Wu, W.A. Yong, Commun. Comput. Phys. 18 (02), 450 (2015)
D.J. Holdych, D.R. Noble, J.G. Georgiadis, R.O. Buckius, J. Comput. Phys. 193 (2), 595 (2004)
H. Xu, H. Luan, Y. He, W. Tao, Comput. Fluids 54, 92 (2012)
P.J. Dellar, Comput. Math. Appl. 65 (2), 129 (2013)
U.D. Schiller, Comput. Phys. Commun. 185 (10), 2586 (2014)
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Krüger, T., Kusumaatmaja, H., Kuzmin, A., Shardt, O., Silva, G., Viggen, E.M. (2017). Boundary and Initial Conditions. In: The Lattice Boltzmann Method. Graduate Texts in Physics. Springer, Cham. https://doi.org/10.1007/978-3-319-44649-3_5
Download citation
DOI: https://doi.org/10.1007/978-3-319-44649-3_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-44647-9
Online ISBN: 978-3-319-44649-3
eBook Packages: Physics and AstronomyPhysics and Astronomy (R0)