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

Opensuse paraFoam/paraview docker XDG_RUNTIME_DIR not set

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2021, 18:04
Question Opensuse paraFoam/paraview docker XDG_RUNTIME_DIR not set
  #1
New Member
 
Georg Pingen
Join Date: Jan 2021
Posts: 1
Rep Power: 0
gpingen is on a distinguished road
I am new to OpenFoam and have it installed on 2 computers. A laptop running Opensuse 15.2 and a Desktop running Opensuse 15.1. The sample problem - pitzDaily - works fine on the laptop, but on the Desktop I get the following error when using paraFOAM:


d3bb8fa69348: pitzDaily>> paraFoam
Created temporary 'pitzDaily.OpenFOAM'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-openfoam'
No protocol specified
qt.qpa.screen: QXcbConnection: Could not connect to display :0
Could not connect to any X display.



I can look at the results in paraview if I run "foamToVTK" and exit docker (all works fine then), but it would be convenient to have it work from within docker.



Any suggestions would be great. I found a few similar posts but none that seemed to directly solve this issue. Thanks,
Georg
gpingen is offline   Reply With Quote

Old   January 20, 2021, 09:18
Default
  #2
New Member
 
Lei Dai
Join Date: Jan 2021
Posts: 1
Rep Power: 0
ld519 is on a distinguished road
Hi, Georg,


I met the same problem using the docker version openfoam.


I still cannot find a way to enable the command 'paraFoam', but I found an alternative way to use paraview.


After meshing, calculating, you can creat a '.foam' file using command:


touch case1.foam


Then, open your paraview manually and find this file. You can now see the results of your calculation.


Hope this helps.


Lei
ld519 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
Ansys Installation on Docker Container mohsen.shiea ANSYS 11 March 14, 2024 11:18
[OpenFOAM.com] v1612+ Problems with Docker container on OpenSUSE 42.1 crazzy.pirate43 OpenFOAM Installation 0 February 21, 2017 11:33
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker rt08 OpenFOAM Installation 1 February 28, 2016 19:00
Ansys SIG$ILL error loth ANSYS 3 December 24, 2015 05:31
Help with GNUPlot Renato. Main CFD Forum 6 June 6, 2007 19:51


All times are GMT -4. The time now is 02:24.