EDEM API - Particle Body Force: Apply force to selected materials


This API is an example on how to apply a custom model only to selected bulk materials. The materials are selected in the API parameter GUI. The same logic used here can be extended to contact models as well.



EDEM 2024.0

Usage/Installation Instructions

The zip file contains the source code, and also the compiled library file (.dll) for CPU and the CUDA file (.cu) for GPU. The .dll and .cu files must be placed in the same folder as the simulation