6.2.42. Hooking DEFINE_TRANS UDFs

After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_TRANS 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, select Transition SST from the Model list in the Viscous Model dialog box (Figure 6.65: The Viscous Model Dialog Box).

 Setup → Models → Viscous   Edit...

Figure 6.65:  The Viscous Model Dialog Box

The Viscous Model Dialog Box

Next, select the function name (for example, user_Flength::libudf) from a drop-down list in the User-Defined Transition Correlations group box (for example, Flength), and click OK.

See DEFINE_TRANS UDFs for details about DEFINE_TRANS functions.


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