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

ParaView Error When Trying to Open on Terminal

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2020, 21:41
Post ParaView Error When Trying to Open on Terminal
  #1
New Member
 
Mostafa Seif
Join Date: Feb 2020
Posts: 5
Rep Power: 6
ValyrianSeif is on a distinguished road
Hi

I'm new to openFOAM.


I downloaded the ubunto app from MS Store, and I was able to "run" the cavity tutorial by getting into the tutorial directory on the bash terminal and writing "blockMesh" then "icoFoam" and that's it.

My problem now is that I'm unable to post-process the tutorial results.

When I write "paraFoam" I get this error:
Invalid $PV_PLUGIN_PATH and -plugin-path= not defined
No supplementary Paraview/OpenFOAM reader modules
Using builtin reader: parafoam -vtk
/opt/OpenFOAM/OpenFOAM-v2006/bin/paraFoam: 420: /opt/OpenFOAM/OpenFOAM-v2006/bin/paraFoam: paraview: not found


After trying to resolve that error by searching on google and forums to be able to open paraview through terminal, I gave up, I didn't find a systematic solution for what I'm dealing with.

So I wanted to open paraView from its own executable and manually opening the results......but I can't do that because I can't find the folders and files on my Windows Explorer of the case, I can't find the 0, system and constant folders or the results 0 , 0.1, 0.2...etc folders.

I know these issues might be obvious for OF users but I'm unable to get my head around what's going on and why these errors are happening.

Please help me out if you can.
ValyrianSeif is offline   Reply With Quote

Old   July 30, 2020, 06:43
Default
  #2
New Member
 
bestucan's Avatar
 
Tu Can
Join Date: Jul 2017
Location: China
Posts: 16
Rep Power: 9
bestucan is on a distinguished road
ubuntu in MS store don't have GUI support. so, even you have a correct paraview package, you cannot open it in terminal. of course, the way is:
Code:
sudo apt install paraview
then use touch create a blank file name with *.foam in case folder.
use paraview to open that *.foam file

if you want use GUI in the linux. install Xming in win and search the way to configure it.

-----------------------------------------------------------------
you cannot just operate the file in win explorer. it's risk.
copy or move the file in your linux system to /mnt/c, /mnt/d, /mnt/e.
you'll find the file in your win explorer. c:/ d:/ e:/
bestucan is offline   Reply With Quote

Old   July 30, 2020, 15:43
Default
  #3
New Member
 
Mostafa Seif
Join Date: Feb 2020
Posts: 5
Rep Power: 6
ValyrianSeif is on a distinguished road
I tried to install the Xming but I got whole new errors..

However, the cp command worked and I was able to manually open the results on ParaView as you suggested. Thank you so much.
ValyrianSeif is offline   Reply With Quote

Old   July 30, 2022, 05:11
Default explorer
  #4
New Member
 
Haitham Osman
Join Date: Jan 2020
Posts: 6
Rep Power: 6
Haitham Osman CFD is on a distinguished road
Try using (explorer.exe .) to open your directory in your windows system.
Haitham Osman CFD is offline   Reply With Quote

Reply


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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 15:30
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 04:50
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50


All times are GMT -4. The time now is 21:55.