CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   Can Fluent deal with complex number? (http://www.cfd-online.com/Forums/fluent/36929-can-fluent-deal-complex-number.html)

demigod June 12, 2005 23:50

Can Fluent deal with complex number?
 
Can fluent(udf) calculate the complex number as following: (1+i)^(1/3)?

does it work? pow(1.0+i,1.0/3.0)?

Thanks.

And how can I get the real part of a complex number in udf?

Luca June 13, 2005 03:52

Re: Can Fluent deal with complex number?
 
If you use scheme language the answer is yes. If you want to write a UDF you can add external libraries. Luca

demigod June 27, 2005 03:53

Re: Can Fluent deal with complex number?
 
Thanks a lot


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