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.
- Download cemfDEM® code from github repository.
- You can access github repository of cemfDEM® here.
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
Meshing a Cylinder Using blockMesh
Use this blockMeshDict to automatically create a structured mesh for cylinder given the radius, height and average cellSize for the final mesh. There will be 3 boundary patches for you in the final mesh: inlet, outlet, and cylinerWall. You also…
How to install OpenFOAM on Windows 10 & 11
To get the best experience with OpenFOAM installation on windows, you need to have windows 10 (build 19041 and higher) or higher versions of Windows like windows 11. So, you can install/activate WSL2 on your computer. WSL, stands for windows…
How to install OpenFOAM-9
In this tutorial, you will learn how to install OpenFOAM-9. If you already have some components installed on your computer, you may skip some of the steps. This tutorial has been tested on Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and…
Four: Flow pattern and particle mixing in a rotating drum using DEM
We investigate mixing mechanism in a rotating drum operating in rolling regime. To this end, a drum with the diameter of 0.2 m and depth of 0.03 m is half-filled with 19000 3-mm spherical particles. Rotation speed of the drum…
Methane Combustion in a Flare
Excess, unrecoverable hydrocarbons are collected and burnt (in a flare) before releasing to atmosphere to reduce their environmental impact. Millions tones of hydrocarbons are burnt each year all around the world. A survey shows that, in 2017, around 270 million…