cemfDEM

About cemfDEM

This code is developed in FORTRAN standard. It can perform DEM simulations for spherical particles. The code benefits from various optimization algorithms giving rise to its execution speed, though it not parallel. Therefore, simulating tens of thousand particles within a reasonable time is possible. This code can be compile and run under both Windows- and Ubuntu-based operating systems.

  • Particles: Particles with single size, or size distribution, or various density, or physical properties can be simulated.
  • Geometry: The geometry of parts (container, blades and etc.) can be as simple as a cylindrical drum or as complex as a helical blade. A combination of linear and rotational motion can be specified for parts (blades). STL files can be imported into the program to define geometry parts. 
  • Integration: Various integration methods from single-step to multi-step methods and with various numerical precision from the first order to fifths order are implemented in the code.
  • Contact force models: Both linear and non-linear contact force with non-limited and limited tangential displacement models are available in the code as well as rolling friction models.
  • Contact search: Efficient contact search methods suitable for systems single size and systems with wide size distribution are implemented in the code to be used. So, the simulations with multi-sized particles run as efficiently as the simulation with single size particles.

Get cemfDEM code

This program is open to public and can be used for non-commercial use. Although we carefully developed the physical models in the code, but there is no warranty for the simulation results. The code can also be customized to be fitted for a special application. You only need to cite us whenever you are using the results obtained fully or partially from this program. You can download this code from the website. We provided a set of samples with descriptive tutorials to help you to compile and perform simulations with this program. 


How to use cemfDEM

You first need to download the code and then compile it on your computer. The code was tested under Ubuntu 14.04 LTS, Ubuntu 18.04 LTS and Windows-based operating systems. We compiled and tested this code with following compilers:

  • Intel Fortran 2013 and 2015 on Windows
  • Intel Fortran 2015 on Ubuntu 14.04 LTS
  • gfortran-4.9 on Ubuntu 14.04 LTS
  • gfortran-5.0 on Ubuntu 18.04 LTS

A set of sample tutorial are provided below to teach you how to use various features of the code.


Tutorials

Each tutorial in this section may have the following items:

  • A PDF file that explains the problem, operating condition of flow and how to set-up and run the simulation and presents some snapshots of the simulation results.
  • A compressed file that contains the simulation set-up code files (*.f90 files) and other necessary materials for performing the simulation.

There are some common steps that should be carried out in each simulation set-up. For the sake of brevity, these common steps are not explained in all tutorials. We sorted tutorials form simple to complex, here. So simple and common steps are explained in the early tutorials and more advanced simulations are explained in the later ones.

Tutorial 1: Packing of spherical particles with single size
Tutorial File
Set-up files
Tutorial 2: Packing of spherical particles with size distribution
Tutorial File
Set-up files