CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

Difference between interpreted and compiled for DEFINE_ADJUST?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 29, 2009, 05:33
Default Difference between interpreted and compiled for DEFINE_ADJUST?
New Member
Join Date: Oct 2009
Posts: 1
Rep Power: 0
KatyaM is on a distinguished road

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

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!
KatyaM is offline   Reply With Quote

Old   November 3, 2009, 10:30
Senior Member
Join Date: Mar 2009
Posts: 133
Rep Power: 10
coglione is on a distinguished road
that is strange indeed, however try to use Message("test") instead of printf and see if this remedies the problem.

coglione is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF - Interpreted works and compiled doesn't AlwaysLearning FLUENT 5 August 30, 2006 05:44
DEFINE_CG_MOTION Interpreted or Compiled? Aussie Shane FLUENT 0 April 20, 2006 04:50
difference between udf compiled and udf interprete chandra sekhar FLUENT 2 April 11, 2006 00:04
compiled or interpreted udf Aireen FLUENT 11 August 25, 2005 00:54
compiled vs. interpreted UDF co2 FLUENT 1 January 22, 2004 15:19

All times are GMT -4. The time now is 19:33.