CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Question about DEFINE_EXECUTE_AT_END macro (https://www.cfd-online.com/Forums/fluent/40030-question-about-define_execute_at_end-macro.html)

Vishal March 8, 2006 08:20

Question about DEFINE_EXECUTE_AT_END macro
 
Hi all, Can someone please tell me whether the macro DEFINE_EXECUTE_AT_END is called after each iteration/timestep or it is called only once i.e. at the end of iterations/timestep?

Thanks & Regards, Vishal

Q March 8, 2006 11:52

Re: Question about DEFINE_EXECUTE_AT_END macro
 
read manual

Vishal March 8, 2006 22:55

Re: Question about DEFINE_EXECUTE_AT_END macro
 
Thank you! I posted this message after reading manual only, but from it I cudn't make out whether the above macro is called only once or after end of each iteration. Thanks & Regards, Vishal

yoshida March 8, 2006 23:28

Re: Question about DEFINE_EXECUTE_AT_END macro
 
If you calculate steady state problem, the macro is called only once after provided number of iterations or after the solution is converged. However, in the case of unsteady state problem, the macro is called at the end of each time step.

Actually, I want to make a UDF which send me a e-mail after calculation finished. But if I use this EXECUTE_AT_END macro in unsteady state problem, it send me,,,,


Vishal March 10, 2006 06:24

Re: Question about DEFINE_EXECUTE_AT_END macro
 
Hi, I tried to specify above macro and gave some print statements in it's block and observed that these statements got printed after each iteration for steady state run. Thanks & Regards, Vishal


All times are GMT -4. The time now is 01:54.