[Paraview] Volume computation
Berk Geveci
berk.geveci at kitware.com
Wed Dec 6 08:38:19 EST 2006
Hi Renato,
Can you send me a dataset to reproduce this? It sounds like something
that should be looked at.
-berk
On 11/11/06, Renato N. Elias <rnelias at nacad.ufrj.br> wrote:
>
> >>> I would verify the integration results before trusting them 100%. <<<
>
> I see... if it helps you in anything I'm sending some "benchmark" results.
>
> The disk has diameter 30 and height 0.5. The slot has width 5, length 25 and
> height .5, thus:
>
> V_cylinder = H x (pi*D^2)/4 = 353.429
>
> V_slot = W x L x H = 5 x 25 x .5 = 62.5
>
> V_disk = V_cylinder - V_slot = 290.929
>
> I tested the integration attributed filter computing the volume from the
> clip and the threshold filters. As you can see by the images
>
> http://www.nacad.ufrj.br/~rnelias/paraview/clip.jpg
>
> http://www.nacad.ufrj.br/~rnelias/paraview/threshold.JPG
>
> the clip data resulted the volume 227.874 (not so good) while the threshold
> produced the volume 290.919 (almost perfect!).
>
> Can you figure out why the results were different if the datasets are quite
> similar?
>
> Regards
>
> Renato.
>
> p.s.: Other useful parameters:
> The clip filter grouped 4033 cells, 1494 points and polygon count 4033
> The Threshold filter grouped 4037 cells, 1494 points and polygon count 4037
> 4 tets giving a difference of 63.045?! These tets have 0.5 of height at
> most.
>
>
> -----Mensagem original-----
> De: Berk Geveci [mailto:berk.geveci at kitware.com]
> Enviada em: sábado, 11 de novembro de 2006 15:58
> Para: Renato N. Elias
> Cc: paraview at paraview.org
> Assunto: Re: [Paraview] Volume computation
>
> I am glad you got it to work. A word of caution: that is a new feature. I
> would verify the integration results before trusting them 100%.
>
> -berk
>
> On 11/11/06, Renato N. Elias <rnelias at nacad.ufrj.br> wrote:
> >
> > (abashed) What a shame... just for completeness: I haven't noticed
> > that the "integrate attributes" had worked in both cases with the clip
> > and the threshold filter as well.
> >
> > It gives you an idea of how crazy I've been. Overwork + no time =
> > insanity
> > ;o)
> >
> > Renato.
> >
> > -----Mensagem original-----
> > De: paraview-bounces+rnelias=nacad.ufrj.br at paraview.org
> > [mailto:paraview-bounces+rnelias=nacad.ufrj.br at paraview.org] Em nome
> > de Renato N. Elias Enviada em: sábado, 11 de novembro de 2006 16:16
> > Para: 'Berk Geveci'; paraview at paraview.org
> > Assunto: ENC: [Paraview] Volume computation
> >
> >
> > Berk, forget about the previous message. I found what I did wrong! I
> > was using the clip filter instead of threshold. take a look
> > http://www.nacad.ufrj.br/~rnelias/paraview/PV-screen-correct.JPG. Now
> > it works perfectly ;o)
> >
> > thanks for your hint.
> >
> > Renato.
> >
> >
> > -----Mensagem original-----
> > De: Renato N. Elias [mailto:rnelias at nacad.ufrj.br] Enviada em: sábado,
> > 11 de novembro de 2006 15:53
> > Para: 'Berk Geveci'
> > Cc: 'paraview at paraview.org'
> > Assunto: RES: [Paraview] Volume computation
> >
> >
> > Hi Berk,
> >
> > It doesn't seem to be working yet (at least to solve this specific
> problem).
> > I checked out the PV HEAD today (11th saturday) and compiled with
> > VS2003 (I gave up to use VS2005, but it's another history). My problem
> > is that I'd like to compare the volume preservation in a Zalesak's
> > rotation disk problem. This volume itself is not so hard to compute
> > but, actually, I'm questioning the results obtained from the routine I
> > wrote. In this way I'd like to load my data in PV, clip the data using
> > an scalar value greater a value (0.5 in my case) and compute the
> > volume of the clipped data. The following screen
> > http://www.nacad.ufrj.br/~rnelias/paraview/PV-screen.JPG
> > gives you an idea of the problem.
> >
> > is it possible to do?! What am I missing?
> >
> > p.s.: I also tried with the PV3 november's snapshot. Now the Ensight
> > reader seems to be working correctly to load steady state data but the
> > clip filter in PV3 does not have all features available in 2.4.x PV
> versions yet.
> >
> > Regards
> >
> > Renato.
> >
> > ________________________________
> >
> > De: Berk Geveci [mailto:berk.geveci at kitware.com] Enviada em:
> > quarta-feira, 8 de novembro de 2006 16:41
> > Para: rnelias
> > Cc: paraview at paraview.org
> > Assunto: Re: [Paraview] Volume computation
> >
> >
> > This is possible with the CVS version of ParaView using Integrate
> > Attributes.
> >
> > -berk
> >
> >
> > On 11/8/06, rnelias < rnelias at nacad.ufrj.br
> > <mailto:rnelias at nacad.ufrj.br> >
> > wrote:
> >
> >
> > Hi all,
> >
> > Does anybody know if PV can compute the volume of datasets? I
> > have a domain
> > which after applying the clip filter gives me a portion which
> > I'd like to
> > know its volume. Is it possible to do it with PV?
> >
> > Thanks for any help
> >
> > Renato.
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> >
> >
> >
> >
> > --
> > Berk Geveci
> > Kitware Inc.
> > 28 Corporate Drive
> > Clifton Park, NY, 12309
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >
>
>
> --
> Berk Geveci
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park, NY, 12309
>
>
--
Berk Geveci
Kitware Inc.
28 Corporate Drive
Clifton Park, NY, 12309
More information about the ParaView
mailing list