|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
Hello,
I'm trying to learn about UDFs. I've Written a simple UDF as follows: #include "udf.h" DEFINE_ADJUST(size, domain) { int s = 0; printf("the value of size is: %d\n", s); } This very simple UDF works correctly when I interpret it,but when I copmile it doesn't work. The fluent doesn't give me any error. Can anybody give me some advice? Thanks in advance |
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
I Actually want it for my project, and I'm badly in need of it. Does anybody koe something about it? Help, Please help!
Thanks in advance |
|
|
||
|
|
|
#3 |
|
Guest
Posts: n/a
|
I Actually want it for my project, and I'm badly in need of it. Does anybody know something about it? Help, Please help!
Thanks in advance |
|
|
||
|
|
|
#4 |
|
Guest
Posts: n/a
|
THANKS.
|
|
|
||
|
|
|
#5 |
|
Guest
Posts: n/a
|
Hi Nia
I prefer to use Message0("the value of size is: %d\n", s); instead of printf("the value of size is: %d\n", s); Hope this helps Max |
|
|
||
|
|
|
#6 |
|
Guest
Posts: n/a
|
YHANK THANK THANK
It realy work. wow...............!!!!!!!!!! |
|
|
||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
| problem with udf for dynamic mesh | ja92 | FLUENT | 0 | February 24, 2011 10:32 |
| Help! Compiled UDF problem 4 Wave tank tutorial | Shane | FLUENT | 1 | September 3, 2010 03:32 |
| UDF variables F1, y / problem with UDF | Fabian | FLUENT | 6 | June 2, 2003 11:22 |
| how to quit compiled or interprited UDF | tian | FLUENT | 0 | April 9, 2003 00:53 |