After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_UDS_FLUX UDF, the name of the argument that you supplied as the first DEFINE macro argument will become visible and selectable
in the User-Defined Scalars dialog box (Figure 6.113: The User-Defined Scalars Dialog Box) in ANSYS Fluent.
Parameters & Customization → User Defined Scalars
Edit...
To hook the UDF to ANSYS Fluent, first specify the Number of User-Defined Scalars (for example, 2) in the User-Defined Scalars dialog box (Figure 6.113: The User-Defined Scalars Dialog Box). As you enter the number of user-defined scalars, the dialog box will expand to show the User-Defined Scalars Options group box. Next, for each scalar you have defined, increment the UDS Index and select the Solution Zones (for example, all fluid zones) and the name of the function (for example, my_uds_flux::libudf) from the Flux Function drop-down list, and click .