TNL-LBM: Scalable lattice Boltzmann method implementation based on Template Numerical Library
Abstract The lattice Boltzmann method (LBM) is a mesoscopic numerical technique widely used for solving partial differential equations such as the Navier–Stokes equations or advection–diffusion equations. It employs discrete particle distribution functions instead of macroscopic variables, offering advantages in parallelization and scalability. This paper introduces the TNL-LBM project, an advanced computational framework that implements LBM using the Template Numerical Library (TNL). TNL-LBM is designed for high-performance, large-scale simulations of turbulent flows and is available under the MIT license. The project emphasizes modularity, efficiency, and flexibility, providing a library of fundamental components and a high-level framework for developing custom solvers. Key features include a modular architecture with pluggable components, high performance through parallel algorithms and data structures provided by TNL, and scalability across multi-core CPUs, GPU accelerators, and distributed platforms. The paper outlines the components of LBM, its computational algorithm, and the design of TNL-LBM, followed by a description of input/output components and benchmark results demonstrating its performance on the Karolina supercomputer and on a compute node based on NVIDIA Tesla H100 accelerators. The performance of TNL-LBM is also compared to other open-source LBM projects.
Authors
- Jakub Klinkovský (ORCID: https://orcid.org/0000-0001-7941-3913)
- Tomáš Oberhuber (ORCID: https://orcid.org/0000-0001-8374-6892)
- Pavel Eichler
- Radek Fučík
- Robert Straka
Institutions
- Czech Technical University in Prague (CZ)
- AGH University of Krakow (PL)
Publication Details
- Journal
- The Journal of Supercomputing
- Published
- 2026-02-14
- DOI
- https://doi.org/10.1007/s11227-026-08292-0
- Primary Topic
- Lattice Boltzmann Simulation Studies
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Grantová Agentura České Republiky