CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Plotting residuals with PyFoam - problem (https://www.cfd-online.com/Forums/openfoam-solving/246246-plotting-residuals-pyfoam-problem.html)

SucoDeUva November 22, 2022 00:04

Plotting residuals with PyFoam - problem
 
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 November 26, 2022 16:14

Solution
 
Hello, I found that this was a problem of connection with X11.

This post was useful: #https://superuser.com/questions/1476...open-display-0


All times are GMT -4. The time now is 14:33.