CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Phoenics

How to use LN or LOG functions in PLANT command?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2003, 04:25
Default How to use LN or LOG functions in PLANT command?
  #1
Bryan Lam
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
  Reply With Quote

Old   May 9, 2003, 12:30
Default Re: How to use LN or LOG functions in PLANT comman
  #2
John Ludwig, CHAM
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.
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CWM Plant. Gaurav Bagadia FLUENT 0 March 10, 2007 03:45
Execute Command with Custom Field Functions Prasad Dudhgaonkar FLUENT 0 March 8, 2007 15:27
Sum in Plant Mehdi BEN HAJ Phoenics 0 December 21, 2006 17:01
damping functions(wall functions) Pr Main CFD Forum 0 March 22, 2004 02:17
about plant galary Phoenics 0 August 9, 2003 06:05


All times are GMT -4. The time now is 14:03.