![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have interpreted (Chapter 4) or compiled (Chapter 5) your DEFINE_DPM_EROSION UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Discrete Phase Model dialog box (Figure 6.4.4) 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, enable the Interaction with Continuous Phase option under Interaction in the Discrete Phase Model dialog box. Then, click the Physical Models tab and enable the Erosion/Accretion option. Finally, click the UDF tab and select the function name (e.g., dpm_accr::libudf) from the Erosion/Accretion drop-down list in the User-Defined Functions group box (Figure 6.4.3), and click OK.
See Section 2.5.4 for details about DEFINE_DPM_EROSION functions.