6.2.7. Hooking DEFINE_DOM_SPECULAR_REFLECTIVITY UDFs

After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_DOM_SPECULAR_REFLECTIVITY 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.23: 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.23: The User-Defined Function Hooks Dialog Box).

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

Figure 6.23:  The User-Defined Function Hooks Dialog Box

The User-Defined Function Hooks Dialog Box

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

See DEFINE_DOM_DIFFUSE_REFLECTIVITY for details about DEFINE_DOM_SPECULAR_REFLECTIVITY functions.


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