# Volume conservation with time

**URL:** https://discourse.paraview.org/t/volume-conservation-with-time/3793
**Category:** ParaView Support
**Tags:** vtk
**Created:** [March 12, 2020, 7:30am UTC](https://discourse.paraview.org/t/volume-conservation-with-time/3793 "2020-03-12T07:30:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![yashika](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/4da419/32.png) [@yashika](https://discourse.paraview.org/u/yashika)
#### Post date: [March 12, 2020, 7:30am UTC](https://discourse.paraview.org/t/volume-conservation-with-time/3793/1 "2020-03-12T07:30:57Z")

</div>

Dear All,

I have a 3D droplet of fluid 1moving in a channel contain fluid 2. Tracer is varying from 1(fluid1) to 0(fluid2). I want to measure the inside volume of droplet at each time instant. Like I want to check if there is volume of fluid lose with time in simulation. Can I plot this volume with time in ParaView? If yes, HOW? I am attaching geometry for reference.

Yashika

 ![geometry](https://discourse.paraview.org/uploads/default/original/2X/5/591601c3d7a5aa5b3c938dd0eb684562855e86dc.png)

---

<div class="post-metadata">

### Author: ![yashika](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/4da419/32.png) [@yashika](https://discourse.paraview.org/u/yashika)
#### Post date: [March 12, 2020, 10:27am UTC](https://discourse.paraview.org/t/volume-conservation-with-time/3793/2 "2020-03-12T10:27:33Z")

</div>

For example, can I compute volume for specific cells into the domain based on tracer value. Can get this data form different snapshot and plot it?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 12, 2020, 10:41am UTC](https://discourse.paraview.org/t/volume-conservation-with-time/3793/3 "2020-03-12T10:41:17Z")

</div>

Filters -\> MeshQuality let you compute the volume of a mesh.  
Filters -\> PlotDataOverTime will let you plot it over time

---

<div class="post-metadata">

### Author: ![yashika](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/4da419/32.png) [@yashika](https://discourse.paraview.org/u/yashika)
#### Post date: [March 12, 2020, 2:08pm UTC](https://discourse.paraview.org/t/volume-conservation-with-time/3793/4 "2020-03-12T14:08:50Z")

</div>

Dear Mathieu,

I apply MeshQuality- change tet-quality measure and hex-quality measure to volume. Am I doing this correct? Can I get numerical value for volume from this? I don’t think I understand what this physically says. Can you please explain it to me again? I am attaching my VTK file for reference.

Yashika

[SN-0.vtk](https://discourse.paraview.org/uploads/short-url/8ZtZdtuAxD91y6P7avQyGCz05bI.vtk) (648.8 KB)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [March 13, 2020, 3:16am UTC](https://discourse.paraview.org/t/volume-conservation-with-time/3793/5 "2020-03-13T03:16:32Z")

</div>

My bad, there is a much simpler to go with this.

`Filters -> IntegrateVariables` give you the Volume of your mesh directly.
