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

Can different OpenFOAM versions share the same ParaView?

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

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   July 4, 2013, 10:19
Default Can different OpenFOAM versions share the same ParaView?
  #1
Member
 
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 90
Rep Power: 7
kiddmax is on a distinguished road
Dear all,

There are two versions OpenFOAM in my computer, OpenFOAM-2.1.1 and OpenFOAM2.2. When I turn on OpenFOAM-2.1.1 version, I can use ParaView(ParaFoam) to do post-processing. While I switch to OpenFOAM-2.2, I can not use ParaFoam, and it says

'FATAL ERROR: ParaView reader module libraries do not exist
Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
./Allwclean
./Allwmake

I can not see the ParaView folder under openfoam-2.2/ThirdParty/, but there is in openfoam-2.1/ThirdParty.

So my question is How can I use shared paraView for both versions?

Best regards,
Ye
kiddmax is offline   Reply With Quote

Old   July 5, 2013, 04:30
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
akidess will become famous soon enough
The easiest way in my opinion is to not use paraFoam, but use paraview with the native reader instead. All you have to do is create an empty *.foam file in the case directory, and you will be able to open it with paraview.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   July 7, 2013, 08:25
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

To complement Anton's response: unable to run paraview post #4

In addition, it is possible to use the same custom build version for both installations, if you follow these steps (note: I haven't tested them yet):
  1. First activate OpenFOAM 2.1.1 shell environment in a new terminal.
  2. Then run:
    Code:
    echo $ParaView_DIR
    Make a note of the output.
  3. Activate the OpenFOAM 2.2.0 shell environment in another new terminal.
  4. Now use the following command:
    Code:
    ln -s other_paraview_full_path $ParaView_DIR
    Where "other_paraview_full_path" is the path given in step #2.
  5. Now follow the instructions given by paraFoam, in the terminal that has got 2.2.0:
    Code:
    cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers
    ./Allwclean
    ./Allwmake
  6. And it should be ready to go!
Best regards,
Bruno
onyir and rajibroy like this.
wyldckat is offline   Reply With Quote

Old   July 8, 2013, 02:21
Default
  #4
Member
 
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 90
Rep Power: 7
kiddmax is on a distinguished road
Dear Anton and Bruno,

Many thanks for your help. Now I can use Paraview in OpenFOAM 2.2.0.

Thank you!

Best regards,
Ye
kiddmax 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
How to install two versions of OpenFoam Argen OpenFOAM Installation 25 August 9, 2012 15:25
OpenFOAM v.2.x Courant Number 4 time higher then in previous versions makaveli_lcf OpenFOAM Running, Solving & CFD 8 February 18, 2012 22:28
Can't get older versions of OpenFOAM fabioc OpenFOAM Installation 4 February 7, 2012 10:13
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Qt version of Paraview 3.8.0 in OpenFOAM 1.7 waynezw0618 OpenFOAM Installation 10 March 3, 2011 09:53


All times are GMT -4. The time now is 07:49.