<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<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:andy.bauer@kitware.com]
<br>
<b>Sent:</b> Thursday, May 14, 2015 4:56 PM<br>
<b>To:</b> Mark Cartwright<br>
<b>Cc:</b> paraview@paraview.org<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" style="">Hello,</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style=""> 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" style=""> </p>
<p class="MsoNormal" style=""> 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" style=""> </p>
<p class="MsoNormal" style=""> I am look at vtkIntegrateAttributes now and will post if I find anything.
</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style=""> Happy bug hunting,</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">Mark</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style=""> </p>
</div>
<p class="MsoNormal"> </p>
<div class="MsoNormal" align="center" style="text-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" color="Gray" size="1"><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>
</body>
</html>