I have tried to open the cavity/icoFoam case file after solved. But the paraview asking to choose a appropriate reader to open the file.

When I choose the OpenFOAM files option it was crashed and exit with saying the below comments,
--------------------------------------------------
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
/home/harikr/OpenFOAM/OpenFOAM-1.5/bin/paraFoam: line 83: 13772 Aborted paraview --data=$caseFile
--------------------------------------------------

I have did the 7th step as like in READ ME for rebuilding and compiling the paraView and PV3Foam Reader using the steps as mentioned there.

But it results in unable to open the Paraview window itself after running the ./Allwmake.

I can work with converting into VTK formats and can open the file through in legacy vtk files.

But I would like to read the .OpenFOAM file.. the real one..

Could anybody advice me in this regard?
Kindly ask me if you need any more information.

Check whether you downloaded the correct files for your system (32 bits / 64 bits). You may also try to use your system gcc compiler.

Regards,
Jose Santos

ameya

September 18, 2008 04:21

Dear hari and Jose
I have e

Dear hari and Jose

I have exactly the same problem as you do.
But as mr. jose has suggested the problem must be of gcc.
I tried that but no effect.
My gcc version is 4.3.1. Yet i am getting the ame problem. i dont think this problem is of gcc.

santos

September 18, 2008 17:30

Dear Ameya,
What is the out

Dear Ameya,

What is the output of foamInstallationTest? Any fatal error?

A quick way to check if gcc is correctly installed would be:
foamInstallationTest | grep gcc

i have the same problem, with qt 4.3.x (don't remember the exact version now) and stock packages. paraview runs, but paraFoam cannot open .OpenFOAM files - if i choose the OpenFOAM file reader option, nothing happens - only abunch of error messages (the same as described in post #0 here).