# mesh quality

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 20, 2010, 12:10 mesh quality #1 New Member   Join Date: Apr 2009 Posts: 17 Rep Power: 10 Dear all, I need to determine the quality of a 2D structured FEM mesh. I calculated the minimum value of the Jacobean and surface area for each cell, and both are positive. I could also compute a scaled version of the aforementioned variables (i.e., ratio of Jacobean with minimum edge). Could someone give me some criteria of what qualifies as a good mesh? Is there a reference that I could read? Thank you

 May 22, 2010, 15:56 #2 Senior Member   John Chawner Join Date: Mar 2009 Location: Fort Worth, Texas, USA Posts: 260 Rep Power: 11 Vasilis: Because you wrote "structured" mesh, I'll assume you have a 2D mapped mesh of linear quads. One measure to consider would be the cell to cell variation in area. Another interesting quality metric would be the "smoothness" of the grid lines in the i and j directions. (For smoothness you can compute something like the angle change in the line from cell to cell.) There are many other metrics you could compute with as many references supporting their use. What matters is what's important to your flow solver. That should be documented in their user manual. Best Regards __________________ John Chawner / jrc@pointwise.com / www.pointwise.com Blog: http://blog.pointwise.com/ on Twitter: @jchawner

 May 25, 2010, 04:23 #3 New Member   Join Date: Apr 2009 Posts: 17 Rep Power: 10 Hi jchawner, The entire code is written by me. I calculated the ratio of the minimum value of the Jacobian at the Gauss points for each cell over the area of that cell. I found that this ratio is equal to 0.25, for the majority of the elements (more than 90%), but it could also be as small as 0.033. What does this tell me about the mesh quality? In a paper, I found that this ratio should be between 0 and 1. If it is equal to 0, the element is badly shaped. Could I argue that I have a few skewed elements, but, overall, I have a good quality mesh?

 May 25, 2010, 07:55 #4 Senior Member   John Chawner Join Date: Mar 2009 Location: Fort Worth, Texas, USA Posts: 260 Rep Power: 11 Like most things in mesh quality the answer is "it depends." It depends on whether the cell with ratio = 0.033 is located where something interesting is happening in the flow. It depends on whether your flow solver is sensitive to this ratio. You wrote that you read a paper about acceptable values for the ratio, but maybe that pertains to the author's solver, not yours. For example, Fluent uses some very distinct methods for computing cell skewness - but those may not pertain to STAR-CCM+. Let me answer your question with another question. If all the elements in your mesh had positive area except for one that had negative area and it prevented your solver from running, could you argue that overall you have a good quality mesh? All that matters in mesh generation is creating a discretization that allows the solver to run and converge to an accurate solution. __________________ John Chawner / jrc@pointwise.com / www.pointwise.com Blog: http://blog.pointwise.com/ on Twitter: @jchawner

May 25, 2010, 09:25
#5
New Member

Join Date: Apr 2009
Posts: 17
Rep Power: 10
Quote:
 Originally Posted by jchawner All that matters in mesh generation is creating a discretization that allows the solver to run and converge to an accurate solution.
If this is indeed the case, then I do have a good mesh. The solution has converged (same solution for two different meshes), and there is an excellent agreement of the numerical solution with the experimental data.

The code stops if it finds a cell with a negative Jacobian.

I was asked to prove that my code produces a good quality mesh. I believe that the the fact that more than 99% of the elements have a scaled Jacobian in the range of [0.2-0.25] is an indication of a good quality mesh.

jchawner, thank you for your help.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24 tachyon_me OpenFOAM Native Meshers: snappyHexMesh and Others 0 October 6, 2009 12:48 SSL FLUENT 2 January 26, 2008 12:55 Joe CFX 2 March 26, 2007 18:10 julie FLUENT 5 July 26, 2004 05:31

All times are GMT -4. The time now is 11:37.