[Gmsh] defaultFaces when exporting mesh to OpenFoam

Deep Bandivadekar deep.bandivadekar at strath.ac.uk
Fri Jun 22 13:47:28 CEST 2018


Hi,

I have two different cases (with corresponding meshes) here: https://drive.google.com/open?id=109K42DoIiMBcrsE_7RBxxgRXzUdJ1hN0<https://drive.google.com/open?id=1wbdgH0bC6JT3r9MCM6dUYSM_rd4wsILB>

1. I wanted to create structured mesh in the immediate vicinity of the front side of the object.
2. Also, I wanted to modify original geometry slightly and introduce a smooth corner on the front in place of a sharp corner.

I did this in these two steps. Modified the gmsh file a little first to create the hybrid mesh and then to create the corner with the hybrid mesh again. When I export the mesh to OpenFoam, I get an warning of this sort for both cases:

" Found 1146577 undefined faces in mesh; adding to default patch. "

However, for the first case where I did not have any curved corner, the export did not crate any defaultFaces in my polyMesh/boundary file whereas it does so in the second case. When I checked in paraview these faces are the ones that I created for the structured region (part of which were present for the first case yet did not result in defaultFaces entry).

Why does this happen? How do I avoid creation of these additional defaultFaces which ideally should have been recognised by openFoam automatically (which it did in first case but with a warning nonetheless). Can anyone see the problem areas?



Deep



More information about the gmsh mailing list