EDEM API - Contact Model Example: Relative Wear

jerrinjobs
jerrinjobs
Altair Employee
edited December 2023 in Altair Exchange

Overview

Attached is the source code for the Relative Wear model using version 3.6 of the API. Please note this is Relative Wear only, please include a Base and Rolling Friction model into any simulation.

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 relativeWear.cu.

To use the CPU-API code should be compiled into a library file (dll file also provided in the zip to use directly). 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.