CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Paraview & paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/)
-   -   Post processing problem in Xfce desktop environment using paraFoam (http://www.cfd-online.com/Forums/openfoam-paraview/119760-post-processing-problem-xfce-desktop-environment-using-parafoam.html)

tariq June 24, 2013 10:56

Post processing problem in Xfce desktop environment using paraFoam
 
Hi,
I have been facing problem in post-processing using paraFoam. While doing the simple cavity tutorial (http://www.openfoam.org/download/ubuntu.php), after putting the paraFoam command these lines appears in the Terminal:

created temporary 'cavity.OpenFOAM'
/sw/openfoam/ThirdParty-2.2.0/platforms/linux64Gcc46/paraview-3.12.0/lib/paraview-3.12/paraview: error while loading shared libraries: libQtHelp.so.4: cannot open shared object file: No such file or directory

What's the error here? As I'm new in Ubuntu and openFoam, have no idea about these typo errors!!
the operating system is Xfce desktop environment https://en.wikipedia.org/wiki/Xfce

Can anyone please help me out...

nimasam June 24, 2013 13:53

try to install libQtHelp.so.4 , maybe you can use following command in terminal:
Quote:

sudo apt-get install libqt4-help

tariq July 2, 2013 10:43

Quote:

Originally Posted by tunkers (Post 273212)
I also had the same problem with openfoam 1.7 when installing on Debian Lenny

paraview would run fine when launched manually, but not from paraFoam.
created temporary 'cavity.OpenFOAM'
/home/cfduser/OpenFOAM/OpenFOAM-1.7/bin/paraFoam: 132: paraview: not found

to fix this, edit the following file

/home/cfduser/OpenFOAM/OpenFOAM-1.7.0/etc/bashrc

add this line near somewhere near the top

export PATH=$PATH:/home/cfduser/OpenFOAM/ParaView-3.8.0-Linux-i686/bin

then

$cd
$. .bashrc

Now you will be able to type paraview from anywhere and it will run. Also paraFoam will also be able to launch paraview.

Hi,
I'm also facing the same problem :(
after doing blockMesh & icoFoam, when I write paraFoam, this line appears:
created temporary 'cavity.OpenFOAM'
/sw/openfoam/ThirdParty-2.2.0/platforms/linux64Gcc46/paraview-3.12.0/lib/paraview-3.12/paraview: error while loading shared libraries: libQtHelp.so.4: cannot open shared object file: No such file or directory

and as I'm using lab's computer, OpenFoam is installed in /sw directory, not in /opt directory, that's why couldn't do the process you have shown.
I found a similar line in the bashrc file: source /sw/etc/openFoam2.2.0_profile.sh

Could you please help me out how to fix this problem?

wyldckat July 7, 2013 06:12

Greetings to all!

@Tariq: I've moved your latest question on this topic from the other thread to this one, so that we can keep this line of questions and answers on the same thread ;)

OK, so you're using the lab's computer and I assume you do not have administrative permissions to install Qt yourself. So, there are two possible solutions:
  1. Talk to the person in charge of administering that computer and ask him to install Qt, so that you can use this ParaView version properly.
  2. If that person is not available, then you'll have to build Qt from source code. Problem is that you might not be able to build Qt from source code, if that machine does not already have the necessary build tools.
If you are not able to talk to the administrator, then we'll need to know which Linux Distribution you are using, so that we can guide you to a set of instructions that can allow you to build OpenFOAM and ParaView+Qt from source code.

Best regards,
Bruno

tariq July 8, 2013 10:09

Quote:

Originally Posted by wyldckat (Post 438236)
Greetings to all!

@Tariq: I've moved your latest question on this topic from the other thread to this one, so that we can keep this line of questions and answers on the same thread ;)

OK, so you're using the lab's computer and I assume you do not have administrative permissions to install Qt yourself. So, there are two possible solutions:
  1. Talk to the person in charge of administering that computer and ask him to install Qt, so that you can use this ParaView version properly.
  2. If that person is not available, then you'll have to build Qt from source code. Problem is that you might not be able to build Qt from source code, if that machine does not already have the necessary build tools.
If you are not able to talk to the administrator, then we'll need to know which Linux Distribution you are using, so that we can guide you to a set of instructions that can allow you to build OpenFOAM and ParaView+Qt from source code.

Best regards,
Bruno

Hi Bruno, thanks a lot for your help :)

somehow I have solved the problem, bt in a different way, got the solution from the tutorial here: http://www.openfoam.org/docs/user/cavity.php

In order to solve that problem, a dummy file should be created by typing:
touch cavityFine.OpenFOAM
Then paraview can be opened by typing:
paraview
Now the cavity case can be loaded into ParaView by selecting Open from the File menu, and having navigated the directory tree, selecting cavity.OpenFOAM.


I will ask the demonstrator about the points you said, let's see what he says :)


Thanking you once again!


All times are GMT -4. The time now is 21:00.