/lbm

Free-surface implementation of lattice boltzmann in Python.

Primary LanguagePython

Python Lattice Boltzmann

Low level interface of Lattice Boltzmann technique as described in the PhD thesis of Nils Thuerey. Heavily depends on Numba for optimization.

Example: dam break

Example: cylinder flow

Installation

To run the examples install an environment with conda:

user@comp:~$ conda env create -f requirements.yaml
user@comp:~$ conda activate lbm
(lbm) user@comp:~$ python examples/cylinder_flow.py