CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Boundary layer addition at corners

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

LinkBack Thread Tools Display Modes
Old   July 21, 2011, 06:51
Default Boundary layer addition at corners
Ben Vernieres
Join Date: Jul 2011
Location: Valencia, Spain
Posts: 42
Rep Power: 8
bouclette is on a distinguished road
Send a message via Skype™ to bouclette
Hi everyone,

I'm trying to mesh a wing using snappyHexMesh and have been struggling for quite some time now with the layer addition setup.

This wing has a 1mm thick TE and a square tip so quite a few sharp edges. I'm exporting the geometry in stl from UG NX7 and tried from Rhino 3 too. It didn't change the problem I have.

What is happening is that basically sHM creates a reasonably nice BL around the section of the wing, at the TE too (see pic attached), but, when reaching the tip of the wing, it stops making the layer addition (see second pic attached), to a point that it doesn't even add layers on the tip face.

Now if I change the front wall patch type from "empty" to "symmetryPlane", it does work a bit better (not a lot though) at the tip but then doesn't add layers up to the symmetry plane... (Note that I'm only using "empty" in the meshing process, I later change it back to "symmetryPlane" to run simpleFoam)

I've been playing around with the settings of layer addition in a systematic way but can't find a workaround... Refining or coarsening the mesh doesn't seem to change anything neither (tried from 200k cells up to 4M cells)

I've been looking around in this forum and some others but still can't find a solution for my problem. Lots of threads that are asking similar questions that are not answered too...

Has anyone got a remedy for this by any chance? sHM is a great tool, would be so nice to have this layer addition part to work nicely!

I'm also attaching the sHMDict file.

Looking forward to a solution!


Attached Images
File Type: jpg TE.jpg (69.2 KB, 99 views)
File Type: jpg Tip.jpg (96.3 KB, 91 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (10.8 KB, 15 views)
bouclette is offline   Reply With Quote

Old   July 26, 2011, 05:13
New Member
Mark Beal
Join Date: Feb 2011
Posts: 24
Rep Power: 8
msbealo is on a distinguished road

Did you find a solution to this? I'm having a similar problem. I just changed my boat hull simulation to only have half a domain with a symmetryPlane running down the centre-line. Most of my boat is getting the layers it should (and did before), but along the centre-line I lose the boundary layers.

Any thoughts?

Attached Images
File Type: png Bow_cut.png (14.6 KB, 108 views)
msbealo is offline   Reply With Quote

Old   July 26, 2011, 05:31
Ben Vernieres
Join Date: Jul 2011
Location: Valencia, Spain
Posts: 42
Rep Power: 8
bouclette is on a distinguished road
Send a message via Skype™ to bouclette
Hi Mark,

For this issue, I've found that replacing (temporarily) your symmetryPlane by empty does the trick. Once your layers are generated, you can change back to symmetryPlane.

I'm not sure its the correct way to do it but it seems to work more or less ok.

Please refer to this thread:

I've asked this one to be deleted but obviously hasn't been yet!


bouclette is offline   Reply With Quote


corner, layer, patch, wing tip

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
Help: Fluid Flow Over a Horizontal Flat Plate by Boundary Layer Eq. egemen Main CFD Forum 0 May 20, 2011 04:57
[GAMBIT] problems in boundary layer yubaibai88 ANSYS Meshing & Geometry 8 April 19, 2010 21:07
3D Boundary Layer Mario FLUENT 0 February 17, 2009 04:40
errors Fahad Main CFD Forum 0 March 23, 2004 14:20
boundary layer thickness 98.4F Main CFD Forum 1 December 29, 2000 08:23

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