|
[Sponsors] |
How to use LN or LOG functions in PLANT command? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 8, 2003, 05:25 |
How to use LN or LOG functions in PLANT command?
|
#1 |
Guest
Posts: n/a
|
Hi, all,
Anyone knows how to use the mathmatical functions of LN or LOG in plant menu? It seems that PLANT can't identify these commands from my experiences. And another question is, can i define the K /e value of the inlet boundary conditions in PLANT menu? And should i use ONLYMS(i think we should use this) or FIXFLU as the third arguement of COVAL? Thanks. Bryan |
|
May 9, 2003, 13:30 |
Re: How to use LN or LOG functions in PLANT comman
|
#2 |
Guest
Posts: n/a
|
PLANT turns the expressions into FORTRAN, so if you use the FORTRAN functions ALOG10 for LOG and ALOG for LN it will understand. For example, the following lines added to a Q1:
STORE(LOGP, LNP) PLANTBEGIN NAMSAT=MOSG <SC0601> LOGP=ALOG10(P1) <SC0602> LNP=ALOG(P1) PLANTEND will cause PLANT to put LOG(P1) into LOGP and LN(P1) into LNP. PLANT can be used to set inlet values of any solved variables, including KE and EP. The third argument of COVAL should definitely be ONLYMS. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CWM Plant. | Gaurav Bagadia | FLUENT | 0 | March 10, 2007 04:45 |
Execute Command with Custom Field Functions | Prasad Dudhgaonkar | FLUENT | 0 | March 8, 2007 16:27 |
Sum in Plant | Mehdi BEN HAJ | Phoenics | 0 | December 21, 2006 18:01 |
damping functions(wall functions) | Pr | Main CFD Forum | 0 | March 22, 2004 03:17 |
about plant | galary | Phoenics | 0 | August 9, 2003 07:05 |