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

6.4.1 Hooking DEFINE_DPM_BC UDFs

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 $\rightarrow$ Injections...

Next, open the Boundary Conditions task page.

figure 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).

Figure 6.4.1: The Wall Dialog Box
figure

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.


next up previous contents index Previous: 6.4 Hooking Discrete Phase
Up: 6.4 Hooking Discrete Phase
Next: 6.4.2 Hooking DEFINE_DPM_BODY_FORCE UDFs
Release 12.0 © ANSYS, Inc. 2009-01-14