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

6.4.11 Hooking DEFINE_DPM_SOURCE UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_DPM_SOURCE 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.12) in ANSYS FLUENT.

To hook the UDF, first open the Discrete Phase Model dialog box.

figure Models figure figure Discrete Phase figure Edit...

Figure 6.4.12: The Discrete Phase Model Dialog Box
figure

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., dpm_source::libudf) from the Source drop-down list under User-Defined Functions (Figure  6.4.12), and click OK.

See Section  2.5.11 for details about DEFINE_DPM_SOURCE functions.


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