Visualization of paraticles in Paraview

Submitted by Rachel on Fri, 04/06/2018 - 04:06

Hi,

I now have output the vtk file for my liggghts code's results. In my code, I have two types of particles with different size, i.e. d=1mm and 2mm. Because I want to see the movement of the particle with d=1mm. Does anyone know how to visulize only particles with d=1mm in PARAVIEW while the other one is invisible? Thanks ahead.

Best,
Rachel

j-kerbl's picture

j-kerbl | Fri, 04/06/2018 - 08:32

Hi Rachel,

if you have dumped the radius information, you can use the threshold filter to only see particles with a radius between a min and max value.
https://www.paraview.org/Wiki/Beginning_Filters

Cheers,
Josef

Rachel | Fri, 04/06/2018 - 09:53

Hi Josef,

Thank you very much. This does help. May I ask another question? Is there any possibility that we trace the movement path of the particles with a certain radius?

Best regards,
Rachel

j-kerbl's picture

j-kerbl | Fri, 04/13/2018 - 10:38

Hi Rachel,

you can use the "Temporal Particles to Pathlines" filter, which you can find in Filters -> Alphabetical -> Temporal Particles to Pathlines, on the threshold filter.
Use Mask points 1, "id" as "id channel array"
Click play.

It can be a bit tricky to operate, but you'll get it working.

Cheers,
Josef