CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] How to deal with non-orthogonal and skew faces (https://www.cfd-online.com/Forums/openfoam-meshing/225812-how-deal-non-orthogonal-skew-faces.html)

Chouchou April 8, 2020 23:19

How to deal with non-orthogonal and skew faces
 
Hello, everyone,

Does anyone know how to deal with non-orthogonal and skew faces after checkMesh? Modify the model geometry to avoid it seems a tremendous amount of work.

Thanks in advance.

-Chouchou

Ship Designer August 6, 2020 20:10

Same Problem Here
 
Hello Chouchou,

I've encountered the same problem in a case I'm working with, where checkMesh reports non-orthogonal and high-skew faces in the mesh. Since I'm attempting to validate the hull resistance of the DTC ship hull, albeit for a condition different than the one of the OpenFOAM tutorial, modifying the hull shape is out of the question.

A step-by-step approach to identify the source of the problem showed that the bad mesh elements get introduced in the layer adding step of snappyHexMesh. Before that, checkMesh reports mesh ok. I've tried to modify some of the settings in the addLayersControls dictionary but the errors persist.

Have you found a solution to your problem?

Ship Designer August 7, 2020 21:21

5 Attachment(s)
According to this thread https://www.cfd-online.com/Forums/op...faces-set.html I was able to visualize the non-orthogonal faces, see attached pictures below. These faces are very far above the ship's hull and from the added boundary layer cells, at a transition between two refinement levels. When that region is looked at closer in profile view, it can be seen that the cells in that region are distorted and don't correspond to the original mesh grid anymore.

I have no explanation why snappyHexMesh distorts the mesh that far away from where the boundary layers are actually added. I also don't know what can be done to prevent this from happening and whether this is intended behaviour or some sort of bug. Any suggestion is appreciated, thanks.


All times are GMT -4. The time now is 20:44.