Cannot connect to X server using docker on OSX

前端 未结 1 1321
误落风尘
误落风尘 2021-01-21 10:38

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 s

相关标签:
1条回答
  • 2021-01-21 11:14

    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

    paraFoam
    

    is to create an empty file with a foam extension. Like so:

    touch foo.foam
    

    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:

    paraview foo.foam
    

    If you would like to use a command similar to paraFoam or paraview in the command line, then use your command line to change into the Paraview.app and find paraview, which is the actual executable. Create a symbolic link pointing to that executable. I do the same, since I like to use the latest paraview instead of the one provided with OpenFOAM.

    0 讨论(0)
提交回复
热议问题