6.2.46. Hooking DEFINE_TURBULENT_VISCOSITY UDFs

After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_TURBULENT_VISCOSITY 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.69: The Viscous Model Dialog Box) in ANSYS Fluent.

 Setup → Models → Viscous   Edit...

Figure 6.69:  The Viscous Model Dialog Box

The Viscous Model Dialog Box

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

See DEFINE_TURBULENT_VISCOSITY for details about DEFINE_TURBULENT_VISCOSITY functions.


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