This the DEM code developed in FORTRAN standard. It can perform DEM simulations for spherical particles. This DEM 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
  • gfortran-7.5 on Ubuntu 18.04 LTS

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

cemfDEM® Tutorials


Residence Time Distribution (RTD) in Stirred Tank Reactor: OpenFOAM Simulation

You see an OpenFOAM simulation of a single phase stirred tank reactor using AMI technique. This simulation is performed to find the residence time distribution (RTD) in a stirred tank reactor. In the design and scale-up of chemical reactors, the…

Residence Time Distribution by Particle Tracing

Residence Time Distribution by Particle Tracing

In this tutorial you will learn how to setup a particle tracing system to obtain the residence time distribution of flow in a T-channel. This method can essentially be applied in conjunction with any incompressible solver, like icoFoam, pisoFoam, pimpleFoam…

install openFoam v1912 source pack ubuntu

How to install OpenFOAM v1912 from source pack

In this post you will learn how to install OpenFOAM v1912 from source pack. The operating system is ubuntu 18.04 LTS. It is assumed that you are installing OpenFOAM v1912 on a fresh operating system. A) Download and Initial Checks…

Packing of Hollow Cylinders cemf DEM discreteFlow

Packing of Hollow Cylinders (Catalysts) in a Tube: a DEM Simulation

In many occasion in process industries (i.e. chemical engineering), we need to create a random packed bed of Catalysts. Packing of Hollow Cylinders in reactor (heterogeneous catalytic reaction) tubes can be simulated using DEM. This packing will then be used…

DEM Rotating Drum non-spherical particle

Rotating Drum with Non-Spherical Particles: A DEM Simulation

Many industrial processes like granulation, particle coating, bio-mass pyrolysis, dryers contain rotating drum as a part of their processes. its rotation cause a gentle motion of particles. So, this gentle motion brings particle to the bed surface, where particles avalanche…