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

Build OpenFOAM on MacOSX

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 21, 2008, 05:39
Default hi, I have a macintosh and
  #101
Senior Member
 
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 7
mgz1985 is on a distinguished road
hi,

I have a macintosh and luckily openfoam-1.4.1 is running good on it. but i need to solve for lift and drag on a 2-d airfoil and the liftDrag solver is not there in my postprocessing utilities or src directory.

I wrote a code and wanted to add it to the utility but am unable to do so. It says the openfoam-1.4.1 can not be modified. Could anyone please tell me how to solve this problem?

thanx a lot.
mgz1985 is offline   Reply With Quote

Old   July 21, 2008, 06:42
Default There are many ways to skin th
  #102
egp
Senior Member
 
egp's Avatar
 
Eric Paterson
Join Date: Mar 2009
Location: Blacksburg, VA
Posts: 196
Blog Entries: 1
Rep Power: 8
egp is on a distinguished road
There are many ways to skin the cat, however, none of them have anything to do specifically with MacOSX (this really belongs in a force/moment/liftDrag/forceAndTorque/forces/forceCoeffs thread). Anyway, you can do the following:

1. write your own code

2. download the liftDrag class and the liftDrag post-processor from the forum. I think this stuff is from 1.2 vintage OF.

3. download and compile 1.4.1-dev from the openfoam-extend project. This includes forceAndTorque class which is compiled into a library ($(FOAM_LIBBIN)/libincompressiblePostProcessing) and can be called at runTime in the controlDict.

4. download and compile 1.5. This includes force and forceCoeffs classes which are compiled into a library ($(FOAM_LIBBIN)/libforces) which gives the same capability as was provided in 1.4.1-dev.

Eric
egp 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
OpenFOAM 15 icc build mschoenberg OpenFOAM Installation 4 October 2, 2008 00:09
How can I build OpenFOAM in cygwin joywe OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 10 September 12, 2008 09:39
OpenFOAM 14 Parallel build mplongjr OpenFOAM Installation 3 May 15, 2007 03:32
OpenFOAM build from source instructions tj22 OpenFOAM Installation 7 April 6, 2006 16:15
Build OpenFOAM on Tru64 francois OpenFOAM Installation 18 April 4, 2006 05:45


All times are GMT -4. The time now is 12:28.