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

6.1.5 Hooking DEFINE_INIT UDFs

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 $\rightarrow$ User-Defined $\rightarrow$ Function Hooks...

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

Click the Edit... button next to Initialization to open the Initialization Functions dialog box (Figure  6.1.9).

Figure 6.1.9: The Initialization Functions Dialog Box
figure

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.


next up previous contents index Previous: 6.1.4 Hooking DEFINE_EXECUTE_AT_EXIT UDFs
Up: 6.1 Hooking General Purpose
Next: 6.1.6 Hooking DEFINE_ON_DEMAND UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14