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

Can different OpenFOAM versions share the same ParaView?

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

Like Tree6Likes
  • 2 Post By akidess
  • 4 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread 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: 92
Rep Power: 16
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: Germany
Posts: 1,377
Rep Power: 29
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.
olesen and leofev like this.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   July 7, 2013, 08:25
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

To complement Anton's response: http://www.cfd-online.com/Forums/ope...tml#post425147 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, rajibroy, sangeet and 1 others 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: 92
Rep Power: 16
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

Old   July 23, 2021, 09:20
Default
  #5
New Member
 
Leon
Join Date: Jul 2021
Location: Norway
Posts: 1
Rep Power: 0
leofev is on a distinguished road
Quote:
Originally Posted by akidess View Post
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.
I am running cases on amazon servers and viewing the results on my own PC. The two versions of openFOAM are different, and it wouldn't allow me to use paraFoam because the headers were different. Creating an empty empty.foam file, opening that in paraview and skipping to last timestep worked! No idea why. But cheers
leofev is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 21:28
Can't get older versions of OpenFOAM fabioc OpenFOAM Installation 4 February 7, 2012 09: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 08:53


All times are GMT -4. The time now is 18:29.