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

foamToTecplot360 on mac osx 10.6 SL

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 27, 2011, 00:26
Default foamToTecplot360 on mac osx 10.6 SL
  #1
New Member
 
Mohanamuraly
Join Date: May 2009
Posts: 16
Rep Power: 7
mohanamuraly is on a distinguished road
Most of the pre-compiled binaries of OF for mac cannot execute foamToTecplot360 due to linking error. It can be fixed by the following procedure.

1) Go to the directory (I assume that the OF base path is $OF_PATH )

cd $OF_PATH/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/

2) Now open the Runmake file in this directory
vim Runmak

3) Now replace lines 75-80 with the lines shown below:
case $Platname in
mac*) CCOMP=g++
FINALCFLAGS="-DDARWIN -DLONGIS64 -I/usr/X11R6/include"
STRIPFLAG=-Wl,-x
LINKFLAGS="-shared"
;;
4) Now execute Runmake and select mac in the list of options and choose "Make tecio.a only"

5) You should see that g++ compiles some files and if it exists without any error then go to the next step.

6) now step into the folder tecsrc
cd tecsrc

7) Now type the following command
g++ -shared *.o -o $FOAM_LIBBIN/libtecio.dylib

Now you should be able to use foamToTecplot360 on your mac 10.6 SL. Make sure you have installed the latest Apple Developer Tools.


Njoy,


--

Pavanakumar Mohanamuraly
mohanamuraly is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fluent @ Mac OSx ignazio FLUENT 11 March 20, 2014 07:17
OpenFOAM-1.7.x MAC OS X foamToTecplot360 issue haewon OpenFOAM Installation 0 November 14, 2010 02:05
OpenFOAM13 for Mac OSX Darwin 104 hjasak OpenFOAM Installation 70 September 24, 2010 05:06
ParaView and Qt 4.3.5 on Mac OS X 10.6 Adrian OpenFOAM 3 August 8, 2010 03:16
OpenFOAM on mac OSX Nick Colam Main CFD Forum 3 January 27, 2009 00:06


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