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

6.1.6 Hooking DEFINE_ON_DEMAND UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_ON_DEMAND UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Execute On Demand dialog box (Figure  6.1.10) in ANSYS FLUENT.

To hook the UDF to ANSYS FLUENT, open the Execute On Demand dialog box.

Define $\rightarrow$ User-Defined $\rightarrow$ Execute On Demand...

Figure 6.1.10: The Execute On Demand Dialog Box
figure

Select the function name (e.g., on_demand_calc::libudf) in the Execute On Demand drop-down list and click Execute. ANSYS FLUENT will execute the UDF immediately. Click Close to close the dialog box.

See Section  2.2.9 for details about defining DEFINE_ON_DEMAND functions.


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