6.2.12. Hooking DEFINE_EMISSIVITY_WEIGHTING_FACTOR UDFs

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...

Figure 6.28:  The User-Defined Function Hooks Dialog Box

The User-Defined Function Hooks Dialog Box

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 OK.

See DEFINE_EMISSIVITY_WEIGHTING_FACTOR for details about defining DEFINE_EMISSIVITY_WEIGHTING_FACTOR UDFs.


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