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

6.1.2 Hooking DEFINE_DELTAT UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_DELTAT UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Adaptive Time Step Settings dialog box (Figure  6.1.3) in ANSYS FLUENT.

To hook the UDF to ANSYS FLUENT, select Transient from the Time list in the Solver group box of the General task page.

figure General figure figure Transient

Then open the Run Calculation task page.

figure Run Calculation

Select Adaptive in the Time Stepping Method drop-down list, and click the Settings... button to open the Adaptive Time Step Settings dialog box (Figure  6.1.3).

Figure 6.1.3: The Adaptive Time Step Settings Dialog Box
figure

Select the function name (e.g., mydeltat::libudf) in the User-Defined Time Step drop-down list and click OK.

figure   

Note that when you are using the VOF Multiphase Model, you will need to select Variable as the Time Stepping Method in the Run Calculation task page, and then hook the time step UDF in the Variable Time Step Setting dialog box in a similar manner to the Adaptive Time Step Settings dialog box.

See Section  2.2.2 for details about defining DEFINE_DELTAT functions.


next up previous contents index Previous: 6.1.1 Hooking DEFINE_ADJUST UDFs
Up: 6.1 Hooking General Purpose
Next: 6.1.3 Hooking DEFINE_EXECUTE_AT_END UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14