![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have interpreted (Chapter 4) or compiled (Chapter 5) your DEFINE_DPM_TIMESTEP UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in ANSYS FLUENT.
To hook the UDF, first open the Discrete Phase Model dialog box.
Models
Discrete Phase
Edit...
Click the Injections... button to open the Injections dialog box. Create an injection and then click Close in the Injections dialog box.
Next, click the UDF tab in the Discrete Phase Model dialog box. Select the function name (e.g., limit_to_e_minus_four::libudf) from the DPM Time Step drop-down list under User-Defined Functions (Figure 6.4.15), and click OK.
See Section 2.5.14 for details about DEFINE_DPM_TIMESTEP functions.