6.2.6. Hooking DEFINE_DOM_SOURCE UDFs

After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_DOM_SOURCE UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the User-Defined Function Hooks dialog box (Figure 6.22: The User-Defined Function Hooks Dialog Box) in ANSYS Fluent.


Important:  The discrete ordinates (DO) radiation model must be enabled from the Radiation Model dialog box.


To hook the UDF to ANSYS Fluent, open the User-Defined Function Hooks dialog box (Figure 6.22: The User-Defined Function Hooks Dialog Box).

 Parameters & Customization → User Defined Functions  Function Hooks...

Figure 6.22:  The User-Defined Function Hooks Dialog Box

The User-Defined Function Hooks Dialog Box

Select the function name (for example, dom::libudf) in the DO Source drop-down list in the User-Defined Function Hooks dialog box, and click OK.

See DEFINE_DOM_SOURCE for details about DEFINE_DOM_SOURCE functions.


Release 18.2 - © ANSYS, Inc. All rights reserved.