EDEM Contact Model API -> configForTimeStep error

Hello,
I am using the contact model API in my simulation and realized while running my simulation that the code written within the configForTimeStep function was not executing if I ran an EDEM-only simulation. This was the case even if particle contact occurred. However, if I ran the simulation as a coupled simulation with Fluent, the configForTimeStep function would run perfectly.
How do I resolve this error?
I am currently using v2022.1 of EDEM, and my API uses both the contact model (v3.2.0) and particle factory (v2.2.0).
The methods used within the contact model plugin are as follows:
- isThreadSafe
- usesCustomProperties
- getPreferenceFileName
- getModelType
- getExecutionChainPosition
- setup
- starting
- stopping
- calculateForce
- configForTimeStep
Thanks,
Megan
Answers
-
Hi Megan,
Coupling to fluent shouldn't change how the API functions as these are separate areas of the code. Can you try debugging the code to set a break point in the config function to see what is happening there?
This tutorial outlines how to use the VS Debugging tools:
Regards
Stephen
0