Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 2.11 KB

README.md

File metadata and controls

32 lines (22 loc) · 2.11 KB

dem

master badge

A simple 2D discrete element method implementation.

Contents

This DEM code includes:

  • Nearest-neighbor algorithm
  • Hertz collision model
  • Verlet time integration
  • Core routines deferred to Numba

As of today, rolling movement is not implemented

Examples

Running a specific case requires to write an application in dem/app, and then to register it in dem/app/app.py. You can than call it from root directory doing python start.py <app_name>. Multiple app examples are provided in the dedicated directory, to be copied and adapted. Below are some simple sanity checks and a bit more advanced examples of what is possible with this small library.

gravity gravity-tilted obstacle
gif gif gif
dam-break silo mill
gif gif gif
silo-open turek ?
gif gif gif