![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have compiled (Chapter 5) your DEFINE_NET_REACTION_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.13) in ANSYS FLUENT.
To hook the UDF to ANSYS FLUENT, first set up the species transport and combustion models.
Models
Species
Edit...
Note that net reaction rate UDFs may only be used with the laminar finite-rate model (with stiff chemistry enabled), the EDC model, the PDF Transport model, or the surface chemistry model. Therefore, you must use one of the following groups of settings in the Species Model dialog box:
Next, open the User-Defined Function Hooks dialog box. (Figure 6.2.13)
Define
User-Defined
Function Hooks...
Select the function name (e.g., net_rxn::libudf) in the Net Reaction Rate Function drop-down list, and click OK.
See Section 2.3.11 for details about DEFINE_NET_REACTION_RATE functions.