|
[Sponsors] |
April 1, 2005, 01:15 |
complex number operation in udf?
|
#1 |
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.
|
|
April 1, 2005, 08:46 |
Re: complex number operation in udf?
|
#2 |
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 |
|
April 1, 2005, 08:49 |
Re: complex number operation in udf?
|
#3 |
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 |
|
April 4, 2005, 01:26 |
Re: complex number operation in udf?
|
#4 |
Guest
Posts: n/a
|
Hi,ap,thank you very much! Now,my udf has been compiled successfully.
|
|
April 9, 2005, 08:50 |
Re: complex number operation in udf?
|
#5 |
Guest
Posts: n/a
|
|
|
June 14, 2017, 15:11 |
Dear HongXiao what did you do to complile your complex number udf?
|
#6 | |
New Member
Dany Cahue
Join Date: Jun 2017
Posts: 1
Rep Power: 0 |
Dear HongXiao what did you do to compile your complex number udf? I am trying to compile complex number udf but the "include<complex>" library does not compile in visual studio. So, which was you methodology?
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh aborting | Tobi | OpenFOAM Meshing & Mesh Conversion | 0 | November 10, 2010 04:23 |
UDF: how to know domain number in the model? | mssound | FLUENT | 0 | May 17, 2010 16:00 |
Unaligned accesses on IA64 | andre | OpenFOAM | 5 | June 23, 2008 11:37 |
File operation in UDF | Ajay | FLUENT | 0 | April 10, 2004 17:33 |
Urgent: Random number in UDF | hedonists | FLUENT | 1 | March 4, 2004 04:26 |