Disclaimer: This code is under development and is likely to have significant breaking changes in the near future. Many features are incomplete or redundant. Please contact the development team if you would like a tour.
A python package for simulating the motion of a granular material as a result of the motion of voids. In particular, it (currently) models non-inertial problems quite well. In particular, segregation is well modelled for several systems.
- Download and unzip (or clone) this repository
- Install python 3.11 or newer.
c++version of the code also requiresopenmpon the system. - Install the required python packages with
pip install -e .. This also builds thec++extension module. - Set up your pre-commit hooks (so that when you make changes things are kept nice and clean) by running
pre-commit install - Run the code with
python HGD/main.py json/collapse.json5. The parameters for this specific case are stored injson/collapse.json5. Change that file name to a differentjson5file to use those values instead. Default parameters are stored injson/defaults.json5.
You can read the docs here.
You can contact the development team here.