|
[Sponsors] |
June 20, 2013, 17:58 |
where are the compiled executables?
|
#1 |
New Member
Y
Join Date: Feb 2013
Location: The Earth
Posts: 25
Rep Power: 13 |
hi guys,
i learned that one can compile solver in a applications/solvers folder, with wmake. and then use the compiled solvers in cases. my question is, i was looking for the compiled exe file like icoFoam, but i only find the source code in .C. but in the cavity tutorial i already used icofoam. could someone tell me how this work? my second question, i did not find in bashrc file something about icoFoam, so how does this work, that when i type icoFoam, this solver is executed? yo see i m a beginner, thanks for help. peter |
|
June 21, 2013, 03:08 |
|
#2 | ||
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
Quote:
/opt/openfoam220/platforms/linuxGccDPOpt/bin ofcourse i assumed you installed your OpenFOAM on opt folder Quote:
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|||
June 21, 2013, 04:44 |
|
#3 |
Senior Member
Markus Rehm
Join Date: Mar 2009
Location: Erlangen (Germany)
Posts: 184
Rep Power: 17 |
Hi Peter,
the .bashrc is a script which sets your environment variables where your system looks for the executables. To see where the icoFoam executable hides you can use the command which icoFoam Also the last line of a successful wmake-compilation gives you the full path to the produced executable. Consider reading more about shell programming or read a bash tutorial. Markus |
|
June 21, 2013, 05:13 |
|
#4 |
New Member
Y
Join Date: Feb 2013
Location: The Earth
Posts: 25
Rep Power: 13 |
Thanks, I got it.
|
|
Tags |
compile |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compiled library vs. inInclude Files, DSMC solver crashes after run | GPesch | OpenFOAM Programming & Development | 8 | April 18, 2013 08:17 |
Using compiled UDF:s in different Fluent versions | S H | FLUENT | 1 | September 12, 2007 04:40 |
how to compile compiled UDF? | AVINASH | FLUENT | 3 | January 19, 2007 05:04 |
.F compiled on Winnt works, but on AIX doesn't | Daiga | CFX | 11 | May 9, 2006 08:44 |
DEFINE_CG_MOTION Interpreted or Compiled? | Aussie Shane | FLUENT | 0 | April 20, 2006 05:50 |