Re: [Paraview] Help

2018-02-14 Thread Moreland, Kenneth
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  on behalf of Mohammed 
Babiker 
Date: Wednesday, February 14, 2018 at 11:31 AM
To: "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


[Paraview] Good neighbor filter

2018-02-14 Thread Dennis Conklin
All,

I am looking to calculate a mesh quality measure that would be the ratio of the 
max/min of the element volumes of each element and all it's neighbors (other 
elements with common nodes).  I intend to use this to quantify grid refinement 
transitions and perhaps establish some design standards for them.I have 
tried Gradient of Element Volume, but I need to eliminate the distance part of 
that to get the number that I want.So, if I have a hex element in a regular 
grid,  I would expect to have 26 "neighbor" elements plus the original element. 
   The number I want is  (max of 27 element volumes)/(min of 27 element 
volumes).This quantity will highlight mesh refinement transitions.

My question (at last) is:how do I find all the neighbor elements (share at 
least 1 node) of each element in my model?   I'd like to do this in a 
Programmable Filter.  I'm afraid I don't know much about how connectivity is 
implemented in vtk.

Dennis
___
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


[Paraview] Help

2018-02-14 Thread Mohammed Babiker
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