Skip to content

kphmd/Taichi_DEM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Taichi DEM

A minimal DEM simulation demo written in Taichi.

To implement your own version, click the "Use this template" button on this page and simply modify the dem.py script.

Installation

Make sure your pip is up-to-date:

$ pip3 install pip --upgrade

Assume you have a Python 3 environment, to install Taichi:

$ pip3 install -U taichi

To run the demo:

$ python dem.py

Assumptions

The dem.py implements a minimal DEM solver with the following assumptions:

  • All paricles are round circles with variable radius.
  • Only the normal force between particles is considered - the tangential force is not included.
  • The deformation of the particles is not included.
  • Ignore the angular momentum of the particle and only consider the translation of the particle.

Open missions

There are plenty of room for hacking! We suggest a few of them for you to start with:

  • Reduce the neighborhood search region from the 3x3 grid cells to only 5 grid cells
  • Support more particle geometries
  • Implement angular momentum of the particles
  • Include tangential forces
  • ...

Show your work!

We encourage you to continue developing on this repo and share your work with our community members. To notify us about your work, make sure you use this repo as a template.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages