CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

ParaFoam reader

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 10, 2009, 14:43
Default when i run ParaFOAM it appears
  #1
New Member
 
Duarte Albuquerque
Join Date: Mar 2009
Posts: 4
Rep Power: 8
duartealbuquerque is on a distinguished road
when i run ParaFOAM it appears a windows saying that a reader for the file cavity.OpenFOAM cannot be found.

In this way i cannot see the mesh or the results.

The instalation of the OpenFOAM was sucessufull
duartealbuquerque is offline   Reply With Quote

Old   March 10, 2009, 14:54
Default Hi, you have to build PV3F
  #2
Senior Member
 
Tomislav Maric
Join Date: Mar 2009
Location: Darmstadt, Germany
Posts: 259
Blog Entries: 5
Rep Power: 11
tomislav_maric is on a distinguished road
Hi,

you have to build PV3FoamReader.

cd ~/OpenFOAM/OpenFOAM-yourVersionHere

find . -type d -iname 'PV*FOAMReader*'

My directory is i.e.:
~/OpenFOAM/OpenFOAM-1.5-dev/applications/utilities/postProcessing/graphics/PV3Fo amReader

cd to that directory

./Allwmake
__________________
Blog: sourceflux.de/blog

"The OpenFOAM Technology Primer": sourceflux.de/book

Twitter: @sourceflux_de

When asking a question, prepare a SSCCE.
tomislav_maric is offline   Reply With Quote

Old   March 18, 2009, 13:00
Default lpqcomponents error
  #3
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 138
Rep Power: 8
hellorishi is on a distinguished road
Hello,

I tried to compile paraFoam and I end up with the following error concerning lpqcomponents. I googled but I could not find an answer. Does anybody have a clue what is this about?

