After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_PR_RATE 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.38: 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...
Important: You must enable the particle surface reactions option before you can hook the UDF by selecting Volumetric and Particle Surface under Reactions in the Species Model dialog box.
Select the function name (for example, user_pr_rate::libudf) in the Particle Reaction Rate Function drop-down list in the User-Defined Function Hooks dialog box, and click .
See
DEFINE_PR_RATE
for details
about defining DEFINE_PR_RATE functions.