CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

complex number operation in udf?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 1, 2005, 00:15
Default complex number operation in udf?
  #1
hongxiao
Guest
 
Posts: n/a
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.
  Reply With Quote

Old   April 1, 2005, 07:46
Default Re: complex number operation in udf?
  #2
ap
Guest
 
Posts: n/a
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
  Reply With Quote

Old   April 1, 2005, 07:49
Default Re: complex number operation in udf?
  #3
ap
Guest
 
Posts: n/a
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
  Reply With Quote

Old   April 4, 2005, 00:26
Default Re: complex number operation in udf?
  #4
hongxiao
Guest
 
Posts: n/a
Hi,ap,thank you very much! Now,my udf has been compiled successfully.
  Reply With Quote

Old   April 9, 2005, 07:50
Default Re: complex number operation in udf?
  #5
ap
Guest
 
Posts: n/a
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
snappyHexMesh aborting Tobi OpenFOAM Native Meshers: snappyHexMesh and Others 0 November 10, 2010 04:23
UDF: how to know domain number in the model? mssound FLUENT 0 May 17, 2010 15:00
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37
File operation in UDF Ajay FLUENT 0 April 10, 2004 16:33
Urgent: Random number in UDF hedonists FLUENT 1 March 4, 2004 04:26


All times are GMT -4. The time now is 00:43.