Overview
Attached is the source code for the Heat Conduction and Temperature Update using version 3.3 of the API. Please note this is Heat Conduction and Temperature update only, previously supplied Temperature models included Hertz-Mindlin forces.
The source code consists of the CPU-API code updated to version 3.3, the GPU-API code supplied as the file HeatConduction_v3_3_0.cl, and the CUDA API code supplied as the file HeatConduction_v3_3_0.cu.
This model is a combined Contact Model and Particle Body Force (temperature update).
To use the CPU-API code should be compiled into a library file. When running a simulation if the .cl and .cu files are in the same location as the library the model will be GPU compatible, otherwise it will run on CPU only.
Also included is an older version of the API code (HeatConductionForGeometry_29July2014.zip) which is an example of using the API to set the Geometry as a heat source.
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.
To use this model please select a base model and rolling friction model in addition to the API.