EDEM API - Contact Model Example: Linear Cohesion V2

Stephen Cole
Stephen Cole
Altair Employee
edited August 2023 in Altair Exchange

Overview

Similar to the Linear Cohesion model, the Linear Cohesion V2 model modifies the contacts by adding a normal cohesion force, and can be added “in addition” to other base contact models.

Attached is the source code for the Linear Cohesion V2 model using version 3.3 of the API as well as an example simulation. Please note this is an additional model. To use this model please select a base model and rolling friction model in addition to the API plugin.

The source code consists of the CPU-API code updated to version 3.3 and the CUDA API code supplied as the file CCohesionV2.cu.

Usage/Installation Instructions

This model needs to be compiled into a .dll or .so.  Please see the following tutorial:

https://community.altair.com/csm?id=kb_article_view&sysparm_article=KB0037690

or the EDEM Help:

https://2022.help.altair.com/2022.2/EDEM/Programming_Guide.htm

For details on compiling the model.