🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

EDEM particle body force API don't generate force

User: "QinHe_321"
Altair Community Member
Updated by QinHe_321

Code are as follows, what causes the error?

 

imageimageimage

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "jerrinjobs"
    Altair Employee
    Accepted Answer
    Updated by jerrinjobs

    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 Job 

    User: "QinHe_321"
    Altair Community Member
    OP
    Updated by QinHe_321

    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