CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Paraview & paraFoam (
-   -   Cavity tutorial visualization failure (

jabowery August 13, 2006 00:55

Following the UserGuide.pdf I
Following the UserGuide.pdf I successfully ran the "cavity" tutorial. However, right clicking on the "cavity" folder and selecting Foam Utilities->postProcessing->graphics->paraFoam (inferred as the right thing to do to run paraFoam on the cavity case), and then clicking on "Execute" in the resulting window, gives me a brief splash graphic from "paraView", which then is replaced by an alert window saying simpl "Application paraFoam (pid ....) finished successfully. Clicking on that alert window's "OK" simply dismisses it, returning control to the window with the execute button.

msrinath80 August 13, 2006 21:45

Why don't you simply run paraF
Why don't you simply run paraFoam from the command line?

paraFoam <root> cavity

Where <root> should be replaced with the path to the icoFoam directory (typically one level below the cavity directory).

jabowery August 13, 2006 23:47

Thanks. Here are the results:
Thanks. Here are the results:

jabowery@jabowery-desktop:~/OpenFOAM/jabowery-1.3/run/tutorials/icoFoam$ paraFoam . cavity
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 142 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Serial number of failed request: 1466
Current serial number in output stream: 1467
jabowery@jabowery-desktop:~/OpenFOAM/jabowery-1.3/run/tutorials/icoFoam$ free
total used free shared buffers cached
Mem: 1028284 443488 584796 0 73044 219152
-/+ buffers/cache: 151292 876992
Swap: 1164672 0 1164672

msrinath80 August 14, 2006 13:07

This looks like an Mesa/OpenGL
This looks like an Mesa/OpenGL problem. Are you using the binary provided on the OpenFOAM webpage or did you try building paraFoam yourself?

jabowery August 14, 2006 13:10

This is a fresh, clean instal
This is a fresh, clean instal AMD64 Ubuntu desktop system running the AMD64 binary provided on the OpenFOAM webpage.

msrinath80 August 14, 2006 18:19

OK. A little googling showed m
OK. A little googling showed me this page which proposes a solution to this problem:


I think this would require rebuilding paraview, but I could be utterly wrong.

Check the Nvidia section toward the bottom of this[1] page.


shaun March 7, 2007 00:40

James, can I ask if this sugge
James, can I ask if this suggestion by pUI above actually worked.

I am a new OpenFoam user and encountered the same problem, with paraview and paraFoam crashing and reporting the identical error you have reported.

Any help would be appreciated regarding how this was resolved if at all.



All times are GMT -4. The time now is 14:13.