[Paraview] Finding volume enclosed by a contour.
Saideep Pavuluri
Saideep.Pavuluri at pet.hw.ac.uk
Sat Mar 4 12:30:54 EST 2017
Thanks Tim;
I could precisely extract the bubble using the threshold filter as you said (attached picture).
Coming to the 2nd step: I applied the integrate variables filter on the threshold data but I get the general data set values within individual cells like the computed velocity, pressure, etc....
How do I integrate the the region in space to find the enclosed volume?
Sorry, if it's a basic question.
Saideep
From: Gallagher, Timothy P [mailto:tim.gallagher at gatech.edu]
Sent: 04 March 2017 17:09
To: Saideep Pavuluri <Saideep.Pavuluri at pet.hw.ac.uk>; paraview at paraview.org
Subject: Re: Finding volume enclosed by a contour.
Your best bet would be to use the Threshold filter to extract the region where the scalar is greater (or less than) 0.5 and then use the IntegrateVariables filter on the Threshold.
It's not entirely clear your exact pipeline, but it sounds like you are using the IntegrateVariables filter on the Contour, which would give you the surface area of the region instead.
Tim
________________________________
From: ParaView <paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org>> on behalf of Saideep Pavuluri <Saideep.Pavuluri at pet.hw.ac.uk<mailto:Saideep.Pavuluri at pet.hw.ac.uk>>
Sent: Saturday, March 4, 2017 11:36 AM
To: paraview at paraview.org<mailto:paraview at paraview.org>
Subject: [Paraview] Finding volume enclosed by a contour.
Hi guys;
I am using a numerical method (Volume of fluid, just for information) to look at the breaking of a bubble in a micro-channel. Attached picture.
As mostly, the bubbles are of uniform size, I would like to know the volume of any one bubble formed.
The bubble is represented by a scalar data set represented by 1 and bounded by the same data set with values 0.
I think to clip the region enclosing one bubble and draw a contour where the scalar value is 0.5. Now, I tried the integrate variables filter but I did not find a data representing the volume. Any idea how can I get the volume enclosed by this contour?
Any help appreciated.
Thanks;
SaiD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170304/5e924624/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fig2.png
Type: image/png
Size: 8300 bytes
Desc: fig2.png
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170304/5e924624/attachment.png>
More information about the ParaView
mailing list