CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

snappyHexMesh and refineWallLayer

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 20, 2013, 13:36
Default snappyHexMesh and refineWallLayer
  #1
New Member
 
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 8
Claudio is on a distinguished road
Hi All,

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.

Claudio
Attached Images
File Type: jpg BLatWL_test08_SL.jpg (62.0 KB, 107 views)
File Type: jpg BLatWL_test08_ML.jpg (45.7 KB, 119 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (11.7 KB, 39 views)
File Type: txt log_checkMesh_SL.txt (3.1 KB, 6 views)
File Type: txt log_checkMesh_ML.txt (3.4 KB, 2 views)
Claudio is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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


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