This repository contains all the material needed to reproduce the numerical simulations described in the article "Does the multiresolution lattice Boltzmann method allow to deal with waves passing through mesh jumps?".
These simulations are perform using samurai: an open source software written in C++ which provides a new data structure based on intervals and algebra of sets to handle efficiently adaptive mesh refinement methods based on a cartesian grid.
You can reproduce the figures by clicking on the binder logo just below which will open a jupyter notebook.
If you want run the experiments locally, the process is the following
- Install conda or mamba (https://github.com/conda-forge/miniforge)
- Clone this repo and go into
- Install the environment using the command line
conda env create -f binder/environment.yml
or
mamba env create -f environment.yml
- Activate the environment
conda activate samurai-cras-2021
- Install samurai and build the project
bash binder/postBuild
- Open the jupyter notebook
jupyter lab plot_results.ipynb
- And execute all the cells