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

snappyHM - Boundary layer issue

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 2, 2010, 14:30
Default snappyHM - Boundary layer issue
  #1
New Member
 
Join Date: Nov 2009
Posts: 4
Rep Power: 7
Brunno is on a distinguished road
Hello,

I am working on a test case of a swirl atomizer for propulsion applications. Despite those well-known edge problems, snappyHM works fine for the most part. So far, I can't figure out how to make the boundary layer "grow" on the entire cylindrical patch and minuscule tangential channel walls (see attached figure and addLayers settings). It seems that BL attaches only when the mesh is coarse. Does anyone have a clue ?
Any help is greatly appreciated.
Attached Images
File Type: jpeg pic_1.jpeg (59.7 KB, 99 views)
File Type: jpeg pic_2.jpeg (70.6 KB, 102 views)
Attached Files
File Type: txt addLayers.txt (2.4 KB, 27 views)
Brunno is offline   Reply With Quote

Old   March 2, 2010, 16:05
Default
  #2
bjr
Member
 
Ben Racine
Join Date: Mar 2009
Location: Seattle, WA, USA
Posts: 62
Rep Power: 8
bjr is on a distinguished road
Send a message via AIM to bjr Send a message via Skype™ to bjr
I'm working on similar issues, but am a little behind you. I will be investigating some of your layer control settings on my cylinder case asap.
bjr is offline   Reply With Quote

Old   March 2, 2010, 16:05
Default
  #3
bjr
Member
 
Ben Racine
Join Date: Mar 2009
Location: Seattle, WA, USA
Posts: 62
Rep Power: 8
bjr is on a distinguished road
Send a message via AIM to bjr Send a message via Skype™ to bjr
Did you ever get boundary layer resolution and viscous drag results you liked?
bjr is offline   Reply With Quote

Old   March 2, 2010, 16:29
Default snappyHM - Boundary layer issue
  #4
New Member
 
Join Date: Nov 2009
Posts: 4
Rep Power: 7
Brunno is on a distinguished road
Hello ben,

Thank you for the response.
Boundary layer resolution was acceptable on previous test cases. I am currently running the inviscid, single-phase flow case, so I don't have any viscous results at hand.
Brunno is offline   Reply With Quote

Old   March 2, 2010, 16:41
Default
  #5
bjr
Member
 
Ben Racine
Join Date: Mar 2009
Location: Seattle, WA, USA
Posts: 62
Rep Power: 8
bjr is on a distinguished road
Send a message via AIM to bjr Send a message via Skype™ to bjr
Is there any chance you could provide any said test cases? I'm really looking to put together a case that starts from just an stl file, a blockMeshDict, and a snappyHexMeshDict that potentially yield good drag results. I think this would be a highly valuable starting point for many out there without access to commercial gridding tools to start learning quickly.

I have a location that large files can be publicly uploaded and downloaded from if needed.
http://public.me.com/ben.racine

I totally understand if you don't have the chance/time though... days are short.

Many thanks,
Ben Racine
i3enhamin@gmail.com
bjr is offline   Reply With Quote

Old   March 2, 2010, 19:42
Default
  #6
bjr
Member
 
Ben Racine
Join Date: Mar 2009
Location: Seattle, WA, USA
Posts: 62
Rep Power: 8
bjr is on a distinguished road
Send a message via AIM to bjr Send a message via Skype™ to bjr
Brunno kindly supplied me with this orifice case... http://files.me.com/ben.racine/1p3dei
bjr is offline   Reply With Quote

Old   May 4, 2010, 05:43
Default
  #7
Member
 
Moritz Wied
Join Date: Mar 2010
Location: suttgart, germany
Posts: 35
Rep Power: 7
Mo-ITB is on a distinguished road
sorry, i did a mistake in paraview, the mesh was even worse in 1.6.x
Mo-ITB is offline   Reply With Quote

Old   May 6, 2010, 03:45
Default
  #8
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 445
Rep Power: 14
linnemann will become famous soon enough
Hi

What is the maximum cell limit in the snappy dict?

I had similar problems once and upping the local and global cell limit made it possible to get the desired mesh.

The entries are there to prevent an explosion in cell count.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   July 22, 2010, 06:03
Default
  #9
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 300
Rep Power: 9
openfoam_user is on a distinguished road
Hi Bruno,

did you solve you problem ? How ?

I have encountered the same problem and don't know what to do until now ?

I get layers only where there is more refinement !

Regards,

Stephane.
openfoam_user is offline   Reply With Quote

Old   July 22, 2010, 06:29
Default snappyHM - Boundary layer issue
  #10
New Member
 
Join Date: Nov 2009
Posts: 4
Rep Power: 7
Brunno is on a distinguished road
Hello Stephane,

Yes, I did solve the problem - not exactly through snappyHexMesh, but using a combination of adaptive mesh (see the dictionaries cellSetDict and refineMeshDict) based on the gradient of velocity (magU) and snappyHM. The results are not always acceptable - it's usually a trial-and-error process, but it worked for me.

Good luck !
Brunno is offline   Reply With Quote

Old   July 22, 2010, 06:36
Default
  #11
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 300
Rep Power: 9
openfoam_user is on a distinguished road
Hi Brunno,

thanks for your advice.

I think that the problem for me is a little bit different. I would like to add several layers around my body in order to obtain Y+ near 1, if possible.

Stephane.
openfoam_user 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
Default Faces on Boundary Layer axel Open Source Meshers: Gmsh, Netgen, CGNS, ... 8 February 17, 2011 08:47
Adapt mesh without modifying boundary layer cells? Freeman FLUENT 0 February 22, 2009 15:11
3D Boundary Layer Mario FLUENT 0 February 17, 2009 04:40
Adding layer to cyclic boundary Chris P CD-adapco 3 November 15, 2004 22:17
boundary layer of a flat-plate dwi s Main CFD Forum 1 November 9, 2000 02:45


All times are GMT -4. The time now is 22:52.