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/)
-   -   [snappyHexMesh] No Boundary Layer Created in SHM (https://www.cfd-online.com/Forums/openfoam-meshing/238615-no-boundary-layer-created-shm.html)

GDS September 22, 2021 20:39

No Boundary Layer Created in SHM
 
1 Attachment(s)
I found several previous questions like this one, but the usual recommendations have not helped. I am just trying to mesh a 2D airfoil. NASA generated some meshes for this example, and OpenFOAM produces good results using those meshes. However, the meshes were generated with some other software, which I don't have. In the meshes I have generated with SHM, the boundary layer cells are thicker than in the NASA meshes. I don't know if that is the reason the results (i.e., c_l and c_d) are not as good, but I wanted to create a finer boundary layer. Using paraFoam to measure the cells, I found that the first-layer cells in the NASA mesh are around 1e-6 m thick. The thinnest I can get out of SHM is 1e-4 m. When I try anything smaller, SHM does not create a boundary layer. For now, I am just trying to create one layer of cells. I have tried adjusting the various mesh quality parameters, but nothing helps. The final check that SHM displays does not indicate any bad cells. I am using relativeSizes=false.

Aeronautics El. K. October 2, 2021 06:05

I'm having a similar issue. Different geometry but the essence of the issue is the same, I can't get my first layer to be as thin as I want it (~1mm).



Have you managed to make any progress on that?

GDS October 3, 2021 16:18

Not yet, unfortunately.

AtoHM October 4, 2021 02:51

BL are a weak point of sHM. But the checkMesh output does not help, you might want to share the snappyHexMeshDict?

Aeronautics El. K. October 9, 2021 17:49

4 Attachment(s)
Quote:

Originally Posted by AtoHM (Post 813514)
BL are a weak point of sHM. But the checkMesh output does not help, you might want to share the snappyHexMeshDict?


Hi AtoHM,

although I'm not the original poster I have the same problem as I explained above (also in another thread here). I think both GDS and myself can benefit if you can help.


I've attached my snappyHexMeshDict and the meshQualityDict as well as the checkMesh results and the snappy log file (just the end of it, the size was prohibitive).


In the snappyHexMeshDict you'll probably see that I've used the displacementMotionSolver instead of the default one but the end result is pretty much the same (layers only grown partially on a flat surface and not with the specified 1st cell height).

Hopefully you can spot something obvious and solve our problem! lol

Thanks!


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