I am working on a nasal cavity which has a complex geometry. I have generated a hex mesh using the popular SnappyHexMesh. The problem is that I am getting several meaningless edges connecting the non-neighbours vortices. This obviously results in skewed (negative volume/Jacobian) cells. I used the debug=1 option and observed the problem happens in the snapping phase of the meshing. I played around with the different parameters in the SnappyHexMeshDict and could reduce the number of skewed cells down to 81 considering the 5M total cells. Does anybody knows how to fix/remove the skewed cells? Is this to be done manually? If somebody has/knows a C++ code for automatizing the procedure and can be shared it would be highly appreciated.