CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   OpenFOAM virtual memory error (https://www.cfd-online.com/Forums/openfoam-solving/114137-openfoam-virtual-memory-error.html)

spoon March 5, 2013 19:12

OpenFOAM virtual memory error
 
Hi,

I am trying to run an internal pipe flow with obstruction simulation. I have succesfully created a mesh using snappyHexMesh and then I have been solving with simpleFoam. I am running openFOAM in ubuntu via virtualbox with a Windows 8 host.

My solution was obviously incorrect and I could see that it was not converging after having plotted residuals; so I decided to increase the density of my background blockMesh mesh in the hope of solving this problem.

My new mesh is built fine with approximately ~1.8M cells, but when I run simpleFoam it begins calculating, finishes the first time step and then quits with the following error:

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.

I gave my virtual machine 5G of RAM so I don't know what the problem is.

Any help would be great,
Thanks

shashi July 12, 2013 07:24

Hi spoon,

Have you found your solution yet ? Does it have anything to do with the virtual memory
I have encountered the same error.


regards,


All times are GMT -4. The time now is 20:17.