6.2.27. Hooking DEFINE_RELAX_TO_EQUILIBRIUM UDFs

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:

  1. Set up the species transport model.

     Setting Up Physics → Models → Species...

  2. Enable Volumetric in the Reactions group box.

  3. Select Relax to Chemical Equilibrium from the Chemistry Solver drop-down list.

  4. Open the User-Defined Function Hooks dialog box.

     User Defined → User Defined → Function Hooks...

    Figure 6.46:  The User-Defined Function Hooks Dialog Box

    The User-Defined Function Hooks Dialog Box

  5. 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.


Release 18.2 - © ANSYS, Inc. All rights reserved.