pylbm UI is a new way to explore lattice Boltzmann schemes easily and to better understand how it works. It's a work in progress but you can already try several test cases in 1d and 2d associated to lattice Boltzmann schemes. You can observe the linear stability of the scheme, plot the solution in real time and play with the parameters.
In a near future, we will add a lot of test cases and lattice Boltzmann schemes.
This user interface is based on voilà and ipyvuetify.
pylbm is used to build and analyse the schemes and run the simulations.
This video shows you different features of pylbm UI
pylbm_ui.mp4
The simplest way to use it is probably to click on the binder link that you can find above but it can be a little bit slow.
If you want to install locally, please follow the following steps
- Clone this repo
git clone https://github.com/pylbm/pylbm_ui.git
- Go into the repo
cd pylbm_ui
- Install the environment using
conda
ormamba
conda env create -f binder/environment.yml
or
mamba env create -f binder/environment.yml
- Activate the environment
conda activate pylbm_ui
- Run the interface
voila voila.ipynb
- Enjoy !