Skip to content

Latest commit

 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Gradient Lattice Boltzmann Simulator

This repo is a Color Gradient Lattice Boltzmann Method Simulator for immiscible fluids.

Based on Subhedar, A. (2022). Color-gradient lattice Boltzmann model for immiscible fluids with density contrast. Physical review. E, 106 4-2, 045308 .

Installing

This project uses jax, installing jax is a prerequisite. Instruction to install jax is available here

Installing library from Source

git clone https://github.com/dic-case-studies/cg-lbm.git
pip install -e .

Installing from PyPI

Planned for the future

Testing

First we need to install developer dependencies present in setup.py

From the root directory run

pytest

# Run with -s to capture the time from the performance benchmarks
pytest -s

Examples

Examples of running the simulation are present in notebooks folder

Acknowledgements

CG-LBM was created from the collaboration between the Engineering for Research (e4r) group, Thoughtworks and Dr. Amol Subhedar, Department of Chemical Engineering, Indian Institute of Technology, Bombay.

Core Contributors

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages