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

How to implement LOG function with PLANT

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2002, 18:08
Default How to implement LOG function with PLANT
  #1
Cheng-Hu Hu
Guest
 
Posts: n/a
Hi,

Could anyone tell me how to input a formula like U1(z)=UTAU/K*LOG(Z/Z0). I tried to input this formula with the PLANT menu, but I got some error message telling me that the LOG is not a stored variable when compiling the GROUND. Is it not a built-in mathematical operator in PLANT? If LOG cannot be recognised by PLANT, what should I do? Please help!

Hu
  Reply With Quote

Old   January 10, 2002, 11:47
Default Re: How to implement LOG function with PLANT
  #2
Sergei Zhubrin
Guest
 
Posts: n/a
The FORTRAN intrinsic functions, such as natural logarithms, should be referenced, in PLANT expressions, by using their specific rather than generic names: ALOG for natural logarithms, ALOG10 for common logarithm, AMAX1 for choosing largest values etc.

Sergei Zhubrin

  Reply With Quote

Old   January 10, 2002, 12:53
Default Re: How to implement LOG function with PLANT
  #3
Cheng-Hu Hu
Guest
 
Posts: n/a
Thank you very much! BTW, is there any on-line documents about the allowable mathematical functions to be used in PLANT? I've got some documents at http://213.210.25.174/phoenics/d_pol...nc/in-form.htm but there are some things contradictory to what can be used. For example, '^' is not accepted by PLANT, and '**' should be used instead for power. Also, there is no explaination about using ALOG instead of LOG. Could you please give me a more comprehensive reference about standard PLANT expressions so that I can follow?

Cheers,

Hu
  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 04:45
Sum in Plant Mehdi BEN HAJ Phoenics 0 December 21, 2006 18:01
WALL FUNCTION: Implement process boling2002 Main CFD Forum 2 June 8, 2004 10:32
about plant galary Phoenics 0 August 9, 2003 07:05
How to use plant? wright Phoenics 3 March 26, 2003 09:23


All times are GMT -4. The time now is 19:15.