|
[Sponsors] |
May 30, 2013, 04:45 |
paraFoam Error on Mac 10.8.2 (mountain lion)
|
#1 |
New Member
Mike
Join Date: May 2013
Posts: 1
Rep Power: 0 |
I have a working recompiled OpenFoam on my OSX 10.8.2 (I followed the instructions http://www.optimulation.com/2013/03/...n-lion-10-8-3/)
Then I downloaded the paraview4.0.0 and placed it into my /Applications folder I tried running the cavity test run with the commands in the OpenFoam/OpenFOAM-2.2.0/tutorials/incompressible/icoFoam/cavity directory: Code:
blockMesh (produced initial value input files) icoFoam (produced text results) paraFoam Code:
############################### FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake ############################### When I open up the directory: /OpenFoam-v2.2/applications/utilities/postProcessing/graphics/PV3Readers/ and open the Allwmake executable with a text editor, I found the following content: Code:
############################### #!/bin/sh cd ${0%/*} || exit 1 # run from this directory #set -x if [ -d "$ParaView_DIR" -a -r "$ParaView_DIR" ] then [ -n "$PV_PLUGIN_PATH" ] || { echo "$0 : PV_PLUGIN_PATH not valid - it is unset" exit 1 } # ensure CMake gets the correct C++ compiler [ -n "$WM_CXX" ] && export CXX="$WM_CXX" wmake libso vtkPV3Readers PV3blockMeshReader/Allwmake PV3FoamReader/Allwmake else echo "ERROR: ParaView not found in $ParaView_DIR" fi # ----------------------------------------------------------------- end-of-file ################################# When I echoed these two variables in the terminal, I found them to be empty. Now, there is one source on this forum that I found that is relevant (post #8): http://www.cfd-online.com/Forums/ope...d-problem.html However, when I searched for the mac equivalent folder: /OpenFOAM-2.2.0/platforms/darwininteL64GccDPOpt/lib no paraview-3.12 or any version variation can be found. The closest thing that I was able to find was: /Applications/paraview.app/Contents/MacOS/paraview Now my question is: How do I fix this problem and run paraFoam on OSX? do I simply need the correct paths for the two variables listed? if so, what are they? Please advise. Last edited by wyldckat; October 16, 2013 at 15:11. Reason: Added [CODE][/CODE] |
|
Tags |
mac, mountain lion, openfoam, parafoam, paraview |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
2.1 installation on Mountain Lion help please! | PeteH | OpenFOAM Installation | 4 | April 23, 2013 10:23 |
installation on mac os x lion | achyutan | OpenFOAM Installation | 1 | February 28, 2013 08:15 |
Installing OpenFoam 2.1.1 on OS X 10.8.2 (Mountain Lion) | TomGEO | OpenFOAM Installation | 11 | December 11, 2012 11:08 |
[OpenFOAM] Save animation bug in paraFoam on Mac OSX | deinstein | ParaView | 3 | May 1, 2010 15:29 |