<div dir="ltr"><div><div><div><div>Hi Mark, <br><br></div>Did you check the input grid to see if any cells in there are inverted?<br><br></div>If you can share the data set and the workflow, I can take a look to see where the problem occurred.<br><br></div>Best,<br></div>Andy<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 14, 2015 at 6:17 PM, Mark Cartwright <span dir="ltr"><<a href="mailto:mcartwright@microseismic.com" target="_blank">mcartwright@microseismic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Andy,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">  Thanks for the quick reply – that unstructured grid was output from vtkClipDataSet.  I did not think to try the Mesh Quality filter – I will try that.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">  This is the first ugrid that I have seen this happen to, we are using clipdataset to slice a reservoir model ugrid using a geologic horizon.  Many of these
 jobs have been run with good results.  </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">  If you would like I could send you the input data and VTK flow. 
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Mark</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Andy Bauer [mailto:<a href="mailto:andy.bauer@kitware.com" target="_blank">andy.bauer@kitware.com</a>]
<br>
<b>Sent:</b> Thursday, May 14, 2015 4:56 PM<br>
<b>To:</b> Mark Cartwright<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Integrate Variables filter generates negative volume for UnstructuredGrid</span></p>
<p class="MsoNormal"> </p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Mark,</p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">It looks like some of your cells are inverted in their canonical ordering. You can use the Mesh Quality filter to see the tets that have negative volumes.
</p>
</div>
<div>
<p class="MsoNormal">Probably the easiest way to fix the cells canonical ordering would be using Programmable Filter.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal">Regards,</p>
</div>
<p class="MsoNormal">Andy</p>
</div>
<div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">On Thu, May 14, 2015 at 5:30 PM, Mark Cartwright <<a href="mailto:mcartwright@microseismic.com" target="_blank">mcartwright@microseismic.com</a>> wrote:</p>
<div>
<div>
<p class="MsoNormal">Hello,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">  I have an unstructured grid that oddly produces a negative volume – I’ve looked for degenerate cells, etc.  But cannot find anything obvious.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">  The file is attached, it’s a very small grid of approx.. 1500 cells, I’ve removed the data arrays – they integrated negative too – but this did not resolve the issue with the volume being < 0.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">   I am look at vtkIntegrateAttributes now and will post if I find anything.
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">  Happy bug hunting,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Mark</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"> </p>
<div class="MsoNormal" style="text-align:center" align="center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif";color:gray"><br>
This email and its attachments may contain MicroSeismic Inc. proprietary information, which is PRIVILEGED, CONFIDENTIAL, or subject to COPYRIGHT belonging to MicroSeismic Inc. This email is intended solely for the use of the individual or entity to which it
 is addressed. If you are not the intended recipient of this email, or the employee or agent responsible for delivering this email to the intended recipient you are hereby notified that any dissemination, distribution, copying, or action taken in relation to
 the contents of and attachments to this email is STRICTLY PROHIBITED and may be UNLAWFUL. If you have received this email in error, please notify the sender immediately and permanently delete the original and any copy of this email and any printout. Thank
 You.</span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">
http://paraview.org/Wiki/ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" target="_blank">
http://markmail.org/search/?q=ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a></p>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
<br>
<hr>
<font face="Arial" size="1" color="Gray"><br>
This email and its attachments may contain MicroSeismic Inc. proprietary information, which is PRIVILEGED, CONFIDENTIAL, or subject to COPYRIGHT belonging to MicroSeismic Inc. This email is intended solely for the use of the individual or entity to which it
 is addressed. If you are not the intended recipient of this email, or the employee or agent responsible for delivering this email to the intended recipient you are hereby notified that any dissemination, distribution, copying, or action taken in relation to
 the contents of and attachments to this email is STRICTLY PROHIBITED and may be UNLAWFUL. If you have received this email in error, please notify the sender immediately and permanently delete the original and any copy of this email and any printout. Thank
 You.<br>
</font>
</div>

</blockquote></div><br></div>