Overview

PyLaBolt is a single phase, 2D, parallel lattice Boltzmann solver for fluid flow. It uses Numba accelerated Python code to run lattice Boltzmann simulations on 2D lattices. Simulations can be run on CPU in parallel via Numba’s own OpenMP parallelization and the mpi4py library. For running on NVIDIA GPUs, PyLaBolt uses Numba’s CUDA bindings.

Features

PyLaBolt currently supports the following collision schemes

The MRT and TRT collision schemes will be added in future releases.

The boundary conditions available are

For more information on the schemes and boundary conditions, we urge the reader the go through the following books

PyLaBolt leverages the performance advantages on multi-core CPUs, High Perfomance computing clusters, and GPUs to run large simulations. Currently the parallel computing features supported by PyLaBolt are:

  • Numba accelerated Python code can run in parallel on multi-core CPUs through OpenMP.

  • To run on multiple machines/clusters, PyLaBolt uses OpenMPI via the mpi4py library.

  • PyLaBolt can also run simulations on NVIDIA GPUs through Numba’s CUDA bindings.

  • PyLaBolt provides support to convert output to VTK format, which can post-processed in Paraview/Mayavi.