[Paraview] Calculate Edge Lengths in Unstructured Grid

2016-01-25 Thread Fastl, Thomas
Hello Community,


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!


Best, Thomas Fastl

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Calculate Edge Lengths in Unstructured Grid

2016-01-25 Thread Tim Gallagher
Thomas, 

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. 

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 

Tim 

- Original Message -

From: "Thomas Fastl"  
To: paraview@paraview.org 
Sent: Monday, January 25, 2016 1:02:35 PM 
Subject: [Paraview] Calculate Edge Lengths in Unstructured Grid 



Hello Community, 


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! 


Best, Thomas Fastl 


___ 
Powered by www.kitware.com 

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html 

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView 

Search the list archives at: http://markmail.org/search/?q=ParaView 

Follow this link to subscribe/unsubscribe: 
http://public.kitware.com/mailman/listinfo/paraview 

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Calculate Edge Lengths in Unstructured Grid

2016-01-25 Thread Fastl, Thomas
Hey Tim,


thanks for your reply! The Mesh Quality filter indeed provides the Edge Ratio 
for all tetrahedral elements, a single value calculated for every cell using 
the values I actually need. There must be a way to access them specifically 
(min/max/mean edge length) or a workaround to obtain this information. Does 
anybody know how I could do that? Thank you for your help!


Best, Tom


From: Tim Gallagher 
Sent: Monday, January 25, 2016 8:13 PM
To: Fastl, Thomas
Cc: paraview@paraview.org
Subject: Re: [Paraview] Calculate Edge Lengths in Unstructured Grid

Thomas,

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.

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

Tim


From: "Thomas Fastl" 
To: paraview@paraview.org
Sent: Monday, January 25, 2016 1:02:35 PM
Subject: [Paraview] Calculate Edge Lengths in Unstructured Grid


Hello Community,


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!


Best, Thomas Fastl


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Calculate Edge Lengths in Unstructured Grid

2016-01-26 Thread Tim Gallagher
Hi Thomas, 

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  Quality. In your case, you are 
looking for the Mesh Tetrahedron Quality field. 

The field has 5 components. The first 4 are the ones you are looking for, and 
they are: 

> The minimum, average, maximum, and unbiased variance of quality for each type 
> of cell is stored in the output mesh's FieldData. 

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. 

Hope that helps, 

Tim 

- Original Message -

From: "Thomas Fastl"  
To: "tim gallagher"  
Cc: paraview@paraview.org 
Sent: Monday, January 25, 2016 5:07:29 PM 
Subject: Re: [Paraview] Calculate Edge Lengths in Unstructured Grid 



Hey Tim, 


thanks for your reply! T he Mesh Quality filter indeed provides the Edge Ratio 
for all tetrahedral elements, a single value calculated for every cell using 
the values I actually need. There must be a way to access them specifically ( 
min/max/mean edge length ) or a workaround to obtain this information. Does 
anybody know how I could do that? Thank you for your help! 


Best, Tom 









From: Tim Gallagher  
Sent: Monday, January 25, 2016 8:13 PM 
To: Fastl, Thomas 
Cc: paraview@paraview.org 
Subject: Re: [Paraview] Calculate Edge Lengths in Unstructured Grid 


Thomas, 

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. 

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 

Tim 

- Original Message -

From: "Thomas Fastl"  
To: paraview@paraview.org 
Sent: Monday, January 25, 2016 1:02:35 PM 
Subject: [Paraview] Calculate Edge Lengths in Unstructured Grid 



Hello Community, 


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! 


Best, Thomas Fastl 


___ 
Powered by www.kitware.com 

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html 

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView 

Search the list archives at: http://markmail.org/search/?q=ParaView 

Follow this link to subscribe/unsubscribe: 
http://public.kitware.com/mailman/listinfo/paraview 


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Calculate Edge Lengths in Unstructured Grid

2016-01-30 Thread Fastl, Thomas
Hey Tim,


you're absolutely right, thanks for pointing this out! 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, average, and maximum element edge length, 
which is what I'd need, but thanks anyway!


Best, Tom


From: Tim Gallagher 
Sent: Wednesday, January 27, 2016 12:27 AM
To: Fastl, Thomas
Cc: paraview@paraview.org
Subject: Re: [Paraview] Calculate Edge Lengths in Unstructured Grid

Hi Thomas,

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  Quality. In your case, you are 
looking for the Mesh Tetrahedron Quality field.

The field has 5 components. The first 4 are the ones you are looking for, and 
they are:

> The minimum, average, maximum, and unbiased variance of quality for each type 
> of cell is stored in the output mesh's FieldData.

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.

Hope that helps,

Tim


From: "Thomas Fastl" 
To: "tim gallagher" 
Cc: paraview@paraview.org
Sent: Monday, January 25, 2016 5:07:29 PM
Subject: Re: [Paraview] Calculate Edge Lengths in Unstructured Grid


Hey Tim,


thanks for your reply! The Mesh Quality filter indeed provides the Edge Ratio 
for all tetrahedral elements, a single value calculated for every cell using 
the values I actually need. There must be a way to access them specifically 
(min/max/mean edge length) or a workaround to obtain this information. Does 
anybody know how I could do that? Thank you for your help!


Best, Tom


From: Tim Gallagher 
Sent: Monday, January 25, 2016 8:13 PM
To: Fastl, Thomas
Cc: paraview@paraview.org
Subject: Re: [Paraview] Calculate Edge Lengths in Unstructured Grid

Thomas,

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.

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

Tim


From: "Thomas Fastl" 
To: paraview@paraview.org
Sent: Monday, January 25, 2016 1:02:35 PM
Subject: [Paraview] Calculate Edge Lengths in Unstructured Grid


Hello Community,


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!


Best, Thomas Fastl


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview