|
[Sponsors] |
January 8, 2008, 10:40 |
Hi,
When I issued checkMesh
|
#1 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi,
When I issued checkMesh to check my mesh, I got: ***Faces not in upper triangular order <<Writing 1 unordered faces to set upperTriangularFace Topological cell zipup check ok .. Failed 1 mesh check. -------------------------- Can anyone explain what this means? Thanks! Pei |
|
January 8, 2008, 10:55 |
The order of the faces is only
|
#2 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
The order of the faces is only important for convergence rate of the linear solver. Use renumberMesh to reorder the faces and this message will be gone....
Frank
__________________
Frank Bos |
|
January 8, 2008, 11:35 |
Hi, Frank,
Thanks for the q
|
#3 |
Senior Member
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18 |
Hi, Frank,
Thanks for the quick respond! According to the warning message, there is only 1 face that is unordered. When I issued "renumberMesh . case", and then checkMesh, I still got the same warning. Did I use the renumberMesh util correctly? Pei |
|
January 8, 2008, 11:49 |
Mmm, that's the way to use it,
|
#4 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
Mmm, that's the way to use it, works fine here....
__________________
Frank Bos |
|
January 8, 2008, 11:50 |
I had the same problem.
As fa
|
#5 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
I had the same problem.
As far as I know, that warning is just a small bug in the current checkMesh (1.4.1). Using renumberMesh, however, can imporve your simulation time a lot! Francesco |
|
January 8, 2008, 12:15 |
There's no bug: mesh face orde
|
#6 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
There's no bug: mesh face ordering is strictly enforced and necessary for good performance of Incomplete Cholesky preconditioning. Just run renumberMesh and it will get fixed.
Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
January 8, 2008, 12:25 |
Hi Hrvoje,
that's what I mean
|
#7 |
Senior Member
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18 |
Hi Hrvoje,
that's what I mean. Even after renumberMesh, the error from checkMesh doesn't disappear. The same happened to Pei. Francesco |
|
January 8, 2008, 13:05 |
OK, look at it here: sit in a
|
#8 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
OK, look at it here: sit in a cell, visit all neighbours, ask for a cell neighbour label and pick out the smallest one. No error here:
// Add the faces in the increasing order of neighbours for (label neiSearch = 0; neiSearch < nNeighbours; neiSearch++) { // Find the lowest neighbour which is still valid label nextNei = -1; label minNei = oldCells.size(); forAll (neiCells, ncI) { if (neiCells[ncI] > -1 && neiCells[ncI] < minNei) { nextNei = ncI; minNei = neiCells[ncI]; } } if (nextNei > -1) { // Face is internal and gets reordered reverseFaceOrder[curFaces[nextNei]] = nMarkedFaces; // Stop the neighbour from being used again neiCells[nextNei] = -1; nMarkedFaces++; } else { FatalErrorIn ( "fvMesh* fvMeshBandCompression::renumberedMesh() const" ) << "Error in internal face insertion" << abort(FatalError); } } I bet you've got 2 cells sharing more than one face - that is not allowed. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
January 22, 2008, 23:12 |
Gents,
There are a few ways
|
#9 |
Member
David P. Schmidt
Join Date: Mar 2009
Posts: 72
Rep Power: 17 |
Gents,
There are a few ways I could imagine two cells end up sharing a face. Some of them involve seriously non-convex cells. However, if you just have some degenerate edges, then collapseEdges might be worth a try. You have nothing to lose. David |
|
April 27, 2022, 11:45 |
checkmesh - upper triangular face ordering
|
#10 |
Senior Member
Giles Richardson
Join Date: Jun 2012
Location: Cambs UK
Posts: 102
Rep Power: 14 |
got an error with upper triangular face ordering
but Im pretty sure that I have now got the cell faces ordered in such a way that the neighbour cells are increasing sequence. Given that the errors are on the octree transition surface, is it a concave face issue? https://twitter.com/garcfd/status/15...8ZWYGSnklx12iQ |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] CheckMesh error after fluent3DToFoam | luca_phi | OpenFOAM Meshing & Mesh Conversion | 0 | September 17, 2008 04:41 |
CheckMesh | maka | OpenFOAM Bugs | 2 | August 11, 2008 06:13 |
[Other] CheckMesh for mesh quality | gdbaldw | OpenFOAM Meshing & Mesh Conversion | 2 | October 18, 2007 01:11 |
CheckMesh in OF 13 dev 01_05_2007 | fra76 | OpenFOAM Running, Solving & CFD | 5 | June 14, 2007 15:16 |
[Commercial meshers] StarToFoam checkMesh problems | sylvain91 | OpenFOAM Meshing & Mesh Conversion | 1 | June 15, 2006 05:36 |