CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   OpenFOAM virtual memory error (

spoon March 5, 2013 20:12

OpenFOAM virtual memory error

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.

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

Any help would be great,

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.


All times are GMT -4. The time now is 04:08.