|
[Sponsors] |
January 23, 2013, 09:57 |
where can I find functions definition in OF?
|
#1 |
Member
Ali Khalifesoltani
Join Date: Mar 2011
Location: Esfahan, Iran
Posts: 56
Rep Power: 14 |
Hello guys,
I wanna see some function definitions in KEpsilon.C, but I don't know where it is. I'v also searched in the OpenFoam.org 's C++ source guide but it was not useful. I would be grateful if anybody could help me. Thanks in advance. |
|
January 23, 2013, 11:14 |
|
#3 |
Member
Ali Khalifesoltani
Join Date: Mar 2011
Location: Esfahan, Iran
Posts: 56
Rep Power: 14 |
Hello Hisham,
I mean the code implementation. There is lots of functions I would like to see their code, but for instance how I could find the DkEff() implementation. The function is used in KEpsilon.C. Thanks |
|
January 23, 2013, 14:05 |
|
#4 | |
Senior Member
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 16 |
Quote:
Definition at line 185 of file kEpsilon.C. the kEpsilon.C link will take you to: http://foam.sourceforge.net/docs/cpp/a08551_source.html |
||
January 23, 2013, 15:00 |
|
#5 |
Member
Ali Khalifesoltani
Join Date: Mar 2011
Location: Esfahan, Iran
Posts: 56
Rep Power: 14 |
But line 185 of the link that you mentioned doesn't point to the implementation of the DkEff() function. This function is declared at line 253 of kEpsilon.C & its implementation should be in another class I think. and when I click on the function colored in blue (at line 253), the opened page doesn't show me the function's code.
Thanks for your reply man |
|
January 23, 2013, 15:43 |
|
#6 | |
Senior Member
mahdi abdollahzadeh
Join Date: Mar 2011
Location: Covilha,Portugal
Posts: 153
Rep Power: 15 |
Quote:
you could find the definition in Definition at line 129 of file kEpsilon.H. Cheers mahdi |
||
January 23, 2013, 16:55 |
|
#7 |
Senior Member
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 16 |
@ mahdi .. thanks
@ all: Sorry .. I just meant to tell you that the file is accessible from such lines that says definition at line .... I hope this wasn't confusing ... You can also find the function in your computer by going to the source code directory and typing: Code:
grep -iIr "DkEff" . and then use Ctrl+f to search for the function inside the file after you open it with your text editor Hisham |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wall functions for near wall treatment : k - epsilon model | fivos | Main CFD Forum | 4 | April 27, 2011 08:44 |
Need help to use Hermite basis functions | Vasilis | Main CFD Forum | 8 | October 29, 2009 14:26 |
Wall functions | tutlhino | OpenFOAM Pre-Processing | 0 | July 2, 2007 06:04 |
When I use the wall functions....! | maximus | Main CFD Forum | 7 | January 20, 2003 10:35 |
N-S equations:divergence free functions? | D. Puigjaner | Main CFD Forum | 1 | July 27, 2000 13:43 |