CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

Surface boundary mesh in snappyHexMesh

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 20, 2008, 15:39
Default What are you exactly unhappy w
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
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: 48
Rep Power: 8
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: 48
Rep Power: 8
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: 214
Rep Power: 9
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: 48
Rep Power: 8
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: 48
Rep Power: 8
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: 48
Rep Power: 8
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: 7
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

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
SnappyHexMesh plane surface bounding box podallaire OpenFOAM Bugs 22 August 26, 2009 07:34
Tool for Surface Preparation for SnappyHexMesh bastil OpenFOAM Mesh Utilities 18 November 17, 2008 17:49
Import Surface from HyperMesh to snappyHexMesh bastil OpenFOAM Mesh Utilities 7 October 7, 2008 07:32
Inside and outside mesh with snappyhexmesh nzy102 OpenFOAM Mesh Utilities 0 August 31, 2008 23:50


All times are GMT -4. The time now is 23:44.