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

Plotting residuals with PyFoam - problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 22, 2022, 01:04
Post Plotting residuals with PyFoam - problem
  #1
New Member
 
Join Date: Nov 2022
Posts: 4
Rep Power: 4
SucoDeUva is on a distinguished road
Hello,

I already successfully plotted the residuals with OpenFOAM in another day, but today while doing the "shockTube" tutorial, it started not working.
I used the command:
Code:
pyFoamPlotRunner.py sonicFoam
It's started solving and then, in the terminal, it's showed:
Code:
gnuplot: unable to open display ''
gnuplot: X11 aborted.

gnuplot: unable to open display ''
gnuplot: X11 aborted.

gnuplot> lot "/tmp/tmpszkg6g_u.gnuplot" title "Ux" with lines, "/tmp/tmpe9gyt7rf.gnuplot" title "e" with lines, "/tmp/tmpco5095j7.gnuplot" title "p" with lines, "/tmp/tmp__1r846a.gnuplot" title "rho" with lines
         ^
         line 0: invalid command


gnuplot> lot "/tmp/tmpo0uryzif.gnuplot" title "Cumulative" with lines, "/tmp/tmpzdz131k6.gnuplot" axes x1y2 title "Global" with lines
         ^
         line 0: invalid command
I guess that it's should be "plot", and not "lot", maybe some error in the gnuplot command, I don't know...

Could someone help me?
SucoDeUva is offline   Reply With Quote

Old   November 26, 2022, 17:14
Thumbs up Solution
  #2
New Member
 
Join Date: Nov 2022
Posts: 4
Rep Power: 4
SucoDeUva is on a distinguished road
Hello, I found that this was a problem of connection with X11.

This post was useful: #https://superuser.com/questions/1476...open-display-0
SucoDeUva is offline   Reply With Quote

Reply

Tags
gnuplot, plot, pyfoam


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
The problem with my pimpleFoam residuals mostanad OpenFOAM Running, Solving & CFD 1 June 20, 2021 04:43
[PyFoam] Installing PyFoam from pip, can't tell if its installed correctly? EternalSeekerX OpenFOAM Community Contributions 0 June 6, 2021 21:23
CFD plotting problem. Please help!! :( lucbutt STAR-CCM+ 1 May 23, 2017 05:51
[PyFoam] writeFile problem with PyFoam ganeshv OpenFOAM Community Contributions 3 August 20, 2012 18:07
Residuals problem tomloh OpenFOAM Running, Solving & CFD 2 July 26, 2012 18:25


All times are GMT -4. The time now is 11:29.