|June 20, 2013, 13:36||
snappyHexMesh and refineWallLayer
Join Date: May 2010
Location: Boston, MA
Posts: 28Rep Power: 7
I'm trying to get a decent looking grid for the Wigley Hull tutorial, but have not been successful so far.
First thing I tried was to use snappyHexMesh to create multiple layers near the hull surface, and through a lot of trial and error I got to the point where the layers looked very good in certain parts but still failed in others. I tried my best to explain what happens in this post.
I then went on to try a different way, which was to create one single thick layer to be subsequently divided into multiple layer using the refineWallLayer routine. Even creating a single layer was not completely successful (as the attached pictures show), since there is a small patch near the bow where the layer does not grow. It's a bit of a mistery since the geometry is symmetric front to back and side to side, which means that except for orientation each "quarter" of the geometry is the same. Still for 3 of them it works beautifully, but not for one.
If I run checkMesh after creating a single layer, I get that 35 faces have high skew (max is 8.78, see log.checkMesh_SL).
I then run refineWallLayer a few times with a ratio of about 0.7, and run checkMesh again. Now the mesh fails 4 checks (2 open cells, 3479 non-orthogonal faces, 5 incorrectly oriented faces, 1741 highly skewed faces).
Is there a way to prevent this? Maybe another application to run between each instance of refineWallLayer that would smooth the mesh out? I tried running sHM with only addLayer true, but nSurfaceLayers 0, to try to use the smoothing options, but it did not work.
Any help for creating a good BL mesh will be greatly appreciated.
|Thread||Thread Starter||Forum||Replies||Last Post|
|refineWallLayer||openfoam_user||OpenFOAM Native Meshers: snappyHexMesh and Others||10||October 20, 2012 12:59|
|snappyHexMesh: create boundary layer in a bent tube||brahim||OpenFOAM Native Meshers: snappyHexMesh and Others||10||September 5, 2011 09:43|