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

Renan
Renan
Altair Employee
edited June 27 in Altair Exchange

Overview

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.

 

Pre-Requisite

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