|
[Sponsors] |
January 8, 2002, 18:08 |
How to implement LOG function with PLANT
|
#1 |
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 |
|
January 10, 2002, 11:47 |
Re: How to implement LOG function with PLANT
|
#2 |
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 |
|
January 10, 2002, 12:53 |
Re: How to implement LOG function with PLANT
|
#3 |
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 |
|
|
|
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 |