Here is the output of Allwmake
...
...
+ cd PV3FoamReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
+ cmake ../..
-- Check for working C compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
-- Check for working C compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/c++
-- Check for working CXX compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/c++ -- works
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.3.5
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader/Make/linux64GccDPOpt
+ make
[ 8%] Generating qrc_PV3FoamReader.cxx
[ 16%] Generating moc_PV3FoamReaderPluginImplementation.cxx
Scanning dependencies of target PV3FoamReader
[ 25%] Building CXX object CMakeFiles/PV3FoamReader.dir/moc_PV3FoamReaderPluginImplementation.o
[ 33%] Building CXX object CMakeFiles/PV3FoamReader.dir/PV3FoamReaderPluginImplementation.o
[ 41%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o
Linking CXX shared library /home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libPV3FoamReader.so
/usr/bin/ld: cannot find -lpqComponents
collect2: ld returned 1 exit status
make[2]: *** [/home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libPV3FoamReader.so] Error 1
make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2
make: *** [all] Error 2

I have Qt-4.3.2 on SuSE SLED 10, 64 bit. Paraview-3.4.0 binary in installed as well.
I am using foamToVTK for now, but would like to use paraFoam.

Thanks
Rishi
hellorishi is offline   Reply With Quote

Old   March 21, 2009, 07:25
Default
  #4
New Member
 
jan ramboer
Join Date: Mar 2009
Posts: 2
Rep Power: 0
janra is on a distinguished road
Quote:
Originally Posted by hellorishi View Post
Hello,

I tried to compile paraFoam and I end up with the following error concerning lpqcomponents. I googled but I could not find an answer. Does anybody have a clue what is this about?

Here is the output of Allwmake
...
...
+ cd PV3FoamReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
+ cmake ../..
-- Check for working C compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
-- Check for working C compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/c++
-- Check for working CXX compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/c++ -- works
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.3.5
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader/Make/linux64GccDPOpt
+ make
[ 8%] Generating qrc_PV3FoamReader.cxx
[ 16%] Generating moc_PV3FoamReaderPluginImplementation.cxx
Scanning dependencies of target PV3FoamReader
[ 25%] Building CXX object CMakeFiles/PV3FoamReader.dir/moc_PV3FoamReaderPluginImplementation.o
[ 33%] Building CXX object CMakeFiles/PV3FoamReader.dir/PV3FoamReaderPluginImplementation.o
[ 41%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o
Linking CXX shared library /home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libPV3FoamReader.so
/usr/bin/ld: cannot find -lpqComponents
collect2: ld returned 1 exit status
make[2]: *** [/home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libPV3FoamReader.so] Error 1
make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2
make: *** [all] Error 2

I have Qt-4.3.2 on SuSE SLED 10, 64 bit. Paraview-3.4.0 binary in installed as well.
I am using foamToVTK for now, but would like to use paraFoam.

Thanks
Rishi
I have the same error. I run ubuntu intrepid and get this error.
janra is offline   Reply With Quote

Old   May 29, 2009, 12:28
Default lpqcomponents not found
  #5
New Member
 
Nurye
Join Date: May 2009
Posts: 13
Rep Power: 8
carlos is on a distinguished road
Hello Rishi

I got the same error when i tried to compile paraFoam. Can you give me a hint how you have solved it? tks

Quote:
Originally Posted by hellorishi View Post
Hello,

I tried to compile paraFoam and I end up with the following error concerning lpqcomponents. I googled but I could not find an answer. Does anybody have a clue what is this about?

Here is the output of Allwmake
...
...
+ cd PV3FoamReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
+ cmake ../..
-- Check for working C compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc
-- Check for working C compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/c++
-- Check for working CXX compiler: /home/cfdtest/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/c++ -- works
-- Loading ParaView CMake commands
-- Loading ParaView CMake commands - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Found Qt-Version 4.3.5
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/applications/utilities/postProcessing/graphics/PV3FoamReader/PV3FoamReader/Make/linux64GccDPOpt
+ make
[ 8%] Generating qrc_PV3FoamReader.cxx
[ 16%] Generating moc_PV3FoamReaderPluginImplementation.cxx
Scanning dependencies of target PV3FoamReader
[ 25%] Building CXX object CMakeFiles/PV3FoamReader.dir/moc_PV3FoamReaderPluginImplementation.o
[ 33%] Building CXX object CMakeFiles/PV3FoamReader.dir/PV3FoamReaderPluginImplementation.o
[ 41%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o
Linking CXX shared library /home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libPV3FoamReader.so
/usr/bin/ld: cannot find -lpqComponents
collect2: ld returned 1 exit status
make[2]: *** [/home/cfdtest/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/libPV3FoamReader.so] Error 1
make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2
make: *** [all] Error 2

I have Qt-4.3.2 on SuSE SLED 10, 64 bit. Paraview-3.4.0 binary in installed as well.
I am using foamToVTK for now, but would like to use paraFoam.

Thanks
Rishi
carlos is offline   Reply With Quote

Old   May 29, 2009, 12:34
Default
  #6
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 138
Rep Power: 8
hellorishi is on a distinguished road
Hello Nurye,

Unfortunately I could not solve that error.

I am using a workaround, i.e. using foamToVTK and Paraview binary.

Regards,
Rishi
hellorishi is offline   Reply With Quote

Old   May 30, 2009, 14:38
Default Can't compile Paraview 3.3
  #7
New Member
 
Join Date: May 2009
Location: Texas
Posts: 10
Rep Power: 8
Kenny is on a distinguished road
When I try to build Paraview3.3 I get a couple of error messages as follows:
gcc fails the compling test --broken
libmpfr.so.1 Cannot open shared object file: No such file or directory.

I'm using Open Suse 10.3 32 bit gcc 4.3.1 Qt 4.3.1

Kenny
Kenny is offline   Reply With Quote

Old   June 1, 2009, 10:54
Default
  #8
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 138
Rep Power: 8
hellorishi is on a distinguished road
Hello Kenny,

It seems mpfr is missing from your OpenSuSE. Search the forum for OpenSuSE installation procedure & you will find the missing things for OpenSuSE10.3.
e.g.
My experiences about Installing OpenFOAM on OPENSUSE103 32bit

Possibly gmp is also missing from your Linux.
hellorishi is offline   Reply With Quote

Old   June 2, 2009, 08:46
Default
  #9
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 138
Rep Power: 8
hellorishi is on a distinguished road
Hi Kenny,
If you are using OpenSuSE10.3
You can find the QT here:
http://download.opensuse.org/reposit...SUSE_10.3/src/

Can you output the result of following command.

By the way do you have a stand alone machine or a cluster? Can you play around freely with your system ? If ya then you might consider installing Ubuntu and OF script from forum or even simple download the OpenFOAM live Slax from the link in forum.

Rishi
hellorishi is offline   Reply With Quote

Old   June 2, 2009, 19:47
Default
  #10
New Member
 
Join Date: May 2009
Location: Texas
Posts: 10
Rep Power: 8
Kenny is on a distinguished road
Rishi,

Thanks. I've been pretty frustrated so far.

I am trying to run on a pentium 4 dual core at home.

What is the OF Script?
What is the OF live Slax?

How are you using OF (what applications)?

Many Thanks,
Kenny is offline   Reply With Quote

Old   June 3, 2009, 02:01
Default
  #11
Senior Member
 
Rishi .
Join Date: Mar 2009
Posts: 138
Rep Power: 8
hellorishi is on a distinguished road
Hi Kenny

Debian package for ubuntu 810

There is possibly another OF installation script. Search it.

There is a live OF that can be run from usb or DVD
OpenFOAM-dev Live USB CD, SLAX based

I am using OF with SuSE, but that was a long story to get it working. I am using icoFoam, turbFoam, rhoSimpleFoam, etc...

Another tip:
forget paraFoam.
use foamToVTK and ParaView.

Paraview binaries are easier to install and no need to compile from source.
hellorishi is offline   Reply With Quote

Old   June 18, 2009, 11:34
Default PV3FoamReader
  #12
Member
 
Sylvain Martel
Join Date: Apr 2009
Location: University of Sherbrooke/Quebec/Canada
Posts: 51
Rep Power: 8
smart is on a distinguished road
Hi guys,

I have trouble with paraview. I correctly buildParaView3.3-cvs but when I do the last task in the "read me" file at the "7 Compiling ParaView 3.3 and the PV3FoamReader module".

When I do :

./Allwclean
+ rm -r PV3FoamReader/Make
rm: ne peut enlever 'PV3FoamReader/Make': Aucun fichier ou dossier de ce type
+ wclean libso vtkPV3Foam
wclean vtkPV3Foam

./Allwmake
+ [ -d /home/sylvain/OpenFOAM/ThirdParty/ParaView-3.3-cvs/platforms/linuxcc -a -r /home/sylvain/OpenFOAM/ThirdParty/ParaView-3.3-cvs/platforms/linuxGcc ]

I think that the Allwmake must be more thing. Could you give me some examples of what it supposed to do? I cannot start paraview at all.

I downloaded the version 3.4 of paraview but I cannot start paraview just by typing paraview in a terminal. All idea is welcome...

Sylvain
smart is offline   Reply With Quote

Old   June 29, 2009, 15:38
Default OF-1.5-dev is ok and paraFoam too!
  #13
Member
 
Sylvain Martel
Join Date: Apr 2009
Location: University of Sherbrooke/Quebec/Canada
Posts: 51
Rep Power: 8
smart is on a distinguished road
Hi all,

I finaly get the OpenFOAM-1.5-dev running perfectly. I changed my linux system to Ubuntu 8.04. I experienced problems with paraFoam and paraview under ubuntu 9.04.

I solved the problem by installing paraview 3.4.0 instead of 3.3-cvs. For this, I changed some file (buildParaView3.3-cvs, in OpenFOAM-1.5-dev/bin and in OpenFOAM-1.5-dev/bin/tools and the bashrc in OpenFOAM-1.5-dev/etc/apps to point to the ParaView-3.4.0 folder (OpenFOAM/ThirdParty/ParaView-3.4.0).

I think it should be OK too with the ubuntu 9.04 in which the qmake version 4.3.5 should be installed.

For me, I used qmake 4.3.4 and gcc 4.3.1.

Thank to all!
smart is offline   Reply With Quote

Old   August 12, 2009, 09:27
Default
  #14
Member
 
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 60
Rep Power: 8
anger is on a distinguished road
Quote:
Originally Posted by hellorishi View Post
Hello Nurye,

Unfortunately I could not solve that error.

I am using a workaround, i.e. using foamToVTK and Paraview binary.

Regards,
Rishi
Hello,

not sure whether this is still of interest - today, I ran onto the same error about missing lpqcomponents.
After checking thoroughly through the build logs, I found that while compiling paraview, errors occured (which could not be noticed because the script kept on running...). They were related to a missing Python.h which means that the development files of python were not installed.
After installing these (apt-get install python-dev on debian), compiling and building went smoothly.

best regards,
-Thomas
anger is offline   Reply With Quote

Old   August 12, 2009, 13:48
Default paraFoam success
  #15
New Member
 
Timo Kulju
Join Date: Aug 2009
Posts: 21
Rep Power: 7
tikulju is on a distinguished road
I had a HUUUGE problems with paraFoam, so it all came to the chipset related problems. Mainly the situation was, that paraview vorked but paraFoam didn't. In intel integrated graphics i915 the problem haven't yet been solved, but with radeon driver the problem solved with the folllowing:

1. download qt-4.3.5 (as the README file states) unpack and install it :
2. set correct PATH and LD_LIBRARY_PATH, which points to INSTALLED Qt-4.3.5/bin and Qt-4.3.5/lib/ paths. Be sure that they are not blocked by any other libraries (such as /usr/lib64/) or binaries
3. Follow the readme step 7 first guide and all should be done

If paraFoam isn't working, make sure you have mesa-libLG*-devel installed. And also the cmake should be the correct version. I compiled it from the source.

ps. the operating system is fedora 11 in both.

Last edited by tikulju; August 12, 2009 at 15:11. Reason: correction
tikulju is offline   Reply With Quote

Old   August 28, 2009, 17:43
Default
  #16
Member
 
victor
Join Date: Mar 2009
Location: mexico city, MX
Posts: 50
Rep Power: 8
torvic is on a distinguished road
Hi all

I'm trying to install Paraview in OF-1.6 but I can't get rid of this error. It is related to an unrecognized format.
the "makeParaview" ends without errors, but in the PV3FoamReader step I got the error

*******
.
.
.
Make/linux64GccDPOpt/vtkPV3FoamUtilities.o
/home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libfiniteVolume.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make: *** [/home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libvtkPV3Foam.so] Error 1
+ cd PV3FoamReader
+ mkdir -p Make/linux64GccDPOpt
+ cd Make/linux64GccDPOpt
.
.
.
[ 91%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/vtkSMPV3FoamReader_SMInstantiator.o
[100%] Building CXX object CMakeFiles/PV3FoamReader_SM.dir/vtkPVPluginInit_PV3FoamReader_SM.o
Linking CXX shared library /home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libPV3FoamReader_SM.so
/home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[2]: *** [/home/foam15/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libPV3FoamReader_SM.so] Error 1
make[1]: *** [CMakeFiles/PV3FoamReader_SM.dir/all] Error 2
make: *** [all] Error 2
*******

I have SLED 10 SP1, 64 bits. I am using gcc 4.3.1 and compiled cmake. With the gcc 4.3.3 binary of the Thirdparty I got some "broken" messages.

Please, any hint is appreciated

best

Victor
torvic is offline   Reply With Quote

Old   August 31, 2009, 17:19
Default
  #17
Member
 
victor
Join Date: Mar 2009
Location: mexico city, MX
Posts: 50
Rep Power: 8
torvic is on a distinguished road
anyone ?



best

Victor
torvic is offline   Reply With Quote

Old   September 1, 2009, 12:01
Default
  #18
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
I am wondering if someone tried to install pv3Foam against an external paraview? I tried and struggled I set paraview_dir to the make install destiantion of paraview and paraview_inst_dir to build or source directory. However, none of them works as OpenFOAM neads headers from paraview sources as well as files from build directory. My final aim is to not distribute build and source of paraview over all of our system - only binaries. Has anyone tried this before? Users should be able to use same paraview than for other codes.

Thanks.
bastil is offline   Reply With Quote

Old   September 2, 2009, 03:38
Default
  #19
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 471
Rep Power: 11
bastil is on a distinguished road
Ok as a documentation what needs to be done to build all the Paraview-related stuff against a Paraview out of the ThirdParty tree of OpenFOAM:

Edit etc/apps/paraview3/bashrc:
- Point cmake to cmake-location
- Point ParaView_DIR to the location where you installed Paraview with make install (out of ThirdParty-Directory)

Copy all header files from your Paraview Source directories VTK/Common, VTK/Filtering and VTK/Rendering to Thirdparty-Paraview. Theses headers are the only files required there.
Copy Header-Files from Paraview Build-directory VTK and the folder VTK/vtkstd and ParaViewConfig.cmake to the directory where you installed paraview.

Afterwards build as usual. For me this runs.

Regards BastiL
bastil is offline   Reply With Quote

Old   September 2, 2009, 20:09
Default
  #20
Member
 
victor
Join Date: Mar 2009
Location: mexico city, MX
Posts: 50
Rep Power: 8
torvic is on a distinguished road
Hi Bastil

thanks for the hint.

In the meanwhile I tried to use the paraview reader I compiled for OF-1.5 to view the results of the icofoam tutorial of OF-1.6 and it worked. Have not tested in other ones, but perhaps it works.

best

Victor
torvic is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chemkin reader stefanke OpenFOAM Pre-Processing 26 February 12, 2013 09:23
A reader for cavityOpenFOAM alex OpenFOAM Running, Solving & CFD 11 April 2, 2009 09:57
Reader should I visualize t%3d0 tj22 OpenFOAM Paraview & paraFoam 1 June 30, 2006 10:16
Building Paraview with reader builtin instead of parafoam script tj22 OpenFOAM Paraview & paraFoam 2 April 7, 2006 12:55
ICEM-CFD tetin reader F++ Main CFD Forum 1 January 15, 2003 07:58


All times are GMT -4. The time now is 11:26.