EDEM API Contact Model | Increase/decrease particle volume/radius?

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

Hello everyone,

Is there any way to change the particle volume/radius using API?

Particle replacement would not be an option, as I need them to gradually increase/decrease their size to simulate mass diffusion.

Thank you.

Best regards,

MQ

Tagged:

Best Answer

  • Renan
    Renan
    Altair Employee
    edited November 2022 Answer ✓

    Hi MQ,

    You can use the setScale function in the IParticleManager class. Once you update the scale, EDEM will automatically update the radius of the particle and all other related properties (like volume, mass, moment of inertia). Hope this helps you!

    Best regards,

    Renan

Answers