![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
After you have interpreted (Chapter 4) or compiled (Chapter 5) your DEFINE_DPM_BC UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the appropriate boundary condition dialog box (Figure 6.4.1) in ANSYS FLUENT.
To hook the UDF, first create an injection using the Injections dialog box.
Define
Injections...
Next, open the Boundary Conditions task page.
Boundary Conditions
Select the boundary in the Zone list and click Edit... to open the boundary condition dialog box (e.g., the Wall dialog box, as shown in Figure 6.4.1).
Click the DPM tab and select user_defined from the Boundary Cond. Type drop-down list in the Discrete Phase Model Conditions group box. This will expand the dialog box to allow you to select the function name (e.g., bc_reflect::libudf) from the Boundary Cond. Function drop-down list (Figure 6.4.1). Click OK.
See Section 2.5.1 for details about DEFINE_DPM_BC functions.