Skip to content

jviquerat/dem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages