CFD Online Discussion Forums

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

demigod June 13, 2005 00: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 04: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 04:53

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


All times are GMT -4. The time now is 08:41.