After you have interpreted or compiled your DEFINE_RELAX_TO_EQUILIBRIUM 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.46: The User-Defined Function Hooks Dialog Box).
To hook the UDF to ANSYS Fluent:
Set up the species transport model.
Setting Up Physics → Models
→ Species...
Enable Volumetric in the Reactions group box.
Select Relax to Chemical Equilibrium from the Chemistry Solver drop-down list.
Open the User-Defined Function Hooks dialog box.
User Defined → User Defined
→ Function Hooks...
Select the function name (for example, relax_tau::libudf) from the Relax to Equilibrium drop-down list, and click OK.
See
DEFINE_RELAX_TO_EQUILIBRIUM
for details about DEFINE_RELAX_TO_EQUILIBRIUM functions.