6.2.44. Hooking DEFINE_TURB_PREMIX_SOURCE UDFs

After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_TURB_PREMIX_SOURCE 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.67: The User-Defined Function Hooks Dialog Box) in ANSYS Fluent.

To hook the UDF to ANSYS Fluent, open the User-Defined Function Hooks dialog box (Figure 6.67: The User-Defined Function Hooks Dialog Box).

 Parameters & Customization → User Defined Functions  Function Hooks...

Figure 6.67:  The User-Defined Function Hooks Dialog Box

The User-Defined Function Hooks Dialog Box


Important:  You must have a premixed combustion model enabled in the Species Model dialog box.


Select the function name (for example, turb_flame_src::libudf) in the Turbulent Premixed Source Function drop-down list in the User-Defined Function Hooks dialog box, and click OK.

See DEFINE_TURB_PREMIX_SOURCE for details about DEFINE_TURB_PREMIX_SOURCE functions.


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