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

[snappyHexMesh] snappyHM - Boundary layer issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 2, 2010, 14:30
Default snappyHM - Boundary layer issue
  #1
New Member
 
Join Date: Nov 2009
Posts: 4
Rep Power: 17
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: 17
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: 17
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: 17
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: 17
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: 17
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, 06:43
Default
  #7
Member
 
Moritz Wied
Join Date: Mar 2010
Location: suttgart, germany
Posts: 35
Rep Power: 16
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, 04:45
Default
  #8
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
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, 07:03
Default
  #9
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
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, 07:29
Default snappyHM - Boundary layer issue
  #10
New Member
 
Join Date: Nov 2009
Posts: 4
Rep Power: 17
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, 07:36
Default
  #11
Senior Member
 
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18
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


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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
y+ = 1 boundary layer mesh with snappyHexMesh Arzed23 OpenFOAM Running, Solving & CFD 6 November 23, 2022 16:15
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 18:38
[ICEM] 3D Dynamic Mesh - Boundary layer mesh issues nathanricks ANSYS Meshing & Geometry 0 September 23, 2015 06:14
errors Fahad Main CFD Forum 0 March 23, 2004 14:20


All times are GMT -4. The time now is 07:47.