6.2.22. Hooking DEFINE_PRANDTL UDFs

After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_PRANDTL UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Viscous Model dialog box (Figure 6.39: The Viscous Model Dialog Box) in ANSYS Fluent.

 Setup → Models → Viscous   Edit...

Figure 6.39:  The Viscous Model Dialog Box

The Viscous Model Dialog Box

To hook the UDF to ANSYS Fluent, select the function name (for example, user_pr_k::libudf) from the TKE Prandtl Number drop-down list under User-Defined Functions in the Viscous Model dialog box, and click OK.

See DEFINE_PRANDTL UDFs for details about DEFINE_PRANDTL functions.


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