CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] snappyHexMesh and refineWallLayer

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 20, 2013, 14:36
Default snappyHexMesh and refineWallLayer
  #1
New Member
 
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 16
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, 172 views)
File Type: jpg BLatWL_test08_ML.jpg (45.7 KB, 185 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (11.7 KB, 51 views)
File Type: txt log_checkMesh_SL.txt (3.1 KB, 11 views)
File Type: txt log_checkMesh_ML.txt (3.4 KB, 7 views)
Claudio is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] refineWallLayer vs add layer Astan OpenFOAM Meshing & Mesh Conversion 0 March 18, 2019 13:03
[snappyHexMesh] Could not Add Boundary Layers near a Rectangular Channel Wall using SnappyHexMesh Gary OpenFOAM Meshing & Mesh Conversion 3 July 30, 2018 05:14
[snappyHexMesh] refineWallLayer openfoam_user OpenFOAM Meshing & Mesh Conversion 10 October 20, 2012 13:59
[snappyHexMesh] snappyHexMesh: create boundary layer in a bent tube brahim OpenFOAM Meshing & Mesh Conversion 10 September 5, 2011 10:43


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