How can I count number of particles with a specific velocity?

Fatemeh Hosseini_22198
Fatemeh Hosseini_22198 Altair Community Member
edited August 2023 in Community Q&A

Hello, everybody,

I tried two different approaches to determine the number of particles with a given velocity:

1. Try to display particles with a range that is constrained by their velocity. It displays the particles that I want , but I have no idea how to count how many there are.

2. I attempted to export the results and set a velocity range-based limit, however, when I select the number of particles, the specify range option is inactive.

Would you kindly advise me in this area?


Regards,
Fatemeh

Tagged:

Answers

  • Stefan Pantaleev_21979
    Stefan Pantaleev_21979
    Altair Employee
    edited August 2023

    Hi Fatemeh,

    The number of particles in the system is fixed in a particular timestep so it cannot have a range.

    To count the particles within a velocity range you can export the particle velocity on a standard query and count the number of entries in Excel.

    image

    You can also plot a histogram of the particle velocity over a range, right click on the graph to export the data and sum the columns in excel.

    image

    You can also use EDEMpy and perform the calculation in Python:

    EDEMpy Introduction guide and tutorial : Mass inside mixer

    Best regards,

    Stefan

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.