A crash occured when called "addLinearTranslationKinematic" function in coupling module using EDEM 2021.2

User: "wenxuan xu"
Altair Community Member
Updated by wenxuan xu

Hello, EDEM engineers:

     When I used the coupling module to control the geometry motion, a crash occured when called "addLinearTranslationKinematic" function in coupling module using EDEM 2021.2. The code is shown as follow:

image

Is this a bug or this function has been deprecated in EdemCouplingClient4.lib?

Best regards.

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "RWood"
    Altair Employee
    Accepted Answer
    Updated by RWood

    Hi,

    It works fine in my example coupling code that adds kinematics. 

    I would check what box.id returns by debugging.

    I'm also calling mine from a csv file so I use 0/1 instead of false/true, so I'd maybe check with a 0 instead of false in case there's some strange issue there as well.

    Richard