[ANSYS, Inc. Logo] return to home search
next up previous contents index

6.2.13 Hooking DEFINE_PR_RATE UDFs

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 $\rightarrow$ User-Defined $\rightarrow$ Function Hooks...

Figure 6.2.15: The User-Defined Function Hooks Dialog Box
figure

figure   

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.


next up previous contents index Previous: 6.2.12 Hooking DEFINE_NOX_RATE UDFs
Up: 6.2 Hooking Model-Specific UDFs
Next: 6.2.14 Hooking DEFINE_PRANDTL UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14