|
[Sponsors] |
Difference between interpreted and compiled for DEFINE_ADJUST? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 29, 2009, 05:33 |
Difference between interpreted and compiled for DEFINE_ADJUST?
|
#1 |
New Member
Join Date: Oct 2009
Posts: 1
Rep Power: 0 |
Hello,
Does anybody have any ideas why DEFINE_ADJUST udf works perfectly as an interpreted udf and does not work as a complied. Below there is an example. Step by step reducing the complexity this is all that is left from my udf . *********************************** #include "udf.h" DEFINE_ADJUST(my_adjust, d) { printf("Test"); } ************************************ So it is printing “Test” every iteration when used as a interpreted and does not print anything when being compiled Is there any specifics with DEFINE_ADJUST when it is compiled? It is a bit strange as for example DEFINE_EXECUTE_AT_END does printing (at the end of course) when it is compiled…Thanks in advance for any ides! |
|
November 3, 2009, 10:30 |
|
#2 |
Senior Member
Max
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
that is strange indeed, however try to use Message("test") instead of printf and see if this remedies the problem.
cheers |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF - Interpreted works and compiled doesn't | AlwaysLearning | FLUENT | 9 | October 30, 2018 01:52 |
DEFINE_CG_MOTION Interpreted or Compiled? | Aussie Shane | FLUENT | 0 | April 20, 2006 05:50 |
difference between udf compiled and udf interprete | chandra sekhar | FLUENT | 2 | April 11, 2006 01:04 |
compiled or interpreted udf | Aireen | FLUENT | 11 | August 25, 2005 01:54 |
compiled vs. interpreted UDF | co2 | FLUENT | 1 | January 22, 2004 15:19 |