|
[Sponsors] |
April 13, 2011, 16:43 |
Openfoam mac: Compiling custom libraries
|
#1 |
Member
Ammar Tareen
Join Date: Jan 2011
Location: Boston University
Posts: 61
Rep Power: 15 |
Dear Foamers,
I installed the mac port of openfoam on my imac (OF 1.7.x) and it works like a charm. Can anybody please tell me how I can compile my own libraries on the mac port? i.e. change solvers to my needs and things like that? Please please help, or if you know somebody who has answered this question already, kindly redirect me. I used to the following link to install OF on my mac. http://macof17x.blogspot.com/p/quick-setup.html Warmest regards, Ammar. |
|
April 13, 2011, 17:05 |
|
#2 |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
If you're able to run the tutorial problems, then it should be as simple as editing the solver, then in the solver directory type: "wmake" to compile and then in the case directory of the problem, type the case name.
Normally it's best to copy the solver to your run directory (~/OpenFOAM/user-1.7.x/run) before editing it though. |
|
April 14, 2011, 04:11 |
|
#3 | |
Senior Member
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20 |
Quote:
neewbie |
||
April 14, 2011, 12:01 |
|
#4 |
Member
Ammar Tareen
Join Date: Jan 2011
Location: Boston University
Posts: 61
Rep Power: 15 |
Thank you Benk!
Newbie, actually I have access to all the source code with this mac port and wmake works, so I have feeling the compilation of my own libraries should be similar to compiling OF libraries on a linux. Although I haven't tried it, I'll try it soon and repost. Thank you! |
|
Tags |
mac, openfoammac |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |
Compiling with static libraries tracing OpenFoam | jens_klostermann | OpenFOAM Installation | 2 | September 16, 2008 05:37 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix | mbeaudoin | OpenFOAM Installation | 2 | April 28, 2006 09:54 |