EDEM API Contact Model | Cannot open Bonded-Particle Contact Model V3.1.0

MQ
MQ Altair Community Member
edited March 2022 in Community Q&A

Hi everyone,

I am trying to implement the API for Bonded Particle Contact Model V3.1.0 provided by EDEM in its older forum (EDEMSimulation). The compilation goes fine, but only with the the following statement added before the code:

#pragma warning(disable : 4996)

However, EDEM fails to load the contact model's dll, with the following error:

image

Can you please suggest how to resolve this issue?

Thank you.

Best regards,

MQ

Tagged:

Best Answer

  • Carles Bosch Padros
    Carles Bosch Padros
    Altair Employee
    edited March 2022 Answer ✓

    Hi MQ,

     

    You can try to export the deck in the analyst > file > export > simulation deck and untick the "custom properties" option and try again in case there are some left over properties.

     

    The other possible problem is that the NormBondTorque and TangBondTorque are not well indexed in the code. Check the source files and make sure index numbers are well assigned.

     

    Regards,

    Carles

Answers

  • Carles Bosch Padros
    Carles Bosch Padros
    Altair Employee
    edited March 2022 Answer ✓

    Hi MQ,

     

    You can try to export the deck in the analyst > file > export > simulation deck and untick the "custom properties" option and try again in case there are some left over properties.

     

    The other possible problem is that the NormBondTorque and TangBondTorque are not well indexed in the code. Check the source files and make sure index numbers are well assigned.

     

    Regards,

    Carles

  • MQ
    MQ Altair Community Member
    edited March 2022

    Hi MQ,

     

    You can try to export the deck in the analyst > file > export > simulation deck and untick the "custom properties" option and try again in case there are some left over properties.

     

    The other possible problem is that the NormBondTorque and TangBondTorque are not well indexed in the code. Check the source files and make sure index numbers are well assigned.

     

    Regards,

    Carles

    Thank you Carles, it worked!