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

parafoam - paraview help function

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 2, 2010, 00:06
Default parafoam - paraview help function
  #1
New Member
 
anonymous
Join Date: Sep 2009
Posts: 5
Rep Power: 9
felik9 is on a distinguished road
Hi,

I am trying to run the help function available in paraview, but I get the error message "Failed to launch Qt installer". Is there a way to fix this problem?

I use the command paraFoam to run paraview program. I have the linux 32-bit parafoam ver 1.6, and paraview ver 3.6.1.


Thanks in advance for your help.
felik9 is offline   Reply With Quote

Old   June 2, 2010, 18:43
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,744
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings felik9,

There are two things necessary for Help to work in the pre-built ParaView:
  1. install Qt4 Assistant in your Linux installation; the package could be called "qt4dev-tools" or something like that, depending on what Linux distribution you are using.
  2. you'll need to fix the path for the help files that is built-in the file pqClientDocFinder.txt:
    Code:
    cd $WM_THIRD_PARTY_DIR/paraview-3.6.1/platforms/linuxGcc/bin
    mv pqClientDocFinder.txt pqClientDocFinder_orig.txt
    cat pqClientDocFinder_orig.txt | sed 's/\/home\/dm2\/henry\/OpenFOAM/'${HOME}/OpenFOAM'/' > ./pqClientDocFinder.txt
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 3, 2010, 00:36
Default
  #3
New Member
 
anonymous
Join Date: Sep 2009
Posts: 5
Rep Power: 9
felik9 is on a distinguished road
Hi Bruno,

I followed your instructions. When I entered the third command, I get the following message.

Code:
cat pqClientDocFinder_orig.txt | sed 's/\/home\/dm2\/henry\/OpenFOAM/'${HOME}/OpenFOAM'/' > ./pqClientDocFinder.txt
sed: -e expression #1, char 33: unknown option to `s'
I ignored this message, and then typed the ". $HOME/.bashrc" command before running paraFoam. Now I get the following error message when I click the help option.

Help Error:
Couldn't find pqClient.adp.
Try setting the PARAVIEW_HELP environment variable which points to that file


I don't understand what this means. What should I do?

Thanks,

Felik9

Last edited by felik9; June 3, 2010 at 01:54.
felik9 is offline   Reply With Quote

Old   June 3, 2010, 07:26
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,744
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Hi Felik9,

Sorry about that, I should have tested the command first Try this:
Code:
cd $WM_THIRD_PARTY_DIR/paraview-3.6.1/platforms/linuxGcc/bin
cat pqClientDocFinder_orig.txt | sed 's=\/home\/dm2\/henry\/OpenFOAM='${HOME}/OpenFOAM'=' > ./pqClientDocFinder.txt
Basically, when using sed, the slash "/" character is the usual character for separating the before and after expressions; but in this case, we need to change paths that rely heavily in the slash, so it's best to change the usual slash to another character, in this case the equality "=" character

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 3, 2010, 12:08
Default
  #5
New Member
 
anonymous
Join Date: Sep 2009
Posts: 5
Rep Power: 9
felik9 is on a distinguished road
Thanks for your help, Bruno!

It's working now, but the Help that I get is for Paraview ver. 3.5 not 3.6.1. Shouldn't there be a Help for version 3.6.1?



Felik9
felik9 is offline   Reply With Quote

Old   June 3, 2010, 15:03
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,744
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quote:
Originally Posted by felik9 View Post
Thanks for your help, Bruno!
You're welcome

Quote:
Originally Posted by felik9 View Post
It's working now, but the Help that I get is for Paraview ver. 3.5 not 3.6.1. Shouldn't there be a Help for version 3.6.1?
what the..? I didn't notice that before! Probably the ParaView developers forgot to update the version in the help file
__________________
wyldckat 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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


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