Particle body force

Yuyu
Yuyu Altair Community Member
edited October 2021 in Community Q&A

Hi,

I am trying to apply the particle body force (drag force) on the particles in EDEM. The problem is that I only want to apply the particle force on a certain area (e.g., in one box) of my model, but it comes that the particle body force is applyied in the whole computation domain. Does anyone know how to apply the particle body force on a certain area of the model instead of the whole domain in EDEM? 

Thank you very much for your help!

Tagged:

Answers

  • RWood
    RWood
    Altair Employee
    edited September 2021

    Hi,

    You can only do this through an API model.

    As you correctly identified, particle body forces will apply to all particles; moreover for all timesteps too. For models built into the GUI there is no changing this. You will have to either reproduce the model as an API model and only apply your forces to particles within a particular volume, or you could write an 'anti' API model, such that it subtracts the force applied to the particle within given limits.

    I'd recommend taking a look at the following article, which deals with drag as an API model:

    https://community.altair.com/community?id=kb_article_view&sysparm_article=KB0113656

    Cheers,

    Richard

  • Yuyu
    Yuyu Altair Community Member
    edited September 2021

    Hi,

    You can only do this through an API model.

    As you correctly identified, particle body forces will apply to all particles; moreover for all timesteps too. For models built into the GUI there is no changing this. You will have to either reproduce the model as an API model and only apply your forces to particles within a particular volume, or you could write an 'anti' API model, such that it subtracts the force applied to the particle within given limits.

    I'd recommend taking a look at the following article, which deals with drag as an API model:

    https://community.altair.com/community?id=kb_article_view&sysparm_article=KB0113656

    Cheers,

    Richard

    Hello Richard,

    Thank you very much for your help. I will go check the API method to apply the particle body force. Have a nice day!

    Best regards,

    Yuyu

  • Yuyu
    Yuyu Altair Community Member
    edited October 2021

    Hi,

    You can only do this through an API model.

    As you correctly identified, particle body forces will apply to all particles; moreover for all timesteps too. For models built into the GUI there is no changing this. You will have to either reproduce the model as an API model and only apply your forces to particles within a particular volume, or you could write an 'anti' API model, such that it subtracts the force applied to the particle within given limits.

    I'd recommend taking a look at the following article, which deals with drag as an API model:

    https://community.altair.com/community?id=kb_article_view&sysparm_article=KB0113656

    Cheers,

    Richard

    Hello Richard,

    I have been tried to apply a particle body force on the particles at a specific area. Now, I can apply my own particle body force on the particles, but I still can not apply the force on the particles on a specific area (e.g., based on the positions of particles in the mold). So, could you please give some help with this problem (some basic codes on how to apply forces on a specific area)? Thank you very much!

    Best,

    Yuyu

  • RWood
    RWood
    Altair Employee
    edited October 2021

    The approach I'm thinking of would be to apply your condition for particles with (x,y,z) within particular limits. Those limits would correspond to your volume of interest, presumably your mold. If your mold is a highly complex shape then this could be difficult, but if it's simple then you could break it down into simple shapes.

    As inspiration, if you take a look at this example, it calculates the residence time for particles within specific geometries (cylinders, cuboids and spheres):

    https://community.altair.com/community?id=kb_article&sysparm_article=KB0113658

    Richard