Filtering specific particles in particle data


I have some positions data of a large number of particles over a large number of iterations. Visualizing everything at once over all iterations is therefore a bit of a hassle. I was wondering if there were any possibility to apply some initial filter that would be applied for all iteration e.g. track only particles that start in a given area ?

Thanks for any help !

Any chance someone knows the solution ? I guess tracking only some specific particles in time is something elementary but I can’t find the way to do that.

So many solutions for this, simplest would be ExtractSelection or Clip but that depends how you want to filter particles.

My problem is that the Clip solution will clip on a given spatial region of the domain and this for only one timestep. What I would like to do is follow over all timesteps only particles that started for instance in region x>0.5 & x<0.75 or only particles whose initial velocity where say vel=1. So I would tag these particles initially and follow only them even though they go out of the inital region of interest or if they change their velocity. Is this possible ?

Are your particles identified by an id ?

Not that I know of…how do I do that ? They all are located in one given block though, is this equivalent ?

please share (some timesteps of) your data

Here: .nc files with xdmf to read with xdmf reader v1.

particles_w_xdmf.tar.gz (2.7 MB)

Sorry it’s only two timesteps, the server keeps crashing at the end of the upload and I guess it’s bc my fiel was too big.

It looks like your number of points and point idexing is not changing over time also your point indexing is spacially logical, so extract points based on their ID should work perfectly.

  • Edit → FindData → Find Points → ID is between → the values you want
  • Run Selection Query
  • Extract Selection, Apply

Oh, great thanks ! The filter on IDs is only continuous right ? Namely, I can’t give a list of discontinuous IDs ?

You can use a custom query and write in python to select any ids you want.

Oh great, I’ll look into that. Thanks again. I’ve recently heard you’re giving some introductory classes at my institute so I’ll ask to follow it. I still have some remaining questions to use this great software :slight_smile:

1 Like