CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Execution of UDF

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

LinkBack Thread Tools Display Modes
Old   January 10, 2011, 10:38
Post Execution of UDF
New Member
Join Date: Mar 2009
Posts: 18
Rep Power: 10
sri31049 is on a distinguished road
Hi all

Any one can please clarify my doubts.
First I will explain my problem.
I am using two UDFs in my simulation. Both UDFs I placed in same source C code.
In first UDF I have used the define macro, DEFINE_EXICUTE_AT_END, for calculate a variable "X". I declared this variable globally. I am using this variable in second UDF, in which I have used the macro, DEFINE_CG_MOTION.

Now I have a doubt regarding execution of these two UDFs.

1) Are these UDFs execute one after one or execute at the same time independently?

2) If execute at the same time independently, then the value of the variable, X (globally declared) which is taking by the second UDF is the present time step value or previous time step value?

Any one can please clarify these doubts. Thanks in advance
sri31049 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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

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