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

6.6.3 Hooking DEFINE_UDS_UNSTEADY UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_UDS_UNSTEADY UDF, the name of the argument that you supplied as the first DEFINE macro argument will become visible and selectable in the User-Defined Scalars dialog box in ANSYS FLUENT.

figure   

Make sure that you have selected Transient from the Time list in the Solver group box of the General task page.

To hook the UDF to ANSYS FLUENT, first open the User-Defined Scalars dialog box.

Define $\rightarrow$ User-Defined $\rightarrow$ Scalars...

Figure 6.6.4: The User-Defined Scalars Dialog Box
figure

In the User-Defined Scalars dialog box (Figure  6.6.4), specify the Number of User-Defined Scalars (e.g., 2) in the User-Defined Scalars dialog box (Figure  6.6.4). As you enter the number of user-defined scalars, the dialog box will expand to show the User-Defined Scalars Options group box. Next, for each scalar you have defined, increment the UDS Index and select the Zone Type and the Flux Function. Then select the name of your UDF (e.g., my_uds_unsteady::libudf) from the Unsteady Function drop-down list, and click OK.


next up previous contents index Previous: 6.6.2 Hooking DEFINE_UDS_FLUX UDFs
Up: 6.6 Hooking User-Defined Scalar
Next: 6.7 Common Errors While
Release 12.0 © ANSYS, Inc. 2009-01-14