6.2.20. Hooking DEFINE_PDF_TABLE UDFs

After you have compiled (Compiling UDFs) your DEFINE_PDF_TABLE 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.37: The User-Defined Function Hooks Dialog Box) in ANSYS Fluent.

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

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

Figure 6.37:  The User-Defined Function Hooks Dialog Box

The User-Defined Function Hooks Dialog Box


Important:  You must enable the Non-Premixed or Partially-Premixed models, and generate or read a valid PDF table.


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

See DEFINE_PDF_TABLE for details about defining DEFINE_PDF_TABLE functions.


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