# How to use LN or LOG functions in PLANT command?

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 8, 2003, 04:25 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

 May 9, 2003, 12:30 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 LOGP=ALOG10(P1) 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.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Gaurav Bagadia FLUENT 0 March 10, 2007 04:45 Prasad Dudhgaonkar FLUENT 0 March 8, 2007 16:27 Mehdi BEN HAJ Phoenics 0 December 21, 2006 18:01 Pr Main CFD Forum 0 March 22, 2004 03:17 galary Phoenics 0 August 9, 2003 06:05

All times are GMT -4. The time now is 20:17.