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

paraFoam not working in Linux and Mac OSX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2021, 17:47
Default paraFoam not working in Linux and Mac OSX
  #1
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
Code:
df4ba1fef5ae: ~>> ls
0  100	200  287  Allrun  constant  postProcessing  system
df4ba1fef5ae: ~>> paraFoam -touchAll
Created 'openfoam.blockMesh'
Created 'openfoam.OpenFOAM'
df4ba1fef5ae: ~>> ls
0    200  Allrun    openfoam.OpenFOAM	postProcessing
100  287  constant  openfoam.blockMesh	system
df4ba1fef5ae: ~>> paraFoam
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-openfoam'
qt.qpa.screen: QXcbConnection: Could not connect to display localhost:11.0
Could not connect to any X display.
I am getting same error in linux and Mac OSX. How can I fix that and use paraFoam properly?

my linux is SUSE SLES 15 and Mac OSX is Big Sur
aerothermal is offline   Reply With Quote

Old   April 30, 2021, 12:44
Default
  #2
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
I managed to make paraFoam work in MacOSx after the installation of Paraview. Now I can use Paraview or ParaFoam.

ParaFoam is slower than Paraview.

To use Paraview I had to change the extension .OpenFoam to .foam

However, in SUSE SLES 15 Paraview does not work after installation. It appears to be a conflict between the OpenGL in the software and the NVIDIA driver of the OS.

And I cannot install the new driver from NVIDIA because it says that GUI or NVIDIA persistenced or smi is being used.
aerothermal is offline   Reply With Quote

Old   May 2, 2021, 15:11
Default
  #3
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by aerothermal View Post
I managed to make paraFoam work in MacOSx after the installation of Paraview. Now I can use Paraview or ParaFoam.

ParaFoam is slower than Paraview.

To use Paraview I had to change the extension .OpenFoam to .foam

However, in SUSE SLES 15 Paraview does not work after installation. It appears to be a conflict between the OpenGL in the software and the NVIDIA driver of the OS.

And I cannot install the new driver from NVIDIA because it says that GUI or NVIDIA persistenced or smi is being used.
https://develop.openfoam.com/Develop...raview-plugins
olesen is offline   Reply With Quote

Old   May 2, 2021, 19:04
Default
  #4
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 120
Rep Power: 16
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
Quote:
Originally Posted by olesen View Post
Running paraFoam gave it to me

Code:
9205e89d4ddb: pitzDaily>> paraFoam --vtk
Created temporary 'pitzDaily.OpenFOAM'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-openfoam'
qt.qpa.screen: QXcbConnection: Could not connect to display localhost:11.0
But the problem is with paraview itself not paraFoam

Code:
(base) ats4i@jedha:~/OpenFOAM> paraview
(   4.518s) [paraview        ]vtkXOpenGLRenderWindow.:637    ERR| vtkXOpenGLRenderWindow (0x56471b898d80): Cannot create GLX context.  Aborting.

Loguru caught a signal: SIGABRT
aerothermal 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
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker rt08 OpenFOAM Installation 1 February 28, 2016 20:00
[foam-extend.org] FOAM on Windows, Linux and Mac hjasak OpenFOAM Installation 7 January 24, 2016 07:54
[General] Mac Os x system can't connect to X server when using ssh to access Linux system Ivy Zhou ParaView 2 September 30, 2013 11:21
Preference: OF 2.1.1 on Mac or Linux? BCD OpenFOAM Installation 4 September 17, 2012 10:31
gcc and executable file from Mac to Linux simone Marras Main CFD Forum 0 April 8, 2007 16:49


All times are GMT -4. The time now is 16:47.