u/chipthehp

▲ 8 r/OpenFOAM+1 crossposts

Struggling to get y+ near 1 with snappyHexMesh boundary layers

I use snappyHexMesh with surface snapping and boundary layers. For the inflation layers, I’m using addLayersControls with addLayers true.

The issue is that no matter how much I reduce the first layer height, I can’t reliably get y+ close to 1. Sometimes the mesh quality gets worse, sometimes layers seem to get dropped, and the final y+ does not respond the way I expect. It feels like the requested first layer thickness is not always actually being preserved on the surface.

What am I doing wrong? I struggled a lot with snappyHexMesh and I really hope it is my fault for not being able to get the y+ right and I hope there is a fix. I don't want to go back to StarCCM+ at all.

reddit.com
u/chipthehp — 9 days ago