|
[Sponsors] |
[OpenFOAM] configuring paraFoam to use a different version of Paraview |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 25, 2012, 11:21 |
configuring paraFoam to use a different version of Paraview
|
#1 |
New Member
Mike Wallis
Join Date: Jun 2012
Posts: 2
Rep Power: 0 |
Hi,
Newbie question. I'm compiling up 2.1.1 for a HPC system where we already have a version of ParaView installed. How do I configure parafoam to use this version, instead of having to compile the version that's in ThirdParty? Thanks, Mike. |
|
June 25, 2012, 17:12 |
|
#2 |
Senior Member
|
I don't have a direct answer to your question… but… what I usually do is to create a .foam file within the case folder and then open it in paraview. It is almost the same as running paraFoam.
|
|
June 25, 2012, 18:36 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Mike: it depends on the ParaView version you've got on your HPC system. Was it a custom build or did it come with the installed Linux distribution? As lovecraft22 indicated, you can use the internal reader, by using the file extension ".foam". If you want this by default, edit the file paraFoam and change the line: Code:
# reader extension extension=OpenFOAM Code:
# reader extension extension=foam Code:
which paraFoam Best regards, Bruno
__________________
|
|
June 26, 2012, 03:28 |
|
#4 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Everything else is good, but I'd make a slight improvement here:
Quote:
Your modified version hooks into the shipped version: Code:
foamFile=$($WM_PROJECT_DIR/bin/foamEtcFile -mode o config/paraview.sh 2>/dev/null) && . $foamFile ParaView_VERSION=3.9.0 unset foamFile |
||
June 26, 2012, 12:45 |
|
#5 |
New Member
Mike Wallis
Join Date: Jun 2012
Posts: 2
Rep Power: 0 |
Thanks, everybody! The point of all this is so that I can build and deploy OpenFOAM as a module for multiple users on the cluster, and there are users of ParaView on the system who don't use OpenFOAM so I'd like to keep the two applications as separated as possible.
You've been really helpful and I really appreciate it. |
|
May 6, 2021, 15:05 |
|
#6 | |
New Member
Join Date: Mar 2021
Posts: 5
Rep Power: 5 |
Quote:
This is interesting. One question, where do you have to place this file exactly? |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Installation ParaView for Windows version of openFOAM | kasra karimi | ParaView | 14 | September 8, 2018 15:06 |
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] | u2berggeist | OpenFOAM Installation | 2 | July 2, 2018 18:03 |
[OpenFOAM] paraFoam vs paraView builtin reader for lagrangian solvers | Yann | ParaView | 2 | September 9, 2017 06:32 |
[OpenFOAM] Segmentation fault with paraFoam and paraview 3.6.1 on Fedora 11 32 and 64 bit | nanes | ParaView | 2 | September 11, 2009 10:12 |
[OpenFOAM] ParaView patch visualisation error in Development version | philippose | ParaView | 17 | March 26, 2007 07:45 |