|
[Sponsors] |
January 28, 2024, 07:08 |
GnuPlot does not work.
|
#1 |
New Member
Ashraf Khlaed
Join Date: Jan 2024
Posts: 2
Rep Power: 0 |
Hello colleagues,
I want to plot the residual of my Openfoam case by using pyFoamPlotWacher command but unfortunately, it didn't plot anything after I wrote the command it gave me many lines but I found these lines may be the reason for the problem, any suggestions to solve it? ----------------------------------------------------------- ashraf$ pyFoamPlotWatcher.py log.icoFoam gnuplot: unable to open display '' gnuplot: X11 aborted. gnuplot: unable to open display '' gnuplot: X11 aborted. gnuplot: unable to open display '' gnuplot: X11 aborted. gnuplot: unable to open display '' gnuplot: X11 aborted. gnuplot: unable to open display '' gnuplot: X11 aborted. |
|
January 28, 2024, 07:22 |
|
#2 |
Senior Member
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5 |
What Operating system are you using?
__________________
Don't keep making the same mistakes. Try to make new mistakes. |
|
January 29, 2024, 02:44 |
|
#3 |
New Member
Ashraf Khlaed
Join Date: Jan 2024
Posts: 2
Rep Power: 0 |
i am using windows 11 as an operating system and, Ubuntu is running using Windows sup system for Linux.
|
|
January 29, 2024, 05:02 |
|
#4 |
Senior Member
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5 |
GUI apps should work under WSL2 on Windows 11.
Please take a look at this thread: https://askubuntu.com/questions/1397...pen-x11-window gnuplot under the hood, run this command: Code:
export DISPLAY="$(hostname).local:0.0" pyFoamPlotWatcher.py log.icoFoam https://develop.openfoam.com/Develop...x11-within-wsl I hope this helps
__________________
Don't keep making the same mistakes. Try to make new mistakes. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with gnuplot | saeed jamshidi | OpenFOAM Pre-Processing | 1 | November 1, 2023 11:32 |
Using gnuplot to plot probe data | Rotidpor | OpenFOAM | 3 | March 9, 2022 05:44 |
How to access gnuplot from OpeanFOAM v2106 on macOS? | atav | OpenFOAM | 0 | November 11, 2021 11:53 |
Companies that lease software & hardware for cloud-based work? | Catthan | ANSYS | 0 | June 18, 2014 10:53 |
Do all CFD analysts have to do some hands-on work except PhDs? | e13drd | Main CFD Forum | 2 | March 17, 2014 14:56 |