CEL function tan, atan, asin, acos
Hi,
I am a bit suprised, someone know how to use tan or atan function in CFD POST. "ERROR CCL parser failed with message: Perl Syntax errors detected: Undefined subroutine &CUEPost::asin called at (eval 1528) line 387." Why coudln't we use those functions ? Thanks Mickael |
This is a perl error, not a CEL error. So check your perl syntax.
|
Thanks for your answer but i didn't know where i could make a mistake in my perl,
! $TEST=atan($RATIO); In fact, if i remove atan by sin or cos it works so it's kind of strange. I succed in my task though by using an expression defined as atan... Regards Mickael |
The perl documentation (http://perldoc.perl.org/Math/Trig.html) states you have to have "use Math::Trig;" in your program to load the maths libraries to have the atan function available. The default perl gizmo only supports sin and cos.
|
Thanks a lot
I didn't know it Regards |
All times are GMT -4. The time now is 09:26. |