I am trying to install openFoam on Mac OS X 10.10.5 (http://www.openfoam.com/download/install-binary.php) by using Docker-toolbox. I can do without problems all the suggested steps, but then, when I try to run the example included in the installation guide, I cannot open paraFoam, since it returns the following error:
paraview: cannot connect to X server
I have also installed XQuartz but it doesn't seem to help much!
Why don't you get the latest paraview from Kitware. It has a native OpenFOAM reader built-in, which I always use. The only thing you have to do, instead of calling
is to create an empty file with a
foam
extension. Like so:Then you can run start paraview like any other mac application, browse to to the respective case-directory and "open" the empty
foo.foam
file:If you would like to use a command similar to
paraFoam
orparaview
in the command line, then use your command line to change into theParaview.app
and findparaview
, which is the actual executable. Create a symbolic link pointing to that executable. I do the same, since I like to use the latestparaview
instead of the one provided with OpenFOAM.