6.2.13. Hooking DEFINE_FLAMELET_PARAMETERS UDFs

Once the UDF that you have defined using DEFINE_FLAMELET_PARAMETERS is compiled (Compiling UDFs), the name of the function that you supplied as a DEFINE macro argument will become visible and selectable in the User-Defined Function drop-down list under the Flamelet tab of the Species Model dialog box in ANSYS Fluent (Figure 6.29: The Flamelet Tab Dialog Box (User-Defined Flamelet Parameters)).


Note:  Note that the UDF hook is only available when either the Non-Premixed Combustion or Partially-Premixed Combustion model is selected in the Species Model dialog box.


 Setup → Models → Species  Edit...

Figure 6.29:  The Flamelet Tab Dialog Box (User-Defined Flamelet Parameters)

The Flamelet Tab Dialog Box (User-Defined Flamelet Parameters)

To hook the UDF to ANSYS Fluent:

  1. In the Species Model dialog box, under the Flamelet tab, select User-Defined Flamelet Parameters.

  2. From the User Defined Function drop-down list, select the function name (for example, user_scad_fmean_grid ::libudf) and click Apply.

See DEFINE_FLAMELET_PARAMETERS for details about defining DEFINE_FLAMELET_PARAMETERS UDFs.


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