EDEM API - Contact Model Example: Linear Cohesion V2

Stephen Cole
Stephen Cole
Altair Employee
edited December 20 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:

or the EDEM Help:

https://help.altair.com/edem/topics/programming_guide/introducing_the_programming_guide_c.htm

Further links:

Tagged: