CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] paraFoam crashing on Ubuntu 9.10 (https://www.cfd-online.com/Forums/paraview/72620-parafoam-crashing-ubuntu-9-10-a.html)

subash February 12, 2010 02:05

paraFoam crashing on Ubuntu 9.10
 
Hi


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
Aborted




Please let me know how to overcome this error.

suitup February 12, 2010 10:53

Hi I had a similar problem.

This should help you, good luck :)

You can read some hints, there:

http://www.cfd-online.com/Forums/ope...ookbook-4.html


Or simply try:

apt-get install cmake

cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
./Allwclean
./Allwmake

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 18:53.