CFD Online Logo CFD Online URL
Home > Forums > Phoenics

How to use LN or LOG functions in PLANT command?

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

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


  Reply With Quote

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


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


Thread Tools
Display Modes

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

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 06:05

All times are GMT -4. The time now is 21:28.