CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Counting particles in transient simulation using Fluent DPM method (https://www.cfd-online.com/Forums/fluent-udf/186911-counting-particles-transient-simulation-using-fluent-dpm-method.html)

mali28 April 25, 2017 06:36

Counting particles in transient simulation using Fluent DPM method
 
Hello,

I am using Fluent DPM method with one-way coupling in Fluent. I need to write a UDF that counts the number of particles in its surrounding as the particles flow in a fluid. I have about 200 particles, and with each particle location as the center of the spherical volume, the number of particles within the volume of a specified radius is required.
I am doing a transient simulation, in which all particles advance with time step, so it should be practical to count the number of particles. But cant find the right DPM macro for this purpose.
Any help will be highly appreciated.

Thank you.


All times are GMT -4. The time now is 19:35.