01 - Particle Based Simulation of Granular Material

August 30, 2022

WARNING: This post is over a year old. Some of the information this contains may be outdated.

Introduction

Simulation of granular material is challenging since the macroscopic behavior of the material is based upon the microscopic interaction between individual grains.A problem with the current simulation methods is that it is not possible to achieve interactive frame rates at higher particle counts. Thus for this project, a position based simulation is used based on the paper 'Unified Particle Physics'.

Implementation

The project is implemented in C++ utilizing the magnum library and OpenGL for rendering and intelTBB for multi-threading. Some examples of the simulation ruuning are as follows -

  1. Low Friction model
  1. High Friction Model

The code to the project can be found at Code