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

[OpenFOAM.com] paraFoam problem on MacOS after installing openFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2019, 14:24
Question paraFoam problem on MacOS after installing openFoam
  #1
New Member
 
Panos Koniavitis
Join Date: Oct 2017
Posts: 6
Rep Power: 8
PanosK is on a distinguished road
Hi all,

I am fairly new with openFoam and I am trying to find my way through. I have installed the latest version of openFOAM OpenFOAM-v1812 following the guidelines from here:https://www.openfoam.com/download/in...binary-mac.php

The installation was smooth and I was able to run perfectly the cavity tutorial (I can see the progress on the screen and the results in the directory). My problem is when I try to run paraFoam.

What I initially got was (an apparently common problem)
$ paraFoam
$ Created temporary 'cavity.OpenFOAM'
$ QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-ofuser'
$ QXcbConnection: Could not connect to display
$ /opt/OpenFOAM/OpenFOAM-v1812/bin/paraFoam: line 312: 836 Aborted paraview

I then followed the guidelines from here: ParaView command not found

and I now get a problem with some libraries
$ /opt/OpenFOAM/ThirdParty-v1812/platforms/linux64Gcc/ParaView-5.6.0/lib/paraview: error while loading shared libraries: libmpi.so.12: cannot open shared object file: No such file or directory

Do I need these mpi libraries for this?

thanks a lot in advance!

Panos
PanosK is offline   Reply With Quote

Old   March 6, 2019, 19:38
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick note: For future reference, PanosK found the answer in this post: QXcbConnection: Could not connect to display :0 - post #5.
__________________
wyldckat is offline   Reply With Quote

Old   April 26, 2021, 20:34
Default I cannot run paraFoam in Mac OSX
  #3
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 118
Rep Power: 15
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
Code:
6451c6a70cbf: ~>> cd run/
6451c6a70cbf: run>> cd rivuletPanel/
6451c6a70cbf: rivuletPanel>> paraFoam
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-openfoam'
qt.qpa.screen: QXcbConnection: Could not connect to display 192.168.15.17:0
Could not connect to any X display.
I tried to run paraFoam but got message above.
aerothermal is offline   Reply With Quote

Old   April 27, 2021, 02:55
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by aerothermal View Post
Code:
6451c6a70cbf: ~>> cd run/
6451c6a70cbf: run>> cd rivuletPanel/
6451c6a70cbf: rivuletPanel>> paraFoam
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-openfoam'
qt.qpa.screen: QXcbConnection: Could not connect to display 192.168.15.17:0
Could not connect to any X display.
I tried to run paraFoam but got message above.
The 'paraFoam' command is just a simple wrapper script. Just use a native paraview directly.

https://develop.openfoam.com/Develop...raview-plugins
olesen is offline   Reply With Quote

Old   April 27, 2021, 12:53
Default
  #5
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 118
Rep Power: 15
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
Quote:
Originally Posted by olesen View Post
The 'paraFoam' command is just a simple wrapper script. Just use a native paraview directly.

https://develop.openfoam.com/Develop...raview-plugins
Paraview does not open it. The PitzDaily tutorial.
It requires the selection of a reader.
No one works.
aerothermal is offline   Reply With Quote

Old   April 27, 2021, 13:14
Default
  #6
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 118
Rep Power: 15
aerothermal is on a distinguished road
Send a message via Skype™ to aerothermal
Quote:
Originally Posted by olesen View Post
The 'paraFoam' command is just a simple wrapper script. Just use a native paraview directly.

https://develop.openfoam.com/Develop...raview-plugins
Same error in Linux SUSE SLES
aerothermal is offline   Reply With Quote

Old   April 30, 2021, 11:41
Default
  #7
Senior Member
 
aerothermal's Avatar
 
Guilherme da Silva
Join Date: Aug 2010
Location: Sao Paulo - Brazil
Posts: 118
Rep Power: 15
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 1, 2021, 04:05
Default
  #8
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by aerothermal View Post
To use Paraview I had to change the extension .OpenFoam to .foam
Without editing any files
"paraFoam -vtk"
olesen is offline   Reply With Quote

Reply

Tags
parafoam, parafoam paraview error


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 course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 08:51
[OpenFOAM.org] Problem in installing OpenFOAM 2.3.0 !!! omid20110 OpenFOAM Installation 6 August 1, 2016 11:20
[OpenFOAM.org] Problem with GLIBCXX when installing OpenFOAM using ICC compiler huynhthienloc OpenFOAM Installation 2 May 2, 2016 00:12
Problem Installing OpenFOAM at Ubuntu Maralady OpenFOAM Installation 1 August 25, 2013 18:22
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


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