A 3D multicomponent multiphase lattice Boltzmann solver with a Multi-Relaxation-Time collision scheme and a sparse storage structure The Multi-Relaxation-Time collision scheme and sparse storage structure can help improve the accuracy and efficiency of the simulations, allowing for larger and more complex simulations to be performed.
- Clone the repository using
git clone [email protected]:geoelements/mcmp-lbm.git
- Install dependencies using
poetry install
orpip install -r requirements.txt
. - Specify input parameters in a JSON file
example.json
. - Run
python main.py path_to_input
, for example,python main.py examples/example.json
Here are some examples of how to use this project:
- Injection of water to granular media:
python main.py examples/hamburg_sand.json
- A droplet test:
python main.py examples/droplet.json
- Determination contact angle for one fluid surrounded by another fluid vs. adhesion parameters:
This project is licensed under the MIT License. See the LICENSE file for details.
If you encounter any problems while using this project, please open an issue.
- Qiuyu Wang
- Krishna Kumar