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

[snappyHexMesh] Surface boundary mesh in snappyHexMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2008, 15:39
Default Surface boundary mesh in snappyHexMesh
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
What are you exactly unhappy with? For me this does not look so bad. However prism layers at the front run off without any obvious reason. Gap is not resolved between two wings.
bastil is offline   Reply With Quote

Old   November 21, 2008, 11:50
Default Well, while I agree that it is
  #2
Member
 
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17
lhcamilo is on a distinguished road
Well, while I agree that it is not so bad, I do believe that there is room for improvement, specially with respect to the surface boundary layers. Thus I was wondering if there was any thing anyone could suggest as a means to fine tune or optimize the mesh (which would be very welcome and greatly appreciated).

Is there any parameter that could be improved or any thing that I have overlooked?

I am rather new with OF so thanks in advance for bearing with me.

regards
lhcamilo is offline   Reply With Quote

Old   November 25, 2008, 04:43
Default Just a means of comparison, he
  #3
Member
 
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17
lhcamilo is on a distinguished road
Just a means of comparison, here's a mesh done with Harpoon

Harpoon Mesh

I was wondering if a similar result with results with snappyHexMesh with respect to the boundary layer Mesh. Also any tips about how to resolve the gap between the two wings would be very much appreciated.

Thanks in advance
lhcamilo is offline   Reply With Quote

Old   November 25, 2008, 08:39
Default You can refine the surface to
  #4
Senior Member
 
Francesco Del Citto
Join Date: Mar 2009
Location: Zürich Area, Switzerland
Posts: 237
Rep Power: 18
fra76 is on a distinguished road
You can refine the surface to a constant level, so that the prism layer will have a constant height.
For example:

refinementSurfaces
{
spoiler
{
// Surface-wise min and max refinement level
level (8 8);
}
}

Hope this helps,
Francesco
fra76 is offline   Reply With Quote

Old   November 25, 2008, 12:48
Default Thank you for the tip francesc
  #5
Member
 
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17
lhcamilo is on a distinguished road
Thank you for the tip francesco, it did help. Now the surface level looka great deal bette.

Also I managed to separate the two airfoils by introducing another refinement box at that point. Here's a pic:spoiler new

Besides the noticeable progress the boundary layer still won't form at the LE, I don't really understand why it won't.

unfortunalely my OF breaks when I run it with surface levels of (8 8). It say it runs out of virtual memory, the final mesh has about 1.2E6 cells I am not really sure why the memory runs out. I am going to do some research on the forums to get that sorted out, again any tips are more than welcome(decomPar also breaks).

Thanks a lot for the help, I really appreciate it

regards

Leo Camilo
lhcamilo is offline   Reply With Quote

Old   November 26, 2008, 05:24
Default UPDATE I've been trying to
  #6
Member
 
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17
lhcamilo is on a distinguished road
UPDATE

I've been trying to run the case now with boundary layers included (3) with refinenment levels up to (8 8). If I run the case without the layers I get the result from the post above. However the moment I add layers snappyHexMesh runs for a while but then I get the following message

new cannot satisfy memory request.
This does not necessarily mean you have run out of virtual memory.
It could be due to a stack violation caused by e.g. bad use of pointers or an out of date shared library
Aborted


The case has about 1.2E6 cells and I am running it on a 32 bit quad-core box with 4GB of RAM with Fedora 9, I am not sure why this is happening.

any ideas

thanks in advance

leo
lhcamilo is offline   Reply With Quote

Old   December 10, 2008, 07:13
Default Hello there fellow foamers, I
  #7
Member
 
Leonardo Honfi Camilo
Join Date: Mar 2009
Location: Delft, Zuid Holland, The Netherlands
Posts: 60
Rep Power: 17
lhcamilo is on a distinguished road
Hello there fellow foamers, I have a few updates on the case spoiler I have been running. From my last screenshot snappyHexMesh(sHM) was able to distinguish between the two airfoils, but there was still an issue with the boundary layers.

well here's an update on my latest attempt
Overview
upper TE
lowerTE
lowerLE
upperLE


As it can be seen from the overview I have tried introducing refinement boxes around the TE trouble areas and have added a larger refinement area around the whole structure. The large and smaller boxes have a max refinement level inside of 7 and 8 respectively.

Despite all that, unfortunately some of the problems still persist:
  • The boundary layer seems to disappear around the LE, creating hole, for no apparent reason
  • Despite the refinement boxes the boundary layers still have trouble attaching at the TE of the structure

I do realize that attachment at the lower TE is challenging, but is it doable with sHM? Is there a way of solving the other problems? I don't increasing the ref level is going to be a great idea, I am already dealing with 9E6 cells, thankfully I am able to use a more powerful box. but anyway, are there any pointers? I am posting my sHMDict below:

sHMDict

Have I misused any features or parameters?

Anyway thanks for any help you can give me,

regards
lhcamilo is offline   Reply With Quote

Old   February 3, 2012, 08:37
Default
  #8
Member
 
Claudio
Join Date: Mar 2010
Posts: 57
Rep Power: 16
claco is on a distinguished road
Quote:
Originally Posted by lhcamilo View Post
Hello there fellow foamers, I have a few updates on the case spoiler I have been running. From my last screenshot snappyHexMesh(sHM) was able to distinguish between the two airfoils, but there was still an issue with the boundary layers.

well here's an update on my latest attempt
Overview
upper TE
lowerTE
lowerLE
upperLE


As it can be seen from the overview I have tried introducing refinement boxes around the TE trouble areas and have added a larger refinement area around the whole structure. The large and smaller boxes have a max refinement level inside of 7 and 8 respectively.

Despite all that, unfortunately some of the problems still persist:
  • The boundary layer seems to disappear around the LE, creating hole, for no apparent reason
  • Despite the refinement boxes the boundary layers still have trouble attaching at the TE of the structure

I do realize that attachment at the lower TE is challenging, but is it doable with sHM? Is there a way of solving the other problems? I don't increasing the ref level is going to be a great idea, I am already dealing with 9E6 cells, thankfully I am able to use a more powerful box. but anyway, are there any pointers? I am posting my sHMDict below:

sHMDict

Have I misused any features or parameters?

Anyway thanks for any help you can give me,

regards
Hi,

Have You solved Your troubles with boundary layer? I have the same problems. It seems like that SHM creates the layers in some regions, whereas it does not create them in other regions (like in the Upper TE region).

Claudio.
claco 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] Creating very fine, high accuracy mesh with snappyHexMesh JD_Welch OpenFOAM Meshing & Mesh Conversion 10 July 5, 2023 12:50
[snappyHexMesh] Error defining boundary layer around cube snappyHexMesh crizpi21 OpenFOAM Meshing & Mesh Conversion 5 October 16, 2021 11:56
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 08:30
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 07:41
[snappyHexMesh] problem with snappyHexMesh kanes OpenFOAM Meshing & Mesh Conversion 10 January 26, 2016 07:11


All times are GMT -4. The time now is 10:51.