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

foamToTecplot360 on mac osx 10.6 SL

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2011, 01:26
Default foamToTecplot360 on mac osx 10.6 SL
  #1
New Member
 
Mohanamuraly
Join Date: May 2009
Posts: 18
Rep Power: 17
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


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
fluent @ Mac OSx ignazio FLUENT 12 July 25, 2017 08:03
OpenFOAM-1.7.x MAC OS X foamToTecplot360 issue haewon OpenFOAM Installation 0 November 14, 2010 03:05
OpenFOAM13 for Mac OSX Darwin 104 hjasak OpenFOAM Installation 70 September 24, 2010 06:06
ParaView and Qt 4.3.5 on Mac OS X 10.6 Adrian OpenFOAM 3 August 8, 2010 04:16
OpenFOAM on mac OSX Nick Colam Main CFD Forum 3 January 27, 2009 01:06


All times are GMT -4. The time now is 03:01.