After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_TURB_SCHMIDT UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Viscous Model dialog box in ANSYS Fluent. To hook the UDF,
first open the Viscous Model dialog box (Figure 6.68: The Viscous Model Dialog Box) and set up a turbulence model.
Important: If you select k-epsilon from the Model list, you must not select RNG from the k-epsilon Model list.
Setup → Models → Viscous
Edit...
Next, select the function name (for example, udf_sct::libudf) from the Turbulent Schmidt Number drop-down list under User-Defined Functions in the Viscous Model dialog box, and click .
Important: The Species Transport model must be selected in the Species Model dialog box for the Turbulent Schmidt Number drop-down list to be visible in the Viscous Model dialog box.
See
DEFINE_TURB_SCHMIDT UDF for details
about DEFINE_TURB_SCHMIDT functions.