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

6.1.4 Hooking DEFINE_EXECUTE_AT_EXIT UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_EXECUTE_AT_EXIT UDF, it is ready to be hooked to ANSYS FLUENT. Note that you can hook multiple at-exit UDFs to your model, if desired.

To hook the UDF to ANSYS FLUENT, open the User-Defined Function Hooks dialog box. (Figure  6.1.6)

Define $\rightarrow$ User-Defined $\rightarrow$ Function Hooks...

Figure 6.1.6: The User-Defined Function Hooks Dialog Box
figure

Click the Edit... button next to Execute At Exit to open the Execute At Exit Functions dialog box (Figure  6.1.7).

Figure 6.1.7: The Execute At Exit Functions Dialog Box
figure

Select the function(s) you wish to hook to your model from the Available Execute At End Functions list. Click Add and then OK to close the dialog box. The name of the function you selected will be displayed in the Execute At Exit field of the User-Defined Function Hooks dialog box. If you select more than one function, the number will be displayed (e.g., 2 selected). Click OK in the User-Defined Function Hooks dialog box to apply the settings.

See Section  2.2.4 for details about defining DEFINE_EXECUTE_AT_EXIT functions.


next up previous contents index Previous: 6.1.3 Hooking DEFINE_EXECUTE_AT_END UDFs
Up: 6.1 Hooking General Purpose
Next: 6.1.5 Hooking DEFINE_INIT UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14