atom feed8 messages in org.paraview.paraview[Paraview] Volume computation
FromSent OnAttachments
rneliasNov 8, 2006 10:24 am 
Berk GeveciNov 8, 2006 2:40 pm 
Renato N. EliasNov 11, 2006 12:52 pm 
Renato N. EliasNov 11, 2006 1:14 pm 
Renato N. EliasNov 11, 2006 1:30 pm 
Berk GeveciNov 11, 2006 1:57 pm 
Renato N. EliasNov 11, 2006 7:09 pm 
Berk GeveciDec 6, 2006 8:37 am 
Subject:[Paraview] Volume computation
From:Berk Geveci (berk@kitware.com)
Date:Dec 6, 2006 8:37:59 am
List:org.paraview.paraview

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 <rnel@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

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@kitware.com] Enviada em: s?bado, 11 de novembro de 2006 15:58 Para: Renato N. Elias Cc: para@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 <rnel@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)

-----Mensagem original----- De: paraview-bounces+rnelias=naca@paraview.org [mailto:paraview-bounces+rnelias=naca@paraview.org] Em nome de Renato N. Elias Enviada em: s?bado, 11 de novembro de 2006 16:16 Para: 'Berk Geveci'; para@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.

-----Mensagem original----- De: Renato N. Elias [mailto:rnel@nacad.ufrj.br] Enviada em: s?bado, 11 de novembro de 2006 15:53 Para: 'Berk Geveci' Cc: 'para@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@kitware.com] Enviada em: quarta-feira, 8 de novembro de 2006 16:41 Para: rnelias Cc: para@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 < rnel@nacad.ufrj.br <mailto:rnel@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 Para@paraview.org http://www.paraview.org/mailman/listinfo/paraview