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

6.3.5 Hooking DEFINE_VECTOR_EXCHANGE_PROPERTY UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_VECTOR_EXCHANGE_RATE UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the User-Defined Functions dialog box (Figure  6.3.9) in ANSYS FLUENT.

To hook the UDF to ANSYS FLUENT, first select Mixture from the Model list of the Multiphase Model dialog box, and make sure that the Slip Velocity option is enabled.

figure Models figure figure Multiphase figure Edit...

Next, open the Phase Interaction dialog box (Figure  6.3.8).

figure Phases figure Interaction...

Figure 6.3.8: The Phase Interaction Dialog Box
figure

Click the Slip tab in the Phase Interaction dialog box, and select user-defined from the drop-down list for the Slip Velocity. This will open the User-Defined Functions dialog box .

Figure 6.3.9: The User-Defined Functions Dialog Box
figure

Finally, select the function name (e.g., custom_slip::libudf) from the list of UDFs displayed in the User-Defined Functions dialog box (Figure  6.3.9), and click OK. The UDF name will appear in the text box below the Slip Velocity drop-down list in the Phase Interaction dialog box. Click OK to close the Phase Interaction dialog box.

See Section  2.4.5 for details about DEFINE_VECTOR_EXCHANGE_PROPERTY functions.


next up previous contents index Previous: 6.3.4 Hooking DEFINE_MASS_TRANSFER UDFs
Up: 6.3 Hooking Multiphase UDFs
Next: 6.4 Hooking Discrete Phase
Release 12.0 © ANSYS, Inc. 2009-01-14