![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have interpreted (Chapter 4) or compiled (Chapter 5) 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.2.15) in ANSYS FLUENT.
To hook the UDF to ANSYS FLUENT, open the User-Defined Function Hooks dialog box. (Figure 6.2.15)
Define
User-Defined
Function Hooks...
|
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 (e.g., user_pr_rate::libudf) in the Particle Reaction Rate Function drop-down list in the User-Defined Function Hooks dialog box, and click OK.
See Section 2.3.13 for details about defining DEFINE_PR_RATE functions.