[Paraview] Clean Grid and Average Point Data

Andy Bauer andy.bauer at kitware.com
Mon Jul 28 10:38:32 EDT 2014


Hi Tristan,

There are a couple of things you can try. The best but most complex is
probably the programmable filter where you merge the points yourself and do
the averaging for the point values. The other thing you can try is using
the point data to cell data filter, then use the clean to grid filter and
finally use the cell data to point data filter. This may due more averaging
than you would like for your results. Other than that, did you get any
feedback on the deal.II mailing list?

Regards,
Andy


On Mon, Jul 28, 2014 at 8:37 AM, Tristan Schlögl <
tristan.schloegl at ltd.uni-erlangen.de> wrote:

> Hi,
>
> I'm using ParaView to visualise finite element simulation results created
> by the deal.ii C++ library. Deal.ii outputs hex elements such that each
> element has its own vertices. To illustrate that point a simple cube
> consisting of 8 elements and 27 nodes has 8*8=64 data points. When I
> display vector valued data as glyphs I have multiple vectors at the same
> location resulting from the contributions of neighbouring cells, see
> http://blogs.fau.de/schloegl/files/2014/07/orig_grid.png .
>
> I now want to display only a single vector at each point, namely the
> average value of all contributions. I tried and applied a "Clean to Grid"
> filter, see
> http://blogs.fau.de/schloegl/files/2014/07/clean_grid.png .
> This is quite good already however, it seems that ParaView only takes one
> of the vectors for each point and not the average (see top mid vector of
> the front (z-max) face).
>
> Is there any other way to realise what I need in ParaView?
>
> Regards
> Tristan
>
>
> --
> Dipl.-Ing. Tristan Schlögl
> Chair of Applied Dynamics
> University of Erlangen-Nuremberg
> Haberstrasse 1
> D-91058 Erlangen, Germany
> room 01.013
> phone +49 (0)9131 85 61003
> fax +49 (0)9131 85 61011
> url www.ltd.tf.uni-erlangen.de
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140728/4d8fed9d/attachment-0001.html>


More information about the ParaView mailing list