EDEM API: Particle Body Force - Field Data Coupling – Multiple Fields (CUDA)

RWood
RWood
Altair Employee
edited January 25 in Altair Exchange

Overview

Attached to this post you will find the CPU and GPU plugins that allows the use of multiple fields within EDEM, cycling through them over time.

The plugin has been written to read fields of the name “CFD_field_x”, where x is the index of the field, starting from 0.

Also included is the source code (src folder) and an example (Example folder) used for testing, that demonstrates the cycling of the different fields. The fields used in the example can be found in the folder, 'fields'.

Usage/Installation Instructions

To use the CPU-API code should be compiled into a library file. 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.