TCLB Solver

TCLB Solver Header

TCLB is a MPI+CUDA or MPI+CPU high-performance Computational Fluid Dynamics simulation code, based on the Lattice Boltzmann Method. It provides a clear interface for calculation of complex physics, and the implementation of new models.


TCLB began development in 2012 with the aim at providing a framework for efficient CFD computations with LBM, mainly for research.

Author: Łukasz Łaniewski-Wołłk



Developed at:


Please use appropriate citations if using this software in any research publication. The publication should cite the original paper about TCLB and papers which describe the used LMB models. You can find the list of TCLB publications at You can also find the information about published articles in the source code of the models. The code can be cited additionally, by its Zenodo DOI.


This software is distributed under the GPL v3 License.

If you need this software under a different license, please contact the main author. Contact: llaniewski(monkey)

Supported architectures

This code is designed to run on Linux. We strongly recommend using Linux for compilation, computation and postprocessing.

Nevertheless, TCLB can be compiled on Windows (CPU only), using the Windows Subsystem for Linux. It also can be compiled on MacOS (also CPU only). Both Debian and Red Hat based Linux distributions are supported by the script described below, as is MacOS (with brew package manager).

LBM-DEM computation

TCLB code can be coupled with Discrete Element Method (DEM) codes, to enable computation of flow with particles.

The DEM codes that TCLB can be integrated with are:

Refer to the documentation for instructions on compilation and coupling.