Maarten-vd-Sande / lbm

Free-surface implementation of lattice boltzmann in Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Free-surface implementation of lattice boltzmann in Python.


Languages

Language:Python 100.0%