[ANSYS, Inc. Logo] return to home search
next up previous contents index

2.2.4 DEFINE_EXECUTE_AT_EXIT



Description


DEFINE_EXECUTE_AT_EXIT is a general-purpose macro that can be used to execute a function at the end of an ANSYS FLUENT session.



Usage



DEFINE_EXECUTE_AT_EXIT( name)


Argument Type Description
symbol name UDF name.
   
Function returns  
void  
   

There is only one argument to DEFINE_EXECUTE_AT_EXIT: name. You supply name, the name of the UDF.



Hooking an Execute-at-Exit UDF to ANSYS FLUENT


After the UDF that you have defined using DEFINE_EXECUTE_AT_EXIT is interpreted (Chapter  4) or compiled (Chapter  5), the name of the argument that you supplied as the first DEFINE macro argument will become visible and selectable via the User-Defined Function Hooks dialog box in ANSYS FLUENT. Note that you can hook multiple at-exit UDFs to your model. For details, see Section  6.1.4.


next up previous contents index Previous: 2.2.3 DEFINE_EXECUTE_AT_END
Up: 2.2 General Purpose DEFINE
Next: 2.2.5 DEFINE_EXECUTE_FROM_GUI
Release 12.0 © ANSYS, Inc. 2009-01-14