CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Pre-Processing

checkMesh errors

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 5, 2012, 11:06
Default checkMesh errors
  #1
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,504
Blog Entries: 6
Rep Power: 26
Tobi will become famous soon enoughTobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi all,

i normally check my mesh with checkMesh.
In my present mesh there are no errors by using the standard version. But if i add some arguments like -allGeometry, -allTopologys I ll get errors.

So the question is. Are these errors critical?

- allGeometry
Code:
   *There are 350 faces with concave angles between consecutive edges. Max concave angle = 68.2256 degrees.
  <<Writing 350 faces with concave angles to set concaveFaces
    Face flatness (1 = flat, 0 = butterfly) : average = 0.997966  min = 0.458419
   *There are 19 faces with ratio between projected and actual area < 0.8
    Minimum ratio (minimum flatness, maximum warpage) = 0.458419
  <<Writing 19 warped faces to set warpedFaces
    Cell determinant (wellposedness) : minimum: 0.035225 average: 13.0762
    Cell determinant check OK.
 ***Concave cells (using face planes) found, number of cells: 8259
  <<Writing 8259 concave cells to set concaveCells
-allTopology
Code:
Checking topology...
    Boundary definition OK.
    Cell to face addressing OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Topological cell zip-up check OK.
  <<Number of duplicate (not baffle) faces found: 1. This might indicate a problem.
  <<Number of faces with non-consecutive shared points: 1. This might indicate a problem.
  <<Writing 3 faces with non-standard edge connectivity to set edgeFaces
    Number of regions: 1 (OK).
I know that *** errors are critical. I wrote out those cells and loaded the files into paraview.
the concave cells are good cells ?!? I am a bit confused with that output.

For answers and solutions I ll be very thankful couse in my solver one scalar is running away all the time :/
Tobi
Tobi is offline   Reply With Quote

Old   September 8, 2012, 15:01
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,636
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Tobi,

I personally always have trouble memorizing what concave means But that's what wikipedia is for: http://en.wikipedia.org/wiki/Concave

Therefore, concave cells are baaaaad.

If you converted the cellSet using foamToVTK, you should have used the option "-poly", so it will export using polyhedral meshes, instead of decomposing those cells into tetrahedral cells.

As for fixing these cells... refining only them might fix the problem... either that, or create the mesh again, with better quality parameters

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 10, 2012, 06:57
Default
  #3
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,504
Blog Entries: 6
Rep Power: 26
Tobi will become famous soon enoughTobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Quote:
Originally Posted by wyldckat View Post
Hi Tobi,

I personally always have trouble memorizing what concave means But that's what wikipedia is for: http://en.wikipedia.org/wiki/Concave

Therefore, concave cells are baaaaad.

If you converted the cellSet using foamToVTK, you should have used the option "-poly", so it will export using polyhedral meshes, instead of decomposing those cells into tetrahedral cells.

As for fixing these cells... refining only them might fix the problem... either that, or create the mesh again, with better quality parameters

Best regards,
Bruno
Hi Bruno,

thanks for your replay.
With setSet I filtered the concave cells to a VTK format and had a look at those cells. These cells are on the curvature of my sphere and they seem like to be good. Hmmm ...

well I ll try your suggestions.
The quality parameters are the standard settings in snappyHexMesh and I think that these parameters standing for high resolution, arent they?

Thanks tobi
Tobi is offline   Reply With Quote

Old   September 10, 2012, 07:25
Default
  #4
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,504
Blog Entries: 6
Rep Power: 26
Tobi will become famous soon enoughTobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Bruno

I had a look to that cells again (screenshot).
There you can see my concave cells - but they are just normal hexaedral cells ? ? ?

Not like the one in your link.
I am confused?

Any suggestions?
Attached Images
File Type: jpg concaveCells.jpg (95.8 KB, 114 views)
Tobi is offline   Reply With Quote

Old   September 10, 2012, 08:43
Default
  #5
Senior Member
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Leoben (Austria)
Posts: 1,504
Blog Entries: 6
Rep Power: 26
Tobi will become famous soon enoughTobi will become famous soon enough
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi Bruno,

Additionally I wrote that thread About OpenFOAM and concave faces or cells

Eugene mentioned that concave cells are not a big problem

Tobi

Last edited by Tobi; September 10, 2012 at 09:36.
Tobi is offline   Reply With Quote

Old   January 24, 2014, 12:18
Default hi
  #6
Senior Member
 
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 5
shipman is on a distinguished road
Hi Tobi,

I have same error as same as you as follows. Could you tell me what is your observation about concave error? Can it to be corrected? or what i should do to solve this problem. bcs it gives also error during running of calculation.

Code:
Mesh stats
    points:           654382
    faces:            1596014
    internal faces:   1412748
    cells:            471322
    boundary patches: 3
    point zones:      0
    face zones:       0
    cell zones:       0

Overall number of cells of each type:
    hexahedra:     410213
    prisms:        0
    wedges:        0
    pyramids:      0
    tet wedges:    0
    tetrahedra:    0
    polyhedra:     61109

Checking topology...
    Boundary definition OK.
    Cell to face addressing OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Topological cell zip-up check OK.
    Face-face connectivity OK.
    Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces ...
    Patch               Faces    Points   Surface topology                   Bounding box
    wall                182766   183793   ok (non-closed singly connected)   (-0.006 -0.008 -2.71051e-20) (0.00194 0.007 0.00194)
    outlet              100      121      ok (non-closed singly connected)   (0 -0.008 0) (0.00194 -0.008 0.00194)
    inlet               400      451      ok (non-closed singly connected)   (-0.006 0.007 0) (0.00194 0.007 0.00194)

Checking geometry...
    Overall domain bounding box (-0.006 -0.008 -2.71051e-20) (0.00194 0.007 0.00194)
    Mesh (non-empty, non-wedge) directions (1 1 1)
    Mesh (non-empty) directions (1 1 1)
    Boundary openness (2.22526e-14 -1.42534e-17 -2.50737e-15) OK.
    Max cell openness = 2.06795e-16 OK.
    Max aspect ratio = 2.5 OK.
    Minumum face area = 3.75e-11. Maximum face area = 1.6e-07.  Face area magnitudes OK.
    Min volume = 7.03125e-16. Max volume = 6.4e-11.  Total volume = 1.37934e-07.  Cell volumes OK.
    Mesh non-orthogonality Max: 29.0546 average: 10.3431
    Non-orthogonality check OK.
    Face pyramids OK.
    Max skewness = 1.6129 OK.
    Coupled point location match (average 0) OK.
    Face tets OK.
    Min/max edge length = 5e-06 0.0004 OK.
    All angles in faces OK.
    Face flatness (1 = flat, 0 = butterfly) : average = 1  min = 1
    All face flatness OK.
    Cell determinant (wellposedness) : minimum: 0.821136 average: 13.565
    Cell determinant check OK.
 ***Concave cells (using face planes) found, number of cells: 58628
  <<Writing 58628 concave cells to set concaveCells

Failed 1 mesh checks.
shipman is offline   Reply With Quote

Old   January 24, 2014, 19:03
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,636
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@George: I'll try to answer you on this topic at your other thread: http://www.cfd-online.com/Forums/ope...oam-error.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 02:33.