CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Curvature calculation algorithms in Paraview

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By eric_albin
  • 2 Post By eric_albin

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2014, 08:46
Default Curvature calculation algorithms in Paraview
  #1
New Member
 
Ali
Join Date: Dec 2012
Posts: 9
Rep Power: 13
ali.ghaemi is on a distinguished road
Hi Guys

Does any one know which algorithm(s) paraView uses to calculate the mean and Gaussian curvatures of a surface?

Thank you
ali.ghaemi is offline   Reply With Quote

Old   May 6, 2014, 12:06
Default
  #2
New Member
 
Join Date: Feb 2012
Posts: 13
Rep Power: 14
eric_albin is on a distinguished road
Hi Ali,
Maybe it is a bit late but here is the answer:
http://www.vtk.org/doc/release/5.0/h....html#_details

For the Gaussian curvature, the angle deficit method is used (Gauss-Bonnet theorem). It is equal to 2pi minus the sum of the angles for the neighbor faces...
For the mean curvature, it computes a sum over the neighbor edges of the angle between the neighbor faces multiplied by the edge length.
I advice you to have a look to these papers:
- Gatzke & Grimm. Estimating curvatures on triangular meshes (2006).
- Dyn, Hormann, Sun-Jeong & David. Optimizing 3D Triangulations using Discrete Curvature Analysis (2001).
openfoammaofnepo likes this.
eric_albin is offline   Reply With Quote

Old   May 19, 2014, 12:52
Default
  #3
New Member
 
Ali
Join Date: Dec 2012
Posts: 9
Rep Power: 13
ali.ghaemi is on a distinguished road
Thank you Eric! actually it was very on time!
ali.ghaemi is offline   Reply With Quote

Old   August 2, 2014, 18:56
Default
  #4
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Dear All,

When we compute the Gaussian curvature using paraview, how is the sign (plus or minus or zero) of the curvature defined in paraview?

In my case, I have a 3D irregular closed iso-surface, assume there is one point P in the closed -iso-surface. Can the sign of curvature from paraview be used for identifying the convex or concave relate to that point P?
openfoammaofnepo is offline   Reply With Quote

Old   August 3, 2014, 07:26
Default
  #5
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Hello,

I calculate the mean curvature using paraview. I am not sure if why it looks so fragmented. In my expectation, it curvature can be more smooth. Are yours also like my results in the attachment? Did I make some mistake to plot out the mean curvature?

Thank you very much OFFO
Attached Images
File Type: jpg Mean_Curvature.jpg (65.2 KB, 94 views)
openfoammaofnepo is offline   Reply With Quote

Old   August 5, 2014, 17:47
Default
  #6
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
openfoammaofnepo is on a distinguished road
Seems nobody interests in this problem?
openfoammaofnepo is offline   Reply With Quote

Old   July 20, 2017, 10:14
Default
  #7
New Member
 
Join Date: Feb 2012
Posts: 13
Rep Power: 14
eric_albin is on a distinguished road
Hi,

I faced similar problems with curvatures within paraview.
The problem is not simple. First, I guess you generated a mesh representing the implicit surface using the 'isocontour' filter. The mesh extraction is done with a marching cube method. If you have a look to the mesh, you will see that it is very irregular. Using built-in discrete methods to compute curvature with such an irregular mesh is really inaccurate.

I am really sorry to tell you that you should not use built-in filters to compute curvatures. If you are interested, you can have a look to my paper : "Computational assessment of curvatures and principal directions of implicit surfaces from 3D scalar data".
I use an implicit method to compute curvatures at the nodes of the iso-contours extracted by the marching cube method. This is much more accurate because you do not use mesh points but your original 3D data to compute the curvature... I did this with my own python filter within ParaView to handle multi-files...
acgnipper and Toshan like this.
eric_albin is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[General] Wall Shear Stress Calculation with Paraview ahmet ParaView 1 June 20, 2019 18:57
[General] Paraview Binary and OSPray plugin Prapanchnair ParaView 0 May 27, 2016 06:26
[OpenFOAM] Paraview doesn't seem to be picking up data generated by icofoam MikeHersee ParaView 2 January 6, 2015 08:27
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11
[OpenFOAM] Distributed ParaView and PV3FoamReader micalil ParaView 4 July 1, 2010 05:09


All times are GMT -4. The time now is 19:56.