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

[OpenFOAM.com] paraFoam Failing to Get Current Screen Resources

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 20, 2019, 16:21
Default paraFoam Failing to Get Current Screen Resources
  #1
New Member
 
Alec
Join Date: Feb 2019
Posts: 1
Rep Power: 0
Huwinner is on a distinguished road
Hello!


I'm pretty new to Ubuntu and Openfoam, and I am currently trying to get the first Openfoam tutorial to work.



I am running Ubuntu 18.04 on Windows 10, Openfoam6, Paraview5.4/5.6 (more on this later), and I have Xming installed for displaying a GUI when I use paraFoam command



I have followed the instructions for installation from the Openfoam website, and everything about Openfoam seems to work nicely: blockMesh and simpleFoam both work perfectly.

However, when I use the command "paraFoam" it returns this:

Code:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-neil'
failed to get the current screen resources
Xlib:  extension "MIT-SHM" missing on display "localhost:0.0".
I trolled around on these forums and found this from a post in January:


paraview 5.6 on Ubuntu 18.04 (Windows 10 WSL)



This user has the same problem as I, and another user responds saying:


Quote:
I feel like I must apologize for allowing this to happen, but I haven't had time to contribute in order to avoid from this happening in the first place

The simplest solution is to go back in time, namely to install an older OpenFOAM 6 Deb package that still binds to ParaView 5.4.0, until this issue is sorted out. This can be done with the following commands:
If I am correct, he is saying that Paraview 5.6 does not work with Openfoam 6?



I followed his instructions, replacing paraviewopenfoam56 with paraviewopenfoam54; however, if I try to run paraFoam I get this:



Code:
FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PVReaders
./Allwclean
./Allwmake
I then did

Code:
 paraFoam -builtin
which returned
Code:
Created temporary 'pitzDaily.foam'
/opt/openfoam6/bin/paraFoam: 278: /opt/openfoam6/bin/paraFoam: paraview: not found
I have spent many hours troubleshooting with Ubuntu and Openfoam as a new user, and this seems to be the final challenge to overcome! I would really appreciate any help on this topic.

Thanks!
Huwinner is offline   Reply With Quote

 

Tags
openfoam, openfoam 6, paraview 5.6


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
Current density visualisation (PEM fuel cell add-on module) pchoopanya FLUENT 10 August 21, 2023 14:33
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) AndreP STAR-CCM+ 10 August 2, 2018 07:48
[OpenFOAM.com] paraFoam cannot open due to Qt issues - [Solved/Information] u2berggeist OpenFOAM Installation 2 July 2, 2018 17:03
Dynamic_cast failing while postprocessing with paraFoam gschaider OpenFOAM Bugs 3 August 20, 2010 16:37
paraFoam / paraview black screen gfilip OpenFOAM 6 July 13, 2009 04:30


All times are GMT -4. The time now is 04:07.