CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   complex number operation in udf? (http://www.cfd-online.com/Forums/fluent/36226-complex-number-operation-udf.html)

hongxiao March 31, 2005 23:15

complex number operation in udf?
 
I want to use the complex number operation in udf, but udf has no this type of operation. Can I define the operation in it? and how? By the way, the operation inludes complex Bessel function. Thanks for your help.

ap April 1, 2005 06:46

Re: complex number operation in udf?
 
If you use compiled UDF, you can just use a C/C++ library which manages complex numbers.

There are many open sources solutions. For example, you could consider GSL.

Best regards, ap

ap April 1, 2005 06:49

Re: complex number operation in udf?
 
You can find information on the GNU Scientific Library here:

http://www.gnu.org/software/gsl/

If you work on Linux, you probably just have to install it from the CD's of your distribution.

Regards, ap

hongxiao April 4, 2005 00:26

Re: complex number operation in udf?
 
Hi,ap,thank you very much! Now,my udf has been compiled successfully.

ap April 9, 2005 07:50

Re: complex number operation in udf?
 


All times are GMT -4. The time now is 13:49.