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

6.3.3 Hooking DEFINE_HET_RXN_RATE UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_HET_RXN_RATE UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in ANSYS FLUENT.

To hook the UDF, first make a selection from the Model list of the Multiphase Model dialog box.

figure Models figure figure Multiphase figure Edit...

Next, select Species Transport from the Model list of the Species Model dialog box.

figure Models figure figure Species figure Edit...

Then open the Phase Interaction dialog box (Figure  6.3.5).

figure Phases figure Interaction...

Figure 6.3.5: The Phase Interaction Dialog Box
figure

Click the Reactions tab and enter a nonzero number in the Total Number of Heterogeneous Reactions text box. Select the function name (e.g., user_evap_condens_react::libudf) from the Reaction Rate Function drop-down list and click OK.

See Section  2.4.3 for details about writing DEFINE_HET_RXN_RATE functions.


next up previous contents index Previous: 6.3.2 Hooking DEFINE_EXCHANGE_PROPERTY UDFs
Up: 6.3 Hooking Multiphase UDFs
Next: 6.3.4 Hooking DEFINE_MASS_TRANSFER UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14