|
[Sponsors] |
[Other] Trying to understand checkMesh errors |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 9, 2015, 13:50 |
Trying to understand checkMesh errors
|
#1 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hi all,
I'm doing some tests with a geometry that is giving me some troubles according to what checkMesh says. This are the errors that the utility finds (using -allTopology -allGeometry options): Code:
***Cells with small determinant (< 0.001) found, number of cells: 570 <<Writing 570 under-determined cells to set underdeterminedCells ***Concave cells (using face planes) found, number of cells: 424 <<Writing 424 concave cells to set concaveCells Face interpolation weight : minimum: 0.007427217 average: 0.4584105 ***Faces with small interpolation weight (< 0.05) found, number of faces: 608 <<Writing 608 faces with low interpolation weights to set lowWeightFaces Face volume ratio : minimum: 0.005415454 average: 0.8586378 ***Faces with small volume ratio (< 0.01) found, number of faces: 304 <<Writing 304 faces with low volume ratio cells to set lowVolRatioFaces Any hint about it will be much appreciated! Regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
March 10, 2015, 06:19 |
|
#2 |
Member
Alexander Bartel
Join Date: Feb 2015
Location: Germany
Posts: 97
Rep Power: 11 |
Hi Alex,
can you look at your mesh with paraFoam? Perhaps you can upload a picture here somehow (Dropbox etc. desribed here http://www.cfd-online.com/Forums/ope...-get-help.html ). I am also just at the beginning of learning OF, so the errors dont mean much to me. Greetings Alex |
|
March 10, 2015, 07:49 |
|
#3 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hi Alex,
The reason why I didn't upload any picture of my geometry is that the only think I want is to have a better understanding of this errors, I mean the theoretical background behind them so that I can detect more easily the cells/faces and how to proceed to correct the mesh on my own. Greetings, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
March 19, 2015, 11:30 |
|
#4 |
Member
Timm Severin
Join Date: Mar 2014
Location: Munich
Posts: 63
Rep Power: 12 |
I can't help there either, but I have quite similar problems and would be interested.
However, maybe given images might help identify the "physical" problem, so I attached images for four different errors that occur in Code:
checkMesh -allGeometry -allTopology Result (excerpt): Face-face connectivity OK. <<Writing 117 cells with two non-boundary faces to set twoInternalFacesCells Number of regions: 1 (OK). Cell determinant (wellposedness) : minimum: 0 average: 109.741 ***Cells with small determinant (< 0.001) found, number of cells: 117 <<Writing 117 under-determined cells to set underdeterminedCells ***Concave cells (using face planes) found, number of cells: 4498 <<Writing 4498 concave cells to set concaveCells Face interpolation weight : minimum: 0.0733659 average: 0.447134 Face interpolation weight check OK. Face volume ratio : minimum: 0.0011126 average: 0.821268 ***Faces with small volume ratio (< 0.01) found, number of faces: 3884 <<Writing 3884 faces with low volume ratio cells to set lowVolRatioFaces Failed 3 mesh checks. I also attached the concave cells, since I have a lot of them. To have a better overview:
Furthermore, for the mesh generation process, which I'm sure is quite important:
__________________
PhD Student at the Institute of Biochemical Engineering at TU München Modelling of fluid dynamics in open photobioreactors. System: OpenFOAM 2.3.x, 64bit, 8 Core Xeon Workstation |
|
March 23, 2015, 13:00 |
|
#5 | |
Senior Member
Derek Mitchell
Join Date: Mar 2014
Location: UK, Reading
Posts: 172
Rep Power: 13 |
Quote:
ALGEBRAIC MESH QUALITY METRICS∗ PATRICK M. KNUPP SIAM J. SCI. COMPUT. Vol. 23, No. 1, pp. 193–218. Derek
__________________
A CHEERING BAND OF FRIENDLY ELVES CARRY THE CONQUERING ADVENTURER OFF INTO THE SUNSET |
||
March 23, 2015, 13:35 |
|
#6 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hi Derek,
Many many many thanks for your information! I totally ignored the existence of this paper and I think it is exactly what I needed! Again, thanks for sharing so useful information! Best regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
|
March 24, 2015, 04:05 |
|
#7 |
Senior Member
|
Hello,
These errors do not mean that you mesh is invalid, it just tells that it may cause problems to the numerics in the following ways: 1. Small determinants - generally this mean that the volume of some cells is very small compared to their area and that they are nearly planar or collinear. I would not expect convergence problems if these cells were in the right locations (and aligned with the gradient of the solution). 2. Concave cells - are a consequence of non-flat faces, and in general it does not cause convergence problems. It does affect accuracy, but it is not too worrying when it is difficult to generate any mesh in the first place. 3. Interpolation weights - are important for the convection term and implicitly for the diffusion term. Low weights mean that one of cell at a face dominates over the other. This is not a problem when the solution is uniform, and severely reduces accuracy and convergence is case of non-uniform fields. 4. Volume ratio - is important for the source terms and the pressure equation. Again, it might be a problem if the solution is not uniform at that location. I hope this adds some value so that you can understand these quality metrics better. These are my experiences when dealing with adaptive refinement with high aspect ratio cells. Regards, Franjo |
|
March 24, 2015, 09:30 |
|
#8 | |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
Hello Franjo,
Quote:
However, I thought that the small determinant issue was an important point to take into account as Bruno Santos "wyldcat" suggested here in the forum in some other thread... Again, thanks for taking your time with this very good answer! Best regards, Alex
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in! |
||
March 24, 2015, 09:35 |
|
#9 |
Member
Timm Severin
Join Date: Mar 2014
Location: Munich
Posts: 63
Rep Power: 12 |
As marango say here underdetermined cells apparently can also occur when they have multiple boundary faces, so maybe that is your problem, too.
Apart from that, thanks Franjo for the explanation. As helpful as the Paper might be, it is far too complex for me to understand any time soon..
__________________
PhD Student at the Institute of Biochemical Engineering at TU München Modelling of fluid dynamics in open photobioreactors. System: OpenFOAM 2.3.x, 64bit, 8 Core Xeon Workstation |
|
May 4, 2015, 13:02 |
|
#10 | |
Member
Howar
Join Date: Mar 2015
Posts: 53
Rep Power: 11 |
Quote:
|
||
May 6, 2015, 05:31 |
|
#11 |
Member
Timm Severin
Join Date: Mar 2014
Location: Munich
Posts: 63
Rep Power: 12 |
If you execute checkMesh it writes you cellSets with the erroneous cells in your polyMesh directory.
If you then view your case with paraFoam you can mark the checkbox "include sets" and choose the generated sets in the same list where you find the boundary conditions etc.. If you open the case twice in the same paraFoam window, you can use one instance to display the internal mesh (wired) and one to display the bad cells in surface rendering with a colour of your choice.
__________________
PhD Student at the Institute of Biochemical Engineering at TU München Modelling of fluid dynamics in open photobioreactors. System: OpenFOAM 2.3.x, 64bit, 8 Core Xeon Workstation |
|
February 10, 2016, 03:00 |
checkMesh error!!
|
#12 |
New Member
ravi
Join Date: Nov 2013
Posts: 10
Rep Power: 13 |
Hi all,
I have converted a fluent mesh (made in ICEM) to Openfoam format. I am facing 2 errors : 1. I am getting twoInernalfacecells problem at the edges of the geometry which is resulting in small determinant problem too. 2. underdetermined cells (<0.001). The above problems were not shown in ICEM Quality patterns. How do I resolve this problem while meshing in ICEM? How does the openfoam solver behaves if small determinant (< 0.001) and twoInternalfacecells are present in the mesh? |
|
February 10, 2016, 08:04 |
|
#13 | |||
Senior Member
|
Hello,
Quote:
By all means this is not an error. Quote:
Quote:
Regarding the concave cells, all arbitrary polyhedra with a few faces in the same plane are classified are concave cells. These cells are the the boundary of becoming concave, and they are still not. Therefore, this is not a problem and I would not worry much about it.
__________________
Principal Developer of cfMesh and CF-MESH+ www.cfmesh.com Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram |
||||
November 10, 2020, 14:09 |
|
#14 | |
Member
Jan Majcher
Join Date: Nov 2018
Posts: 39
Rep Power: 8 |
Quote:
My mesh has many faces with low interpolation weights. Code:
Faces with small interpolation weight (< 0.05) found, number of faces: 141 I confirm that these faces cause convergence (convection) problems... my simulations keep blowing up with this mesh. Thanks, Jan |
||
November 11, 2020, 09:52 |
|
#15 |
Member
Jan Majcher
Join Date: Nov 2018
Posts: 39
Rep Power: 8 |
I fixed the problem by simply adding more layers.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |