Can bond35 api be used for sphero-cylinders?

satri
satri Altair Community Member

Hello

I am trying to use this example API provided for BondedParticleCustom_3_5_0 version for a sphero-cylinder

https://community.altair.com/discussion/35365/edem-api-contact-model-example-updated-bond-model-example-of-customisation-of-bond-model

but this has a function for a sphere only

The post does not say that this can be used only for a sphere. which means it should work for a sphero-cylinder also. but i am not able to get the bonds for the sphero cylinder because even the CUDA file has this

Please tell me if there is a different bond api for sphero-cylender particles

Tagged:

Best Answer

  • Stephen Cole
    Stephen Cole
    Altair Employee
    Answer ✓

    Hi, the physics is designed for spheres, it hasn't been updated for sphero-cylinders but you can change the query to isSpheroCylinderParticle() or similar:

    Regards

    Stephen

Answers

  • Stephen Cole
    Stephen Cole
    Altair Employee
    Answer ✓

    Hi, the physics is designed for spheres, it hasn't been updated for sphero-cylinders but you can change the query to isSpheroCylinderParticle() or similar:

    Regards

    Stephen

  • satri
    satri Altair Community Member

    Sounds good.

    Thank you for suggesting that.