[ANSYS, Inc. Logo] return to home search
next up previous contents index

6.2.21 Hooking DEFINE_SPECIFIC_HEAT UDFs

After you have compiled your DEFINE_SPECIFIC_HEAT UDF (as described in Chapter  5), the name of the function you supplied as a DEFINE macro argument will become visible and selectable in ANSYS FLUENT.

To hook the UDF to ANSYS FLUENT, you will first need to open the Materials task page.

figure Materials

Select the appropriate material from the Material selection list and click the Create/Edit... button to open the Create/Edit Materials dialog box (Figure  6.2.29).

Figure 6.2.29: The Create/Edit Materials Dialog Box
figure

Next, select user-defined from the drop-down list for Cp to open the User-Defined Functions dialog box (Figure  6.2.30). Select the name you defined in the UDF (e.g., my_user_cp::libudf) and click OK. The name of the function will subsequently be displayed under the Cp property in the Create/Edit Materials dialog box.

Figure 6.2.30: The User-Defined Functions Dialog Box
figure

See Section  2.3.21 for details about defining DEFINE_SPECIFIC_HEAT UDFs.


next up previous contents index Previous: 6.2.20 Hooking DEFINE_SOX_RATE UDFs
Up: 6.2 Hooking Model-Specific UDFs
Next: 6.2.22 Hooking DEFINE_SR_RATE UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14