6.2.1. Hooking DEFINE_ANISOTROPIC_CONDUCTIVITY UDFs

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

To hook the UDF to ANSYS Fluent, first open the Materials task page.

 Setup →   Materials

Make a selection in the Materials list and click the Create/Edit... button to open the appropriate Create/Edit Materials dialog box (Figure 6.14: The Create/Edit Materials Dialog Box).

Figure 6.14:  The Create/Edit Materials Dialog Box

The Create/Edit Materials Dialog Box

To hook an anisotropic conductivity UDF for the conductivity matrix, select user-defined-anisotropic-k from the Thermal Conductivity drop-down list. The User-Defined Functions dialog box (Figure 6.15: The User-Defined Functions Dialog Box) will open.

Figure 6.15:  The User-Defined Functions Dialog Box

The User-Defined Functions Dialog Box

Select the name of your UDF (for example, cyl_ortho_cond::libudf) and click OK in the User-Defined Functions dialog box. The name will then be displayed in the field below the Thermal Conductivity drop-down list in the Create/Edit Materials dialog box. Click Change/Create to save your settings.

See DEFINE_ANISOTROPIC_CONDUCTIVITY for details about defining DEFINE_ANISOTROPIC_CONDUCTIVITY UDFs and the User's Guide for general information about user-defined anisotropic conductivity.


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