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

6.2.27 Hooking DEFINE_VR_RATE UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_VR_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.36) in ANSYS FLUENT.

To hook the UDF to ANSYS FLUENT, first set up an appropriate reaction model in the Species Model dialog box.

figure Models figure figure Species figure Edit...

Select Species Transport from the Model list in the Species Model dialog box, and enable the Volumetric option in the Reactions group box. Make sure that Stiff Chemistry Solver is disabled in the Options group box, and click OK.

Next, open the User-Defined Function Hooks dialog box. (Figure  6.2.36)

Define $\rightarrow$ User-Defined $\rightarrow$ Function Hooks...

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

Select the function name (e.g., myrate::libudf) in the Volume Reaction Rate Function drop-down list in the User-Defined Function Hooks dialog box, and click OK.

See Section  2.3.27 for details about DEFINE_VR_RATE functions.


next up previous contents index Previous: 6.2.26 Hooking DEFINE_TURBULENT_VISCOSITY UDFs
Up: 6.2 Hooking Model-Specific UDFs
Next: 6.2.28 Hooking DEFINE_WALL_FUNCTIONS UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14