EDEM API Contact Model | Not working correctly: Bonded-Particle Contact Model V3.1.0
Hi Everyone,
I have been trying to implement the Bonded-Particle contact model (v3.1.0) API provided by EDEM (from its previous EDEMSimulation forums), but no bonds form between the particles. In contrast, when I simply use the built-in Bonding V2 model against the same parameters as for API, then it works fine.
I have included the comparison videos, as well as test simulations (EDEM + API) data. It looks like that API is not correctly importing the data from the prefs file, and passing the variables as 0.
Any suggestions, what could be the potential issue with that?
Thank you.
Best regards,
MQ
P.S.
During compilation using VS2019-Community, I do get the following errors/warnings:
Warning C4244 'argument': conversion from 'time_t' to 'unsigned int', possible loss of data..
Error C4996 'strncpy': This function or variable may be unsafe. Consider using strncpy_s instead...
I disable the error by adding: #pragma warning(disable : 4996)