CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   ParaFoam problem (http://www.cfd-online.com/Forums/openfoam-bugs/62430-parafoam-problem.html)

matthias1 August 28, 2008 10:43

Hi, I have the following prob
 
Hi,
I have the following problem:
when I want to use paraFoam to view the results from a tutorial case (for example the cavity case of the icoFoam excample, after running blockMesh and icoFoam), the following happens:

paraFoam starts and a message box appears:
"A reader for 'cavity.OpenFOAM could not be found. Please choose one:"

Then there is a list, and I select: "OpenFOAM files".

After that, the program crashes and I get this message in the shell:
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_S_create
Aborted


Do you have any ideas?

Benno July 24, 2009 11:05

Did you solved the problem?

Benno

jiwon August 3, 2009 03:57

I have an exectly same problem
 
All openFoam and paraview things are installed.

I tried cavity tutorial.

blockMesh
icoFoam

They worked very well.

parafoam -case $FOAM_RUN/tutorials/incompressible/icoFoam/cavity

The paraview 3.6.1 is poped out, but how can I open data?
there's no file. (e.g.cavity.foam)
so I made a cavity.foam with no contents. ( just using vi )
Opening that file, paraview just ended up.

Is there anybody to help?

Benno August 3, 2009 04:16

Hello,

did you tried to compile paraview and the PV3-Reader as described in the Readme-File?

7 Compiling Paraview 3.3 and the PV3FoamReader module
A version of Qt 4.3.x must be installed to compile ParaView. The compilation is a fairly simple process
using the supplied buildParaView3.3-cvs script that has worked is our tests with other packages supplied
in the ThirdParty directory, namely cmake-2.4.6 and gcc-4.3.1.

Execute the following:
cd $FOAM_INST_DIR/ThirdParty
rm -rf ParaView3.3-cvs/platforms
buildParaView3.3-cvs
The PV3FoamReader module is an OpenFOAM utility that can be compiled in the usual manner as
follows:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
./Allwclean
./Allwmake

After I had done this, paraview worked at me.

Benno


Quote:

Originally Posted by jiwon (Post 225041)
All openFoam and paraview things are installed.

I tried cavity tutorial.

blockMesh
icoFoam

They worked very well.

parafoam -case $FOAM_RUN/tutorials/incompressible/icoFoam/cavity

The paraview 3.6.1 is poped out, but how can I open data?
there's no file. (e.g.cavity.foam)
so I made a cavity.foam with no contents. ( just using vi )
Opening that file, paraview just ended up.

Is there anybody to help?


jiwon August 3, 2009 19:57

Thanx, Benno
 
I followed the line you wrote, it worked for me :)
Benno, Thanks a lot.

nirmalrishi October 12, 2009 11:57

builParaView3.3-cvs got following error
 
Hi,

When I tried to run buildParaView3.3-cvs after rmoving platforms directory, i got the following messages.

[ 52%] [ 52%] Building CXX object Utilities/VTKClientServer/Graphics/CMakeFiles/vtkGraphicsCS.dir/vtkWindowedSincPolyDataFilterClientServer.o
Building CXX object Utilities/VTKClientServer/Graphics/CMakeFiles/vtkGraphicsCS.dir/vtkGraphicsCSInit.o
Linking CXX shared library ../../../bin/libvtkGraphicsCS.so
[ 52%] Built target vtkGraphicsCS
make: *** [all] Error 2
done



please let me know, how can i avoid this and complete the installation?


All times are GMT -4. The time now is 23:43.