An open sourced Discrete Element Method (DEM) software based on Python and C++.
A very simple DEM code for beginners who are interested in DEM coding.
Python 3.x
cmake
Post Process : Paraview
Run the "Run_StarDEM.py" file
You will get a results in ResultsOutput file
Use Paraview to check the results as the following steps.
- Open the results.csv file. -> Apply.
- Add the Table To Points filter.
- Set the X Column, Y Column, and Z Column to the respective columns.
- Apply.
- Close the SpreadSheetView.
- Add the Glyph filter.
- Change Glyph Type to Sphere.
- Change Scale Array to the name of the column containing the radius.
- Change the Scale Factor to 2. (The spheres are scaled from a reference with radius 0.5.)
- Change Glyph Mode to All Points.
- Apply.
- pybind11 for exposing C++ to python
Email: cshang.cimne.upc.edu