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

Simulating a Bubble Column Using OpenFOAM®

Simulating a Bubble Column Using OpenFOAM®

You will learn how to simulate a bubble column suing OpenFAOM®. All the details on sub-models and simulation settings are presented in this tutorial. You can also see the animation of the simulation results here.


How to add Drag model & Turbulence model to twoPhaseEulerFOAM

How to add Drag model & Turbulence model to twoPhaseEulerFOAM

You always face times that you want to add new physical models to your solver. In two-phase simulations, drag model and turbulence model are perhaps two of the most important ones that one may want to change. In this tutorial you…

How to simulate a gas-solid fluidized bed using OpenFOAM®

How to simulate a gas-solid fluidized bed using OpenFOAM®

In this tutorial you will learn how to simulate a gas-solid fluidized bed using OpenFOAM® (twoPhaseEulerFoam). The tutorial also contains a complete description of physical models  and available options through which you can customize your simulation. In addition, you can…

install openFoam form source pack

How to install OpenFOAM 7 from source pack

In this tutorial, you will learn how to install OpenFOAM-7 from source pack. If you already have some components installed on your computer, you may skip some of the steps. This tutorial has been tested on Ubuntu 16.04 LTS, Ubuntu…