Mohammed,

The answer to your question depends on a lot of things.

Depending on your simulation, it might be easiest if the simulation itself 
detected when a particle exits the pipe. It is, after all, the thing tracking 
the particles to begin with. From there it could output its count in a csv 
file. You could load that up and plot in in ParaView, although a typical 
spreadsheet program can do that as well.

Assuming it is not feasible to have your simulation do the count, getting 
ParaView to do it depends on a lot of things. First, it depends on whether 
particles “die” in your simulation. It is pretty common in simulation code to 
have particles leave the defined domain (or otherwise become invalid) and then 
get removed from the list of particles that get written out. If particles never 
die, then your job in ParaView is easier. You can just count how many particles 
are past the out end of the pipe and count that.

If particles are born or die in your simulation, then the problem becomes much 
more difficult.

-Ken

From: ParaView <paraview-boun...@public.kitware.com> on behalf of Mohammed 
Babiker <en.mhdbabi...@gmail.com>
Date: Wednesday, February 14, 2018 at 11:31 AM
To: "paraview@public.kitware.com" <paraview@public.kitware.com>
Subject: [EXTERNAL] [Paraview] Help

Good evening

I am a new user of paraview . I am running a simulation of particles passing 
through a horizontal pipe exiting from other side I would like to know howm 
many numbers of particles exit and plot that number with respect to time . any 
help will be appreciated.

Regards.

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://public.kitware.com/mailman/listinfo/paraview

Reply via email to