CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

DEFINE_EXECUTE_AT_END( ) error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2006, 03:05
Default DEFINE_EXECUTE_AT_END( ) error
  #1
jim
Guest
 
Posts: n/a
hi

i want to accumulated value according time step

so i used...C_UDMI

i heard about DEFINE_EXECUTE_AT_END()macro

i heard this macro execute at the end of a time step

but explanation of DEFINE_EXECUTE_AT_END()macro is not in my fluent manual

my fluent version is 6.0.12

what kind of macro i can use insteady of DEFINE_EXECUTE_AT_END() macro

my udf is...

/************************************************

#include "udf.h"

DEFINE_EXECUTE_AT_END(execute)

{

Domain *d;

Thread *t;

cell_t c;

real temp;

d = Get_Domain(1);

thread_loop_c(t,d)

{

begin_c_loop(c,t)

{

temp = C_T(c,t);

C_UDMI(c,t,0) += temp;

}

end_c_loop(c,t)

}

} '/*********************************************

i try to interprete this UDF, error message is generated

please help me

  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 17:43
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug unoder OpenFOAM Installation 11 January 30, 2008 20:30
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 23:46.