Installation of ParaView on Ubuntu that exists in (Windows Subsystem Linux)
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 Sincerely Yours |
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 |
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 Sincerely Yours |
Quick answers:
Quote:
Quote:
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. |
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 |
Quick answers:
|
Hi Dear Bruno,
Thanks for great information that is useful. |
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! |
Quote:
I have the same question. Did you get to a solution in the mean time? Thanks! |
All times are GMT -4. The time now is 09:20. |