CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   Difference between interpreted and compiled for DEFINE_ADJUST? (

KatyaM October 29, 2009 05:33

Difference between interpreted and compiled for DEFINE_ADJUST?

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)
So it is printing “Test” every iteration when used as a interpreted and does not print anything when being compiled :confused:

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!

coglione November 3, 2009 10:30

that is strange indeed, however try to use Message("test") instead of printf and see if this remedies the problem.


All times are GMT -4. The time now is 09:12.