![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have interpreted (Chapter 4) or compiled (Chapter 5) your DEFINE_INIT UDF, it is ready to be hooked to ANSYS FLUENT. Note that you can hook multiple initialization UDFs to your model, if desired.
To hook the UDF to ANSYS FLUENT, open the User-Defined Function Hooks dialog box. (Figure 6.1.8)
Define
User-Defined
Function Hooks...
Click the Edit... button next to Initialization to open the Initialization Functions dialog box (Figure 6.1.9).
Select the function(s) you wish to hook to your model from the Available Initialization Functions list. Click Add and then OK to close the dialog box. The name of the function you selected will be displayed in the Initialization 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.8 for details about defining DEFINE_INIT functions.