How to calculate distance between particles in grid bin?

User: "Fatemeh Hosseini_22198"
Altair Community Member
Updated by Fatemeh Hosseini_22198

Hello everybody,

I hope you are doing great.
I am simulating the deposition and agglomeration of particles in turbulent flow.(EDEM-Fluent Coupling). I add  grid bins to the tube. Now I need to calculate the distance between different particles(distance between center of each particles) in each grid bin.
All particles have same size and they are spherical.
Is there any way to write it in EDEMpy?

Regards,
Fatemeh

Find more posts tagged with

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

    Hi,

    I'm not aware of anyone having written an EDEMpy script to calculate the positions between particles but you can certainly do that in EDEMpy. I'd recommend a look at the examples on the Altair Community site. The Python script (RockBoxStreams_Example.py) from the rock-box example shows how you can get the particle (x,y,z) positions using EDEMpy, if you aren't familiar with the process:

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

    From there it should be simple to get the distances between particles.

    Cheers

    Richard