user defined EDEM contact model error
Answers
-
Hi,
It looks like a warning rather than an error, potentially eCalculateForce is not always returning success or the F1 variable could be returning 'not a number'. You may need to debug this to check what is happening.
I would recommend using the latest version of the API, I'm unsure which version of the API you are using but the variable cohesion model was recently updated to the latest version supported in EDEM 2024.1:
And we have a guide on how to update API versions:
Regards
Stephen
0 -
I delete F1 and all calculations, only left this in calculate force:
return ECalculateResult::eSuccess;
But same error still happens to stop calculation.
0 -
does user defined contact model conflicts with volume packing?
0 -
Hi, if you use the template from the tutorial and remove all the calculations in the same way do you see the same issue?
0 -
tutorial model failed packing
0 -
When particles are less, the error occurs less, and the model can run.
But when more particle exists, the model will stuck.
0 -
I changed the version to 3 1 0, then this error do not happens.
EXPORT_MACRO int GETCMINTERFACEVERSION()
{
static const int INTERFACE_VERSION_MAJOR = 0x03;
static const int INTERFACE_VERSION_MINOR = 0x01;
static const int INTERFACE_VERSION_PATCH = 0x00;return (INTERFACE_VERSION_MAJOR << 16 |
INTERFACE_VERSION_MINOR << 8 |
INTERFACE_VERSION_PATCH);}
1