|
|
After you have interpreted (Chapter 4) or compiled (Chapter 5) your DEFINE_EXECUTE_AT_END UDF, it is ready to be hooked to ANSYS FLUENT. Note that you can hook multiple at-end UDFs to your model, if desired.
To hook the UDF to ANSYS FLUENT, open the User-Defined Function Hooks dialog box. (Figure 6.1.4)
Define
User-Defined
Function Hooks...
Click the Edit... button next to Execute At End to open the Execute At End Functions dialog box (Figure 6.1.5).
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 End 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.3 for details about defining DEFINE_EXECUTE_AT_END functions.