|
[Sponsors] |
[OpenFOAM.com] ParaView 5.7.0 and OpenFoam v1906 on Windows |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 15, 2019, 20:04 |
ParaView 5.7.0 and OpenFoam v1906 on Windows
|
#1 |
New Member
Josh
Join Date: Jul 2019
Posts: 3
Rep Power: 7 |
Hello,
I recently installed OpenFoam for Windows using openFoam Installation on Windows instructions: https://www.openfoam.com/download/in...ry-windows.php I am able to run a simulation in openFOAM, but as I was going through the well known cavity tutorial, I found the the paraView command wasn't functioning. I installed ParaView but I'm getting the following error when I enter the "paraFoam" command as per the tutorial: Cannot us ParaView reader module library (PVFoamReader) The PV_PLUGIN_PATH environment value is not set Continuing with builtin reader: paraFoam -vtk /opt/OpenFOAM/openFOAM-v1906/bin/paraFoam: line 326: paraview: command not found I have yet to find a solution as was wondering if anyone has seen this before and knows what I missed in the setup or what I need to do to correct it. Thank you! |
|
July 16, 2019, 19:39 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Quoting from the page you provided the link:
Quote:
__________________
|
||
July 16, 2019, 21:15 |
|
#3 |
New Member
Josh
Join Date: Jul 2019
Posts: 3
Rep Power: 7 |
Somehow I forgot to add that I did install paraview from the website provided in the readme and created a file named "cavity.foam" in the case directory and still got that error.
|
|
July 17, 2019, 03:25 |
|
#4 |
Member
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 7 |
I use OpenFoam v1812 on Windows. I am also unable to start Paraview from the Ubuntu terminal. I use Paraview 5.6.0 for Windows (launch it from the Windows icon).
Last edited by ingraban; July 17, 2019 at 09:57. |
|
July 17, 2019, 19:44 |
|
#5 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Wow! This is one of those interesting perspective problems, where the brain can fill in the gaps when data is missing... the website does have a critical typo, where:
Quote:
edit: Done: https://develop.openfoam.com/Develop...us/issues/1377
__________________
Last edited by wyldckat; July 17, 2019 at 19:54. Reason: see "edit:" |
||
July 18, 2019, 22:47 |
|
#6 | |
New Member
Josh
Join Date: Jul 2019
Posts: 3
Rep Power: 7 |
Quote:
|
||
July 19, 2019, 01:20 |
|
#7 | |
New Member
Akash Patel
Join Date: Dec 2018
Location: Champaign, IL, USA
Posts: 20
Rep Power: 8 |
Quote:
Try using "paraFoam -builtin" command. The best thing about this command is that it creates temporary .foam file automatically and clean up that file after closing paraview. |
||
July 21, 2019, 21:54 |
|
#8 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Code:
paraFoam -builtin -touch |
||
December 11, 2019, 09:59 |
|
#9 |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
||
December 12, 2019, 05:46 |
|
#10 |
Member
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 7 |
Actually, I don't know . During installation, I followed youtube tutorial and installed a Ubuntu App (by Canonical Group Limited) on Windows 10. So far, it works fine. And OpenFoam is not even significantly slower than my colleague's installation on Ubuntu.
|
|
December 12, 2019, 08:43 |
|
#11 |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
Yes, that's WSL and by default graphical applications cannot run there.
However, there are two options to run Paraview. 1. Install Paraview on Windows: after completion of simulation by openFoam, run: Code:
foamToVTK Code:
cd /mnt/c/ Code:
C:/Users/your...user.../Appdata/local/packages/Canonical.../LocalState/rootfs Code:
echo "export DISPLAY=:0" >> ~/.bashrc Code:
. ~/.bashrc Now once simulations in openFoam are completed run: Code:
paraFoam Hope this helps... |
|
December 12, 2019, 09:26 |
|
#12 |
Member
Ingo Riess
Join Date: Jun 2019
Location: Switzerland
Posts: 40
Rep Power: 7 |
Hi mm66, thank you for responding, but I did not ask the original question. My installation of ParaView for Windows is working fine. Still, your posting will be helpful to other users, I'm sure.
|
|
December 12, 2019, 09:28 |
|
#13 |
Member
Join Date: Mar 2019
Posts: 81
Rep Power: 7 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 06:40 |
Updated native OpenFOAM reader for ParaView 5.3 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 4 | July 13, 2017 11:14 |
Difference between OpenFOAM on Centos 7 and On Windows 10 (cygwin) | JensGoldberg | OpenFOAM Programming & Development | 0 | November 10, 2016 04:30 |
Caelus: fork of OpenFOAM | cnsidero | OpenFOAM Announcements from Other Sources | 7 | November 11, 2014 23:55 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |