After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_WSGGM_ABS_COEFF UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Create/Edit Materials dialog box in ANSYS Fluent.
To hook the UDF to ANSYS Fluent, first make sure that you have selected a radiation model from the Model list of the Radiation Model dialog box and have set up a species transport or soot formation model. Then open the Materials task page.
Setup →
Materials
Select the mixture in the Materials list and click the Create/Edit... button to open the Create/Edit Materials dialog box (Figure 6.72: The Create/Edit Materials Dialog Box).
Next, select user-defined-wsggm from the Absorption Coefficient drop-down list in the Properties list, which opens the User-Defined Functions dialog box (Figure 6.73: The User-Defined Functions Dialog Box).
Select the function name (for example, user_wsggm_abs_coeff::libudf) from the list of UDFs displayed in the User-Defined Functions dialog box and click . The function name will then be displayed in a field under the Absorption Coefficient drop-down list in the Create/Edit Materials dialog box. Finally, click Change/Create in the Create/Edit Materials dialog box to save the settings.
See
DEFINE_WSGGM_ABS_COEFF
for
details about DEFINE_WSGGM_ABS_COEFF functions,
and Inputs for a Composition-Dependent Absorption Coefficient in the User's Guide for further information about inputs for composition-dependent absorption
coefficients.