CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Paraview & paraFoam (
-   -   paraFoam crashing on Ubuntu 9.10 (

subash February 12, 2010 03:05

paraFoam crashing on Ubuntu 9.10

I have installed openFOAM 1.6 on a ubuntu 9.10 machine with no compilation problems.

The versions of Qt and paraFoam are 4.5.2 and 3.6.1. When the cavity problem was run, the first (blockMesh) and the second step(icoFoam) ran well without any problem. But when I tried to view the results by running paraFoam it asked to select a reader for the file, the application crashed as soon as the reader was selected throwing an exception which goes like this

Read float past end of buffer
Read float past end of buffer
Read float past end of buffer
Read float past end of buffer
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt. You must
reimplement QApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create

Please let me know how to overcome this error.

suitup February 12, 2010 11:53

Hi I had a similar problem.

This should help you, good luck :)

You can read some hints, there:

Or simply try:

apt-get install cmake

cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader

Or if it is not fixable:

Use foamToVTK for your OpenFoam-Files, then you can open them as vtk with paraview.

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