After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) 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.4: The User-Defined Function Hooks Dialog Box).
Parameters & Customization → User Defined Functions
Function Hooks...
Click the Edit... button next to Execute At End to open the Execute At End Functions dialog box (Figure 6.5: The Execute At End Functions Dialog Box).
Select the function(s) you want to hook to your model from the Available Execute at End Functions list. Click Add and then 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 (for example, 2 selected). Click in the User-Defined Function Hooks dialog box to apply the settings.
See
DEFINE_EXECUTE_AT_END
for
details about defining DEFINE_EXECUTE_AT_END functions.