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

paraFoam Error on Mac 10.8.2 (mountain lion)

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By infinitedreamer540

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 30, 2013, 04:45
Default paraFoam Error on Mac 10.8.2 (mountain lion)
  #1
New Member
 
Mike
Join Date: May 2013
Posts: 1
Rep Power: 0
hkmamike is on a distinguished road
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
And this last code is where I have the problem. This produced the error message:

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
###############################
I am aware that the same exact error message has been discussed, but as far as I know, no solution has been provided for mac users.

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

#################################
so apparently the error was produced by the false conditionals involving $ParaView_DIR and $PV_PLUGIN_PATH.

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]
hkmamike is offline   Reply With Quote

 

Tags
mac, mountain lion, openfoam, parafoam, paraview


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
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


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