DICE2D- An Open Source DEM


“Dice is a throw piece created by the ancient Chinese for entertainment purpose, e.g. table games mostly. According to the legend, CaoZhi, one king of the Three Kingdoms period invited it. A dice usually has six sides, it is a cube, which respectively have one to six holes (or digital), the total of these numbers in opposite sides will be equal to seven. Chinese dice used to paint red on one point and four points. Dice is a good device to obtain the random number.”—From Baidu encyclopedia.  


With the development of computer science, the discontinuum-based models are most likely to become the mainstream in the study of solid mechanics especially for rock mechanics. Dr. Zhao has belief in this, so, he is willing to bet on it and developed the DICE2D (a common equipment used in table games). The name is also inspired from Dr.Einstein’s comment on Quantum Mechanics as “God does not play dice”.

As we know that there are many available codes for DEM, such as the commercial ones: PFC and EDEM; and also the open source ones e.g., YADE. The intention of DICE2D is to provide an easy understood code for research students to work on their projects without too much knowlege on programming. The code was written in Matlab as short as possible to help the understanding and let the user could focus on the further development only.

The principle, data structure and constitutive model used in DICE2D can be found in the book of "High Performance Computingknowledge and the Discrete Element Model" by Dr. Zhao. Due to copyright reason, the author can’t distribute the electronic copy in this website or elsewise. Your university might already bought the electronic version.

DICE2D used the scientific computing toolbox to speed up the calculation and can run in a cluster. We have signed agreement with the Tianjin National Supercomputer Center (TNSC) to run the DICE2D-parallel in TianHe-I. If you want to use the cluster for your project, please contact TNSC directly for purchasing CPU time.