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

Memory Problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 12, 2011, 07:33
Default Memory Problem
  #1
Member
 
Join Date: Jun 2011
Posts: 38
Rep Power: 14
ChrisPro is on a distinguished road
Hello!

I'm trying to mesh a rather complex STL-file. When i put this file in the middle of a "windtunnel" where the boundaries of the surrounding box are far away from the file, everything works fine and the caluclations seem to be realistic.

But in my case, it is necessary that at least one face (inlet patch) touches the stl, because I want to simulate the flow inside of an airfoil.
But when I make these adjustments I get the following error whilst running snappyHexMesh:
Code:
Edge intersection testing:
    Number of edges             : 8189103
    Number of edges to retest   : 8060091
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
So is there a way of calculating this by needing less virtual memory?
(I reset the swap size of my computer to ten times of the original size)

It doesn't matter how long the calucation takes. It simply should work!

thanks
Christian
ChrisPro is offline   Reply With Quote

Old   December 17, 2011, 18:17
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Christian,

I saw your post a while back, but only now have I been able to log in and try to answer you:
  • snappyHexMesh usually needs at least two things (besides the STL): a bounding box (usually generated by blockMesh) and a point that indicates the side of the mesh.
  • AFAIK, the bounding box must envelop the whole STL geometry, without touching it...
  • or you must supply feature edges that define the places where things get separated. Source for this statement: start reading from post #18 of thread http://www.cfd-online.com/Forums/ope...tml#post335295 and keep reading!
  • mmm... an airfoil...
    Quote:
    I want to simulate the flow inside of an airfoil.
    If I understand you correctly, then why not only mesh the inside of the geometry? You'll still need a bounding box nonetheless, in order for snappyHexMesh to be able to distinguish inside from outside.
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 18, 2011, 04:11
Default
  #3
Member
 
Join Date: Jun 2011
Posts: 38
Rep Power: 14
ChrisPro is on a distinguished road
hey bruno!
thanks for your reply!!
I tried the same case on a computer with 24GB of memory and it worked

but thank you for your hint using featureEdge!!


And I also thought about just meshing the inside of course, but the problem is that the stl-file of the wing is hollow and the solid layer is very thin. So snappyHexMesh won't stop when reaching the boundary of the airfoil.

Or is there any option which handles this?

christian
ChrisPro is offline   Reply With Quote

Old   December 18, 2011, 10:38
Default
  #4
Senior Member
 
sail's Avatar
 
Vieri Abolaffio
Join Date: Jul 2010
Location: Always on the move.
Posts: 308
Rep Power: 16
sail is on a distinguished road
Quote:
Originally Posted by ChrisPro View Post
hey bruno!
thanks for your reply!!
I tried the same case on a computer with 24GB of memory and it worked

but thank you for your hint using featureEdge!!


And I also thought about just meshing the inside of course, but the problem is that the stl-file of the wing is hollow and the solid layer is very thin. So snappyHexMesh won't stop when reaching the boundary of the airfoil.

Or is there any option which handles this?

christian
Have you tried to refine the mesh initially created by blockMesh in the area where the solid layer causes problems?

You can do that with the first step of refinement (ie, bounding box). Practically you need the cells in that area to be smaller of the solid thickness to let the snapping part to work and understand which cells have to be eliminated and to which side snap onto.
__________________
http://www.leadingedge.it/
Naval architecture and CFD consultancy
sail is offline   Reply With Quote

Old   December 23, 2011, 07:31
Default
  #5
Member
 
Join Date: Jun 2011
Posts: 38
Rep Power: 14
ChrisPro is on a distinguished road
Ok thanks!
I'm going to try this!
ChrisPro 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
combustion problem mcnair CFX 9 March 22, 2011 14:06
Fluent Parallel Memory Usage David Christopher FLUENT 1 March 3, 2011 02:20
RAM memory problem alpha Main CFD Forum 8 February 12, 2008 11:07
memory problem Matt FLUENT 1 October 1, 2006 18:24
"Memory too low" problem with Fluent HELP NEEDED Amr FLUENT 6 May 8, 2006 12:06


All times are GMT -4. The time now is 09:41.