6.2.48. Hooking DEFINE_WALL_FUNCTIONS UDFs

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

 Setup → Models → Viscous   Edit...

Figure 6.71:  The Viscous Model Dialog Box

The Viscous Model Dialog Box

To hook the UDF, select k-epsilon from the Model list in the Viscous Model dialog box, and select User-Defined Wall Functions from the Near-Wall Treatment list. Then, select the function name (for example, user_log_law::libudf) from the Law of the Wall drop-down list, and click OK.

See DEFINE_WALL_FUNCTIONS for details about DEFINE_WALL_FUNCTIONS functions in ANSYS Fluent.


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