After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_EMISSIVITY_WEIGHTING_FACTOR 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.28: The User-Defined Function Hooks Dialog Box) in ANSYS Fluent.
Important: In the Radiation Model dialog box, P1 or Discrete Ordinates (DO) must be selected from the Model list, and a nonzero value must be entered for Number of Bands in the Non-Gray Model group box.
To hook the UDF to ANSYS Fluent, open the User-Defined Function Hooks dialog box (Figure 6.28: The User-Defined Function Hooks Dialog Box).
Parameters & Customization → User Defined Functions
Function Hooks...
Select the function name (for example, em_wt::libudf) in the Emissivity Weighting Factor drop-down list in the User-Defined Function Hooks dialog box, and click .
See
DEFINE_EMISSIVITY_WEIGHTING_FACTOR
for details about defining DEFINE_EMISSIVITY_WEIGHTING_FACTOR UDFs.