Abstract
The lattice Boltzmann method is a popular tool for pore-scale simulation of flow. This is likely due to the ease of including complex geometries such as porous media and representing multiphase and multifluid flows. Many advancements, including multiple relaxation times, increased isotropy, and others have improved the accuracy and physical fidelity of the method. Additionally, the lattice Bolzmann method is computationally very efficient, thanks to the explicit nature of the algorithm and relatively large amount of local work. The combination of many algorithmic options and efficiency means that a software framework enabling the usage and comparison of these advancements on computers from laptops to large clusters has much to offer. In this paper, we introduce Taxila LBM, an open-source software framework for lattice Boltzmann simulations. We discuss the design of the framework and lay out the features available, including both methods in the literature and a few new enhancements which generalize methods to complex geometries. We discuss the trade-off of accuracy and performance in various methods, noting how the Taxila LBM makes it easy to perform these comparisons for real problems. And finally, we demonstrate a few common applications in pore-scale simulation, including the characterization of permeability of a Berea sandstone and analysis of multifluid flow in heterogenous micromodels.
Similar content being viewed by others
References
Aidun, C.K., Clausen, J.R.: Lattice-Boltzmann model for complex flows. Annu. Rev. Fluid Mech. 42, 439–472 (2010)
Balay, S., Brown, J., Buschelman, K., Eijkhout, V., Gropp, W.D., Kaushik, D., Knepley, M.G., McInnes, L.C., Smith, B.F., Zang, H.: PETSc users manual, Technical report ANL-95/11. Revision 3.3. Argonne National Laboratory, Lemont (2012)
Chang, C., Liu, C.-H., Lin, C.-A.: Boundary conditions for lattice Boltzmann simulations with complex geometry flows. Comput. Math. Appl. 58, 940–949 (2009)
Chen, S., Doolen, G.W.: Lattice-Boltzmann method for fluid flows. Annual Rev. Fluid Mech. 30, 329–364 (1998)
He, X., Zou, Q., Luo, L.-S., Dembo, M.: Analytic solutions of simple flows and analysis of nonslip boundary conditions for the lattice Boltzmann BGK model. J. Stat. Phys. 87, 115–136 (1997)
He, X., Chen, S., Doolen, G.D.: A novel thermal model for the lattice Boltzmann method in incompressible limit. J. Comp. Phys. 146, 282–300 (1998a)
He, X., Shan, X., Doolen, G.D.: Discrete Boltzmann equation model for nonideal gases. Phys. Rev. E 57(1), R14 (1998b)
He, X., Chen, S., Zhang, R.: A lattice Boltzmann scheme for incompressible multiphase flow and its application in simulation of Rayleigh–Taylor instability. J. Comp. Phys. 152(2), 642–663 (1999)
Lallemand, P., Luo, L.-S.: Theory of the lattice Boltzmann method: dispersion, dissipation, isotropy, Gallilean invariance, and stability. Phys. Rev. E 61(6), 6546–6562 (2000)
McCracken, M.E., Abraham, J.: Multiple-relaxation-time lattice-Boltzmann model for multiphase flow. Phys. Rev. E 71, 036701 (2005)
Porter, M.L., Coon, E.T., Kang, Q., Moulton, J.D., Carey, J.W.: Multicomponent interparticle-potential lattice Boltzmann model for fluids with large viscosity ratios. Phys. Rev. E 86, 036701 (2012)
Premnath, K.N., Abraham, J.: Three-dimensional multi-relaxation time (MRT) lattice-Boltzmann models for multiphase flow. J. Comput. Phys. 224, 539–559 (2007)
Qian, Y., D’Humières, D., Lallemand, P.: Lattice BGK models for Navier-Stokes equation. Europhys. Lett. 17, 479–484 (1992)
Sbragaglia, M., Benzi, R., Biferale, L., Succi, S., Sugiyama, K., Toschi, F.: Generalized lattice-Boltzmann method for multirange pseudopotential. Phys. Rev. E. Stat. Nonlin. Soft. Matter. Phys. 75(2 Pt 2), 026702 (2007)
Schwartz, F.W., Zhang, H.: Fundamentals of Ground Water. Wiley, New York (2002)
Shan, X., Chen, H.: Lattice-Boltzmann model for simulating flows with multiphases and components. Phys. Rev. E 47, 1815–1819 (1993)
Shan, X., Chen, H.: Simulations of non-ideal gases and liquid-gas phase transitions by the lattice-Boltzmann equation. Phys. Rev. E 49, 2941–2948 (1994)
Shan, X.: Analysis and reduction of the spurious current in a class of multiphase lattice Boltzmann models. Phys. Rev. E 73(4), 047701 (2006)
Shan, X., Doolen, G.: Diffusion in a multicomponent lattice Boltzmann equation model. Phys. Rev. E 54(4), 3614–3620 (1996)
Swift, M.R., Orlandini, E., Osborn, W.R., Yeomans, J.M.: Lattice Boltzmann simulation of liquid-gas and binary fluid systems. Phys. Rev. E 54(5), 5041–5052 (1996)
Yuan, P., Schaefer, L.: Equations of state in a lattice Boltzmann model. Phys. Fluids 18, 042101 (2006)
Zhang, J.: Lattice Boltzmann method for microfluidics: models and applications. Microfluid Nanofluid 10, 1–28 (2011)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Coon, E.T., Porter, M.L. & Kang, Q. Taxila LBM: a parallel, modular lattice Boltzmann framework for simulating pore-scale flow in porous media. Comput Geosci 18, 17–27 (2014). https://doi.org/10.1007/s10596-013-9379-6
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10596-013-9379-6