|
[Sponsors] |
December 31, 2019, 10:10 |
checkmesh errors gmshtofoam
|
#1 |
New Member
Mariya Verkhovodova
Join Date: Dec 2019
Posts: 11
Rep Power: 6 |
Hello everybody, I am new to this forum. I am facing some problems when running checkmesh on Openfoam, in fact I get some errors and I've spent days trying to improve my mesh (I use Gmsh), but without any results.
Does anybody have an idea on how to fix this? Thanks id advance. This is the error I get: Checking geometry... Overall domain bounding box (-0.999 -1.665 -0.1) (4.995 1.665 0) Mesh has 3 geometric (non-empty/wedge) directions (1 1 1) Mesh has 3 solution (non-empty) directions (1 1 1) Boundary openness (-4.67483e-18 -3.16565e-18 9.91875e-17) OK. ***Open cells found, max cell openness: 1, number of open cells 43 <<Writing 43 non closed cells to set nonClosedCells <<Writing 3 cells with high aspect ratio to set highAspectRatioCells Minimum face area = 4.99645e-09. Maximum face area = 0.164094. Face area magnitudes OK. ***Zero or negative cell volume detected. Minimum negative volume: -8.26824e-11, Number of negative volume cells: 2 <<Writing 2 zero volume cells to set zeroVolumeCells Mesh non-orthogonality Max: 161.036 average: 23.3116 *Number of severely non-orthogonal (> 70 degrees) faces: 279. ***Number of non-orthogonality errors: 38. <<Writing 317 non-orthogonal faces to set nonOrthoFaces ***Error in face pyramids: 50 faces are incorrectly oriented. <<Writing 48 faces with incorrect orientation to set wrongOrientedFaces Max skewness = 3.12096 OK. Coupled point location match (average 0) OK. Failed 4 mesh checks. |
|
December 31, 2019, 15:35 |
|
#2 |
Senior Member
Join Date: Mar 2014
Posts: 112
Rep Power: 12 |
The problem is not the checkMesh but the script. The script is indeed an interesting effort for boundary layer meshing but the quality of the mesh produced, specially in the bl is no good.
So I can advise two options for this kind of problem: 1. Use the native boundary layer function (field actually) of the gmsh. It is more effective, fast and easy. 2. Install and use the open-source tool Construct2D for meshing fully hex, probably the best option at all. |
|
January 3, 2020, 04:00 |
|
#3 |
New Member
Mariya Verkhovodova
Join Date: Dec 2019
Posts: 11
Rep Power: 6 |
Thank you very much for your advices. The problem is that I wanted to do a 3D mesh but Gmsh supports only a 2D boundary layer mesh.
|
|
January 3, 2020, 12:24 |
|
#4 |
Senior Member
Join Date: Mar 2014
Posts: 112
Rep Power: 12 |
You can always extrude this 2D boundary layer mesh to get 3D for simple wing geometries easily if you are looking for a pseudo-3D mesh for OpenFOAM.
On the other hand, if your 3D wing geometry is too complex this will be a different story. |
|
November 18, 2021, 08:39 |
number of cells in BL
|
#5 |
Member
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11 |
Recently I had the same problem and I solved it decreasing a little the number of cells within BL keeping y+<1
|
|
December 20, 2021, 04:47 |
|
#6 |
Member
Arthur
Join Date: Aug 2014
Location: Italy
Posts: 47
Rep Power: 11 |
Some ubdate on this:
After some other manipulation of the mesh I concluded that creating manually the boundary layer is not possible because of how the geometry is treated by Gmsh (especially in zones with curvature). What I usually do is to create a structured mesh (especcially near walls) and to generate the BL with snappyHexMesh in OpenFoam. Otherwise maybe one sould use the boundary layer function implemented in GMSH and not creating by hand the boundary layer. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 13:21 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 05:28 |
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 18:07 |