<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>The IntegrateVariables filter creates a spreadsheet of PointData (or CellData, depending on where your data is stored in the filter just before IntegrateVariables) with the integral of your data over the volume/area/length depending on if it is 3D/2D/1D
 data respectively. <br>
</p>
<p><br>
</p>
<p>It also adds a field to the CellData array that will be Volume/Area/Length respectively.</p>
<p><br>
</p>
<p>My guess is if you aren't seeing it immediately it is because you are looking at the PointData array and not the CellData array. In the SpreadSheetView that opens up, change the Attribute dropdown from Point Data to Cell Data.<br>
</p>
<br>
<p>Also, as a note -- the values for your variables (pressure, velocity, whatever) are multiplied by the length scale, so if you want the average value in the domain, you need to divide it by the length scale.</p>
<p><br>
</p>
<p>Tim</p>
<p><br>
</p>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Saideep Pavuluri <Saideep.Pavuluri@pet.hw.ac.uk><br>
<b>Sent:</b> Saturday, March 4, 2017 12:30 PM<br>
<b>To:</b> Gallagher, Timothy P; paraview@paraview.org<br>
<b>Subject:</b> RE: Finding volume enclosed by a contour.</font>
<div> </div>
</div>
<div>
<div style="">
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Thanks Tim;</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">I could precisely extract the bubble using the threshold filter as you said (attached picture).
</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Coming to the 2<sup>nd</sup> 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…. </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">How do I integrate the the region in space to find the enclosed volume?</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Sorry, if it’s a basic question.</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D">Saideep  </span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif" lang="EN-US">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif" lang="EN-US"> Gallagher, Timothy P [mailto:tim.gallagher@gatech.edu]
<br>
<b>Sent:</b> 04 March 2017 17:09<br>
<b>To:</b> Saideep Pavuluri <Saideep.Pavuluri@pet.hw.ac.uk>; paraview@paraview.org<br>
<b>Subject:</b> Re: Finding volume enclosed by a contour.</span></p>
</div>
</div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
 </p>
<div id="divtagdefaultwrapper">
<p><span style="font-family:"Calibri",sans-serif; color:black">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.
</span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">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.</span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">Tim</span></p>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<div>
<div style="text-align: center; margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;" align="center">
<span style="font-family:"Calibri",sans-serif; color:black">
<hr align="center" width="98%" size="2">
</span></div>
<div id="divRplyFwdMsg">
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> ParaView <<a href="mailto:paraview-bounces@paraview.org" style="color: rgb(5, 99, 193); text-decoration: underline;">paraview-bounces@paraview.org</a>>
 on behalf of Saideep Pavuluri <<a href="mailto:Saideep.Pavuluri@pet.hw.ac.uk" style="color: rgb(5, 99, 193); text-decoration: underline;">Saideep.Pavuluri@pet.hw.ac.uk</a>><br>
<b>Sent:</b> Saturday, March 4, 2017 11:36 AM<br>
<b>To:</b> <a href="mailto:paraview@paraview.org" style="color: rgb(5, 99, 193); text-decoration: underline;">
paraview@paraview.org</a><br>
<b>Subject:</b> [Paraview] Finding volume enclosed by a contour.</span><span style="font-family:"Calibri",sans-serif; color:black">
</span></p>
<div>
<p style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: "Times New Roman",serif;">
<span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
</div>
</div>
<div>
<div>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">Hi guys;</span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">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.</span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">As mostly, the bubbles are of uniform size, I would like to know the volume of any one bubble formed.
</span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">The bubble is represented by a scalar data set represented by 1 and bounded by the same data set with values 0.</span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">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?</span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">Any help appreciated.</span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">Thanks;</span></p>
<p><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:black">SaiD</span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>