3D Multi-component Multiphase Lattice Boltzmann Method
August 5, 2023 ยท View on GitHub
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.
Installation and running the code
- Clone the repository using
git clone git@github.com:geoelements/mcmp-lbm.git - Install dependencies using
poetry installorpip 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
Examples
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:
License
This project is licensed under the MIT License. See the LICENSE file for details.
Support
If you encounter any problems while using this project, please open an issue.
Contributors
- Qiuyu Wang
- Krishna Kumar