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

6.1.1 Hooking DEFINE_ADJUST UDFs

After you interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_ADJUST UDF, the name of the function you supplied as a DEFINE macro argument can be hooked using the User-Defined Function Hooks dialog box (Figure  6.1.1). Note that you can hook multiple adjust UDFs to your model, if desired.

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

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

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

Click the Edit... button next to Adjust to open the Adjust Functions dialog box (Figure  6.1.2).

Figure 6.1.2: The Adjust Functions Dialog Box
figure

Select the function(s) you wish to hook to your model from the Available Adjust Functions list. Click Add and then OK to close the dialog box. The name of the function you selected will be displayed in the Adjust 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.1 for details about defining adjust functions using the DEFINE_ADJUST macro.


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