The Discrete Element Method (DEM) is a powerful numerical method used to simulate the behavior of systems containing a large number of discrete, interacting particles or elements. It is especially popular in mechanical engineering, civil engineering, mining, and material science for modeling granular materials, powders, soils, and rock mechanics.
Unlike continuum methods (like Finite Element Method - FEM), DEM tracks individual particles and their interactions over time.
🚧 Introduction to DEM
The DEM simulates the motion and interaction of each individual particle based on Newton’s laws of motion, contact mechanics, and frictional laws. Each particle is essentially treated as a rigid body.
Types of DEM:
- Soft-sphere DEM: Allows a small overlap between particles to model contacts with force-displacement relationships. Most commonly used.
- Hard-sphere DEM: Used in dilute systems; collisions are instantaneous and binary, no overlap allowed.
🔁 Summary of the DEM Algorithm
At each time step:
- Update contact list
- Compute contact forces (normal + tangential)
- Integrate motion equations for linear and angular velocities and positions
- Repeat over all particles
✅ Key Components and Mathematical Formulation
1. Equations of Motion
For each particle (i), Newton’s second law applies:
🔹 Translational Motion:
[
m_i \frac{d^2 \vec{r}i}{dt^2} = \vec{F}i = \sum{j} \vec{F}{ij}^{c} + \vec{F}_i^{ext}
]
Where:
- ( m_i ): mass of particle (i)
- ( \vec{r}_i ): position vector of particle (i)
- ( \vec{F}_{ij}^{c} ): contact force with particle (j)
- ( \vec{F}_i^{ext} ): external body forces (e.g., gravity)
🔹 Rotational Motion:
[
I_i \frac{d \vec{\omega}i}{dt} = \vec{T}i = \sum{j} \vec{T}{ij}
]
Where:
- ( I_i ): moment of inertia (for spheres: ( I = \frac{2}{5} m r^2 ))
- ( \vec{\omega}_i ): angular velocity of particle (i)
- ( \vec{T}_{ij} ): torque due to tangential force at contact
2. Contact Detection
Particles can be spherical or more complex shapes, but for simplicity we'll consider spherical particles.
Contact between particles (i) and (j) is detected when:
[
\delta_{ij} = R_i + R_j - \left| \vec{r}_j - \vec{r}_i \right| > 0
]
- ( R_i, R_j ): radii of particles
- ( \delta_{ij} ): overlap distance
3. Contact Forces: Normal and Tangential
DEM uses force-displacement contact models. A popular one is the linear spring-dashpot model.
🔹 Normal Force ( \vec{F}_{ij}^{n} ):
[
\vec{F}{ij}^n = k_n \delta{ij} \vec{n}{ij} - \gamma_n v{ij}^n \vec{n}_{ij}
]
Where:
- ( k_n ): normal stiffness
- ( \delta_{ij} ): overlap (penetration) between particles
- ( \vec{n}_{ij} ): unit vector from particle (j) to (i)
- ( \gamma_n ): normal damping coefficient
- ( v_{ij}^n ): normal component of relative velocity
Normal force resists penetration + provides damping for stability/dissipation.
🔹 Tangential Force ( \vec{F}_{ij}^{t} ):
Modeled as spring-dashpot with friction.
[
\vec{F}{ij}^t = -k_t \vec{\xi}{ij} - \gamma_t v_{ij}^t
]
Where:
- ( k_t ): tangential stiffness
- ( \vec{\xi}_{ij} ): tangential displacement (history dependent)
- ( \gamma_t ): tangential damping
- ( v_{ij}^t ): tangential relative velocity
The magnitude of ( \vec{F}_{ij}^t ) is limited by Coulomb friction:
[
|\vec{F}{ij}^{t}| \leq \mu |\vec{F}{ij}^{n}|
]
Where:
- ( \mu ): coefficient of friction
🔹 Contact Torque:
Frictional tangential force generates torque:
[
\vec{T}{ij} = R_i , \vec{n}{ij} \times \vec{F}_{ij}^t
]
4. Particle Integration (Time Stepping)
Typically, DEM uses explicit time integration:
🔹 Velocity-Verlet Scheme or Explicit Euler
Update linear motion:
[
\vec{v}_i^{n+1} = \vec{v}_i^{n} + \frac{\vec{F}_i}{m_i} \Delta t
]
[
\vec{r}_i^{n+1} = \vec{r}_i^{n} + \vec{v}_i^{n+1} \Delta t
]
Update angular motion:
[
\vec{\omega}_i^{n+1} = \vec{\omega}_i^n + \frac{\vec{T}_i}{I_i} \Delta t
]
[
\theta_i^{n+1} = \theta_i^n + \vec{\omega}_i^{n+1} \Delta t
]
(\Delta t) must be very small for stability (usually (\sim 10^{-6}) s)
🛠 Additional Aspects
Cohesion (Optional)
Used in wet powders or clays:
[
F_{cohesive} = -A \delta_{ij}
]
Where (A) is a cohesion constant.
Boundary Conditions
- Walls or containers: Can be modeled as fixed particles or surfaces
- Periodic boundaries: Often used in simulations with infinite systems
Time Step Selection (Critical Time Step)
To ensure stability in explicit integration:
[
\Delta t_{critical} \approx 0.1 \sqrt{ \frac{m_{min}}{k_n} }
]
Where (m_{min}) is the smallest particle mass.
Energy Tracking (Optional)
Monitor system energy:
- Kinetic energy (E_k = \frac{1}{2} m_i \mathbf{v}_i^2)
- Potential energy (if applicable)
- Dissipated energy (via damping/friction)
📐 Summary
| Quantity | Formula |
|---|
| Overlap | ( \delta_{ij} = R_i + R_j - |
| Normal Force | ( \vec{F}_n = k_n \delta \vec{n} - \gamma_n v^n \vec{n} ) |
| Tangential Force | ( \vec{F}_t = -k_t \vec{\xi} - \gamma_t v^t ), limited to ( \mu |
| Torque | ( \vec{T}{ij} = R_i , \vec{n}{ij} \times \vec{F}_{ij}^{t} ) |
| Linear Motion | ( m \frac{d^2 \vec{r}}{dt^2} = \sum \vec{F} ) |
| Rotational Motion | ( I \frac{d \vec{\omega}}{dt} = \sum \vec{T} ) |
| Time Step | ( \Delta t \leq 0.1 \sqrt{\frac{m}{k_n}} ) |
📊 Applications
- Granular flow (silos, chutes)
- Powder compaction
- Soil mechanics
- Modeling rock breakage
- Mixing and segregation in drums
- Landslides or earthquake simulation
- Additive manufacturing (powder behavior)
🧠 Key Features
- Models physical interaction between particles
- Incorporates non-linear contact behavior (via force laws)
- Parallelizable due to particle independence
- Basic models can be written in Python; large-scale requires C++ or GPU acceleration (e.g., with LIGGGHTS, YADE, EDEM)
🧩 Example Libraries
- LIGGGHTS – open-source DEM engine (based on LAMMPS)
- EDEM – commercial DEM software
- YADE – open-source DEM tool (Python/C++)
- Chrono::Engine – C++ framework supporting rigid body dynamics including DEM
If you want, I can provide a Python simulation framework or visualizations for specific particle interactions using this method.