EDEM API - Contact Model Example: Standard Rolling Friction 3.0

jerrinjobs
jerrinjobs
Altair Employee
edited December 2023 in Altair Exchange

Overview

Attached is the source code for the Standard Rolling Friction model using version 3.6 of the API. Please note this is Rolling Friction only, please add a Base model from the EDEM GUI or API.

Usage/Installation Instructions

The source code consists of the CPU-API code updated to version 3.6 and the GPU-API code supplied as the file standardRollingFriction.cu.

To use the CPU-API code should be compiled into a library file (.dll file also provided in the zip to be used directly without compilation). When running a simulation if the .cu file is in the same location as the library the model will be GPU compatible, otherwise it will run on CPU only.