|
[Sponsors] |
[OpenFOAM] Installation of ParaView on Ubuntu that exists in (Windows Subsystem Linux) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 9, 2017, 04:45 |
Installation of ParaView on Ubuntu that exists in (Windows Subsystem Linux)
|
#1 |
New Member
Kasra
Join Date: Aug 2014
Posts: 29
Rep Power: 12 |
Hi
I'm going to install ParaView on Ubuntu which installed through Windows Subsystem Linux (WSL). So I've downloaded ParaView v5.4 from https://www.paraview.org/download/ and installed it. (I don't know what is 'nightly builds' in that link so I ignor them) Further more, I've followed 'Enabling Graphical Applications' that exist in https://openfoam.org/download/windows-10/ I could finally ran a case with openfoam but when I want to apply paraview below error appears: Code:
kasra@Kasra-PC:/c/mnt/Users/kasra/tutorial/cavity$ paraFoam ERROR: ParaView reader module library (PVFoamReader) does not exist Please build the reader module before continuing: cd $WM_PROJECT_DIR/applications/utilities/postProcessing/graphics/PVReaders ./Allwclean ./Allwmake Using the native VTK/OpenFOAM reader instead /opt/OpenFOAM/OpenFOAM-v1706/bin/paraFoam: 317: /opt/OpenFOAM/OpenFOAM-v1706/bin/paraFoam: paraview: not found kasra@Kasra-PC:/c/mnt/Users/kasra/tutorial/cavity$ Sincerely Yours |
|
July 9, 2017, 10:03 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: To at least test if it works or not, you need to run the following command first:
Code:
export PATH=$PATH:/path/to/paraview/bin
__________________
|
|
July 9, 2017, 10:50 |
|
#3 |
New Member
Kasra
Join Date: Aug 2014
Posts: 29
Rep Power: 12 |
Hi Dear Bruno
CFD online and Just Bruno you are the best. Thanks for reply. As I mentioned early, the installation was performed in windows which caused that Linux kernel could not detect and apply it (as I recognized). Then I enter Code:
sudo apt install paraview With performing paraFoam the below message appears Code:
ERROR: ParaView reader module library (PVFoamReader) does not exist Please build the reader module before continuing: cd $WM_PROJECT_DIR/applications/utilities/postProcessing/graphics/PVReaders ./Allwclean ./Allwmake Using the native VTK/OpenFOAM reader instead Sincerely Yours |
|
July 9, 2017, 20:24 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers:
Sorry, but I didn't understand which line made it work properly? I'm confused... first you stated that you downloaded ParaView 5.4.0 from paraview.org, but now you've gotten it via Ubuntu's apt? Isn't the version available via apt an older version of ParaView? Then again, if I understood you correctly, by using ParaView that was installed via apt, everything is working well, without the need to use the command I wrote in my previous comment. |
|
July 10, 2017, 02:48 |
|
#5 |
New Member
Kasra
Join Date: Aug 2014
Posts: 29
Rep Power: 12 |
Hi Dear Bruno,
I haven't any problem now. In first try I've installed paraview in windows via .exe file which downloaded from its official site. this approach not worked and I couldn't invoke paraview from bash. In 2nd try I've installed paraview in (WSL) via apt command. this approach works properly. In previous comment I tried to describe how the problem can be solved for who has same problem. As you can see in previous comments, both approaches led to same error but in 2nd the native VTK/OpenFOAM reader module library used instead of paraview reader module (I don't know what I guess is correct or not). The only question that remains is about error. Is it important to be solved?How can I solve it? Thanks for your consideration Sincerely Yours |
|
July 10, 2017, 08:02 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answers:
|
|
July 10, 2017, 09:31 |
|
#7 |
New Member
Kasra
Join Date: Aug 2014
Posts: 29
Rep Power: 12 |
Hi Dear Bruno,
Thanks for great information that is useful. |
|
February 10, 2021, 07:50 |
|
#8 |
New Member
Tomas
Join Date: Mar 2019
Posts: 9
Rep Power: 7 |
Hi!
I am using OpenFOAM v2012 through WSL. I have installed ParaView on Windows. Is there anyway to open a .foam file directly from bash on WSL? My $FOAM_RUN directory is in the original location, and although I can access it through Windows File Explorer it would be a lot simpler to open the .foam file from bash. Thank you! |
|
November 20, 2023, 10:40 |
|
#9 | |
New Member
Join Date: Nov 2023
Posts: 5
Rep Power: 3 |
Quote:
I have the same question. Did you get to a solution in the mean time? Thanks! |
||
|
|
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.org] Installation problem for paraView 4.1 to go with OpenFOAM-2.4.0-MNF | deepbandivadekar | OpenFOAM Installation | 2 | October 25, 2017 09:45 |
[OpenFOAM] Paraview usage in Windows | archeoptyrx | ParaView | 1 | August 28, 2013 16:13 |
Thumbs up Successful Installaton Of OpenFOAM-1.6 and Paraview in Ubuntu 9.04 | AlanR | OpenFOAM Installation | 8 | December 18, 2009 12:14 |
Linux to Windows (dual boot system) | Alex | Main CFD Forum | 9 | May 3, 2007 04:36 |