<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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:10pt; color:#000000; background-color:#FFFFFF; font-family:Arial,Helvetica,sans-serif">
<p>Hey Tim,</p>
<p><br>
</p>
<p>you're absolutely right, thanks for pointing this out! <span style="font-size:10pt">I just wanted to mention, especially for other users searching through all the mails, that this actually provides the minimum, average, and maximum of the quality metric
calculated, rather then the minimum,</span><span style="font-size:10pt"> average, and maximum element edge length, which is what I'd need, but thanks anyway!</span></p>
<p><br>
</p>
<p>Best, Tom</p>
<div id="Signature">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma"><br>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Tim Gallagher <tim.gallagher@gatech.edu><br>
<b>Sent:</b> Wednesday, January 27, 2016 12:27 AM<br>
<b>To:</b> Fastl, Thomas<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] Calculate Edge Lengths in Unstructured Grid</font>
<div> </div>
</div>
<div>
<div style="font-family:times new roman,new york,times,serif; font-size:12pt; color:#000000">
Hi Thomas,<br>
<br>
Sorry for the delay responding, I got side tracked doing some other stuff and didn't know the answer off the top of my head! But, it looks the filter provides what you are looking for. Based on the documentation of the vktMeshQuality filter (http://www.vtk.org/doc/nightly/html/classvtkMeshQuality.html#details),
in addition to the per-cell value in the Quality scalar, there is also a Field Data set that is produced called Mesh <type> Quality. In your case, you are looking for the Mesh Tetrahedron Quality field.
<br>
<br>
The field has 5 components. The first 4 are the ones you are looking for, and they are:<br>
<br>
> The minimum, average, maximum, and unbiased variance of quality for each type of cell is stored in the output mesh's FieldData.<br>
<br>
When you visualize the Mesh Tetrahedron Quality variable, it will default to the Magnitude. If you change it to show component 0 you will get the minimum for each cell, 1 is the average, etc.. The 5th field (component 4) is used internally and doesn't matter.
<br>
<br>
Hope that helps,<br>
<br>
Tim<br>
<br>
<hr id="zwchr">
<div style="color:#000; font-weight:normal; font-style:normal; text-decoration:none; font-family:Helvetica,Arial,sans-serif; font-size:12pt">
<b>From: </b>"Thomas Fastl" <thomas.fastl@kcl.ac.uk><br>
<b>To: </b>"tim gallagher" <tim.gallagher@gatech.edu><br>
<b>Cc: </b>paraview@paraview.org<br>
<b>Sent: </b>Monday, January 25, 2016 5:07:29 PM<br>
<b>Subject: </b>Re: [Paraview] Calculate Edge Lengths in Unstructured Grid<br>
<br>
<div id="divtagdefaultwrapper" style="font-size:10pt; color:#000000; background-color:#FFFFFF; font-family:Arial,Helvetica,sans-serif">
<p>Hey Tim,</p>
<p><br>
</p>
<p>thanks for your reply! T<span style="font-size:10pt">he Mesh </span><span style="font-size:10pt">Quality filter indeed provides the Edge </span><span style="font-size:10pt">Ratio for all tetrahedral elements, a single value calculated for every cell using </span><span style="font-size:10pt">the
values I actually need. There must be a way to access them specifically (<span style="font-family:Arial,Helvetica,sans-serif; font-size:13.3333px">min/max/mean edge length</span>) or a workaround to obtain this information. <span style="font-family:Arial,Helvetica,sans-serif; font-size:13.3333px">Does
anybody know how I could do that? Thank you for your help!</span></span></p>
<p><br>
</p>
<p>Best, Tom</p>
<div id="Signature">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma"><br>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Tim Gallagher <tim.gallagher@gatech.edu><br>
<b>Sent:</b> Monday, January 25, 2016 8:13 PM<br>
<b>To:</b> Fastl, Thomas<br>
<b>Cc:</b> paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview] Calculate Edge Lengths in Unstructured Grid</font>
<div> </div>
</div>
<div>
<div style="font-family:times new roman,new york,times,serif; font-size:12pt; color:#000000">
Thomas,<br>
<br>
You can use the MeshQuality filter to compute the Edge Ratio for tetrahedral cells. This will give you a field called Quality in your dataset. You can then compute the statistics on it using other filters as needed.
<br>
<br>
That should do what you are looking for. The definitions used in the MeshQuality filter can be found at: http://www.vtk.org/Wiki/images/6/6b/VerdictManual-revA.pdf<br>
<br>
Tim<br>
<br>
<hr id="zwchr">
<div style="color:#000; font-weight:normal; font-style:normal; text-decoration:none; font-family:Helvetica,Arial,sans-serif; font-size:12pt">
<b>From: </b>"Thomas Fastl" <thomas.fastl@kcl.ac.uk><br>
<b>To: </b>paraview@paraview.org<br>
<b>Sent: </b>Monday, January 25, 2016 1:02:35 PM<br>
<b>Subject: </b>[Paraview] Calculate Edge Lengths in Unstructured Grid<br>
<br>
<div id="divtagdefaultwrapper" style="font-size:10pt; color:#000000; background-color:#FFFFFF; font-family:Arial,Helvetica,sans-serif">
<p>Hello Community,</p>
<p><br>
</p>
<p>I'm trying to calculate the min/max/mean edge length (or even an edge length distribution) in a tetrahedral element mesh specified as an unstructured grid in Paraview. I've played with the 'Extract Edges' filter, however, wasn't successful so far. Does anybody
know how I could do that? Thank you for your input! </p>
<p><br>
</p>
<p>Best, Thomas Fastl</p>
<p><br>
</p>
</div>
<br>
_______________________________________________<br>
Powered by www.kitware.com<br>
<br>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView<br>
<br>
Search the list archives at: http://markmail.org/search/?q=ParaView<br>
<br>
Follow this link to subscribe/unsubscribe:<br>
http://public.kitware.com/mailman/listinfo/paraview<br>
</div>
<br>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>