CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Technical] About OpenFOAM and concave faces or cells

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 1 Post By mbeaudoin
  • 3 Post By eugene

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2009, 01:49
Default About OpenFOAM and concave faces or cells
  #1
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello,

I am looking for some experienced opinions about OpenFOAM and the presence of concave faces or concave poly cells in OF meshes.

What are the major problems or major side effects related to the presence of concave cells/faces/polygons in OpenFOAM meshes, if any?

Are there any known solver numerical issues related to the presence of concave cells or faces in OF meshes?

snappyHexMesh seems to allow face concavity angles of up to 80 degrees by default. This seems like quite a large value.
In general, how will lowering the value of this parameter called maxConcave in snappyHexMeshDict affect the overall mesh quality?
Any rule of thumb?

With snappyHexMesh, is it possible to generate good quality meshes without the presence of any concave cells in the final output (using maxConcave < 0)?

Finally, checkMesh will only report the presence concave faces in a mesh if the face concave angle is greater than 10 degree.
This 10 degree value is hard-coded in the file checkMesh/checkGeometry.C
Wouldn't it be useful to have this angle value specified through a controlDict switch instead, so that checkMesh could report the presence ALL concave faces?

Thank you in advance for helping me get a better understanding of these issues.

Martin
y_jiang likes this.
mbeaudoin is offline   Reply With Quote

Old   January 30, 2009, 07:39
Default Cell concavity is not really r
  #2
Senior Member
 
Eugene de Villiers
Join Date: Mar 2009
Posts: 725
Rep Power: 21
eugene is on a distinguished road
Cell concavity is not really relevant in a face based mesh, in any case, this concavity parameter refers to face concavity and not cell concavity.

Face concavity does not mean the cell is concave. This is the edge angle between adjacent edges in a face, not between adjacent faces. This property does not influence the discretisation directly. The most important factors for this are:
-non-orthogonality
-volume Ratio
-delta ratio
-skewness

Although extreme instances of all the other criteria can cause problems too (otherwise we wouldn't need them), especially when face areas tend to zero.

Lowering the maxConcave value will "improve" the cell quality, but the mesh might not conform as well to the surface as what might otherwise be the case.
lourencosm, maryCFD and amuzeshi like this.
eugene is offline   Reply With Quote

Old   March 29, 2015, 08:53
Default
  #3
New Member
 
Stefan
Join Date: Jan 2011
Location: Bremen
Posts: 20
Rep Power: 15
holodeck10 is on a distinguished road
as an addition:

checkMesh -allGeometry

would write all concave cells into a set.
holodeck10 is offline   Reply With Quote

Old   August 30, 2020, 14:04
Default
  #4
Member
 
K
Join Date: Jul 2017
Posts: 97
Rep Power: 9
mkhm is on a distinguished road
Is it possible that the simulations run fine and converge with concave cells ?

I have this issue. I did my simulations and I did not even realize that there was a problem related to concave cells. Because normally, I do checkMesh and not checkMesh -allGeometry. However, when I wanted to mapFields the results to a finer mesh, it fails due to the concave cells. However, the refined mesh was constructed without problem from the "coarse" mesh having concave cells. In another case, the construction of a refined mesh from the mesh with concave cells is impossible. Is there any mean to circumvent this issue ?



Regards,

Mary

Last edited by mkhm; August 31, 2020 at 07:19.
mkhm is offline   Reply With Quote

Old   October 13, 2021, 07:54
Default
  #5
Member
 
Rishikesh
Join Date: Apr 2016
Posts: 63
Rep Power: 10
mrishi is on a distinguished road
Hi,
Did you understand or resolve the situation? I am facing similar concavity fails on the merging of fine and coarse zones of hex mesh.

This thread seems to suggest that it is not such a big deal:
how should we remove the Concave cells from the mesh?


Are there some new insights on this?



Quote:
Originally Posted by mkhm View Post
Is it possible that the simulations run fine and converge with concave cells ?

I have this issue. I did my simulations and I did not even realize that there was a problem related to concave cells. Because normally, I do checkMesh and not checkMesh -allGeometry. However, when I wanted to mapFields the results to a finer mesh, it fails due to the concave cells. However, the refined mesh was constructed without problem from the "coarse" mesh having concave cells. In another case, the construction of a refined mesh from the mesh with concave cells is impossible. Is there any mean to circumvent this issue ?



Regards,

Mary
mrishi is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Help with Snappy: no layers growing GianF OpenFOAM Meshing & Mesh Conversion 2 September 23, 2020 09:26
[snappyHexMesh] Layers not growing at all zonda OpenFOAM Meshing & Mesh Conversion 12 June 6, 2020 12:28
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
[snappyHexMesh] external flow with snappyHexMesh chelvistero OpenFOAM Meshing & Mesh Conversion 11 January 15, 2010 20:43


All times are GMT -4. The time now is 16:36.