EDEM particle body force API don't generate force
Best Answer
-
Hi Qin
In your header file, you are including IPluginParticleBodyForceV3_3_0.h, but in your cpp file for the GETEFINTERFACEVERSION, although your INTERFACE_VERSION_MAJOR is 3, your INTERFACE_VERSION_MINOR is 4, which is inconsistent with the included header.
You can change the header file to include IPluginParticleBodyForceV3_4_0.h, or change the INTERFACE_VERSION_MINOR to 3.
Hope this helps.
Thanks,
Jerrin Job0
Answers
-
Hi Qin
In your header file, you are including IPluginParticleBodyForceV3_3_0.h, but in your cpp file for the GETEFINTERFACEVERSION, although your INTERFACE_VERSION_MAJOR is 3, your INTERFACE_VERSION_MINOR is 4, which is inconsistent with the included header.
You can change the header file to include IPluginParticleBodyForceV3_4_0.h, or change the INTERFACE_VERSION_MINOR to 3.
Hope this helps.
Thanks,
Jerrin Job0 -
It finally worked, thank you for your help.
I'm looking forward for Altair to have better document, so that programmer can use API smoothly.
Qin
0