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

LRRturbulence Model crashes with symmetryPlanboundaries

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 9, 2007, 15:43
Default Hi! I was running a simpleF
  #1
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi!

I was running a simpleFoam-case with a symmetryPlane. When trying to run it with a LRR-turbulence it always crashed with this message:

DILUPBiCG: Solving for epsilon, Initial residual = 0.0535534, Final residual = 0.00270083, No Iterations 1
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

Although the machine in question should have sufficient memory for that case.

To make the bug reproducible I changed the upperWall of the pitzDaily-case to symmetryPlane. The case ran until the 6th time-step and the crashed.

Then I tried to run the case with valgrind:
a) valgrind printed some messages (see below, I will spare you the complete dump)
b) the solver did not crash

Basically there are two kinds of messages:
- "Invalid read of size 4" or size 8 on various places
- "Address 0xXXXXXX is 8 bytes inside a block of size 24 free'd" in operator delete(void*) in vg_replace_malloc.c

Don't know enough about valgrind to interpret that. All the stack-traces have somewhere SymmTensor<double>-stuff in them.

I could reproduce this behaviour with
- OpenFOAM 1.4.1 and 1.4 (as distributed, only with patches from the message-board applied)
- On 64 and 32 bit Linux-machines

I could run a modified pitzDaily-case with a 1.3-installation (but that uses Tensor<double>, so the problem seems to be with SymmTensor)

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   October 10, 2007, 04:01
Default Try with this fix, http://ww
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 854
Rep Power: 13
henry is on a distinguished road
Try with this fix,
symmTensorField.C to replace OpenFOAM-1.4.1/src/OpenFOAM/fields/Fields/symmTensorField/symmTensorField.C

I setup the pitzDaily-case with a symmetryPlane as you suggest above and it now runs.
henry is offline   Reply With Quote

Old   October 10, 2007, 06:53
Default Yeah. This fixes it. Thanks a
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Yeah. This fixes it. Thanks a lot.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider 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
Solver crashes (PVM parallel) Marco Müller CFX 2 February 4, 2009 03:51
BuoyantSimpleFoam solver crashes prashant24983 OpenFOAM Running, Solving & CFD 6 October 28, 2008 07:03
Workbench 11 crashes on start Sherif CFX 3 June 13, 2007 06:33
Gambit crashes HSeldon FLUENT 0 November 8, 2006 01:48
GAMBIT crashes during meshing Nick FLUENT 6 October 28, 2004 03:02


All times are GMT -4. The time now is 00:36.