How to use the particle temperature in an API ?
Hi. My EDEM simulation uses the Heat Conduction model in Particle-to-Particle Physics and the Temperature Update model in Particle-Body-Force Interaction. Now I want add an API that uses the particle temperature to calculate some additional property (I have created a new particle property). How can I retrieve the value of particle temperature from my simulation or from the Heat Conduction model and include it in the new API?
In fact I took the EDEM heat conduction API tutorial and tried to modify the c++ codes. I created a new particle property by replacing the particle temperature property. Also I added some statements i.e. "double elem1Temp" and "double elem2Temp". Please see the screenshot below. But I got the 2 compilation errors: 1) declaration is incompatible and 2) cannot instantiate abstract class. Please advise me how to fix the problem. Thanks so much!