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

[PyFoam] Using pyFoamPlotWatcher.py To Plot Residuals

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2021, 05:01
Default
  #21
New Member
 
Join Date: Dec 2020
Posts: 26
Rep Power: 6
OlivierM is on a distinguished road
Many thanks Bernhard !
I was unable to remove all these files but uninstalling/resinstalling pyFoam was enough to take this step.

Now I have a new problem which seems about gnuplot:
Code:
$ pyFoamPlotRunner.py simpleFoam
PyFoam WARNING on line 37 of file /usr/local/lib/python3.8/dist-packages/PyFoam-2020.5-py3.8.egg/PyFoam/Infrastructure/ServerBase.py : No certficate file (...) no SSL-connection (...)

gnuplot: unable to open display ':0'
gnuplot: X11 aborted.
gnuplot-x11 is installed
Terminal type is 'wxt'

do you have any idea about what could be wrong ?
OlivierM is offline   Reply With Quote

Old   January 26, 2021, 18:32
Default
  #22
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by OlivierM View Post
Many thanks Bernhard !
I was unable to remove all these files but uninstalling/resinstalling pyFoam was enough to take this step.

Now I have a new problem which seems about gnuplot:
Code:
$ pyFoamPlotRunner.py simpleFoam
PyFoam WARNING on line 37 of file /usr/local/lib/python3.8/dist-packages/PyFoam-2020.5-py3.8.egg/PyFoam/Infrastructure/ServerBase.py : No certficate file (...) no SSL-connection (...)

gnuplot: unable to open display ':0'
gnuplot: X11 aborted.
gnuplot-x11 is installed
Terminal type is 'wxt'

do you have any idea about what could be wrong ?

X11 is a server-client protocol. The program is the client. It needs a program that does the actual drawing: the X11-server (on Unix this is running on every machine that has a GUI because it draws the GUI). Seems that such a program is not running on your machine
Don't know what is the recommended X-server on windows nowadays
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   January 26, 2021, 19:48
Default
  #23
Member
 
Petros Ampatzidis
Join Date: Oct 2018
Location: Bath, UK
Posts: 64
Rep Power: 8
petros is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Don't know what is the recommended X-server on windows nowadays
Xming still does the job for me with v2006 but I would be interested to know if there are better X-servers out there.

Best,
Petros

Last edited by petros; January 26, 2021 at 19:53. Reason: typo
petros 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
[Tutorials] Tutorial of how to plot residuals ! wolle1982 OpenFOAM Community Contributions 172 December 6, 2024 07:20
How to plot residuals vs iterations using pyFoam... ata313ata Visualization & Post-Processing 1 February 6, 2018 05:34
Plot the residuals over all the domain Douglas OpenFOAM Post-Processing 0 June 27, 2017 17:01
plot residuals pigna OpenFOAM Running, Solving & CFD 2 December 19, 2014 03:32
How to plot residuals of all iterations in Fluent FJSJ FLUENT 4 September 20, 2013 10:47


All times are GMT -4. The time now is 15:12.