|
[Sponsors] |
May 20, 2006, 04:41 |
Diffusivity UDF
|
#1 |
Guest
Posts: n/a
|
I needed to have a UDF for "diffusivity". Fortunately, it's given already in the UDF Manual(4.3.3). I've copied it as such directly in a notepad file and saved it with an extension .c and saved it in the same directory where my .cas and .dbs files are being saved. However, interpretation displays a very long (and probably fundamental) error. My problem is 3D. And, oe more thing - Do we need to choose a scalar before defining a UDF ? Kindly help ... I am new user of UDFs.
|
|
May 20, 2006, 07:29 |
Re: Diffusivity UDF
|
#2 |
Guest
Posts: n/a
|
Yes, you might need to hook the UDF's. But this is only after the compilation/interpreting has been successfully completed.
|
|
May 21, 2006, 08:52 |
Re: Diffusivity UDF
|
#3 |
Guest
Posts: n/a
|
Thanx Pete. But Please answer specifically for each question - Do I need to create a U D Scalar ?
And, do I need to make my case Unsteady for this particular macro "Diffusivity" described in UDF manual 4.3.3 ? |
|
May 21, 2006, 19:22 |
Re: Diffusivity UDF
|
#4 |
Guest
Posts: n/a
|
You don't need to set any UDS. And the error of UDF come from bad .c code. Check your .c code if any worng statement?
And one more thing that the examples in UDF Manual may not work. Coz it's not the complete code, It's just a simple example to introduce each "Marco". So you need to write your own code. Peace, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help,I have some questions about UDF of mass diffusivity in fluent | apolloking | Fluent UDF and Scheme Programming | 0 | March 20, 2011 12:40 |
error in mass diffusivity UDF | vaibhav_v | Fluent UDF and Scheme Programming | 1 | December 31, 2010 13:13 |
UDF Multicomponent Diffusivity with Knudsen term | Emmanuel Resch | FLUENT | 0 | August 8, 2008 22:01 |
UDF of interfacial thermal diffusivity | galary | FLUENT | 1 | May 24, 2006 11:10 |
UDF Adjust to redefine UDS Diffusivity | David harvey | FLUENT | 4 | February 27, 2004 08:47 |