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

6.4.7 Hooking DEFINE_DPM_LAW UDFs

After you have interpreted (Chapter  4) or compiled (Chapter  5) your DEFINE_DPM_LAW UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Custom Laws dialog box (Figure  6.4.7) in ANSYS FLUENT.

To hook the UDF to ANSYS FLUENT, first create a particle injection in the Injections dialog box .

Define $\rightarrow$ Injections...

Click Create in the Injections dialog box to open the Set Injection Properties dialog box. Then, enable the Custom option in the Laws group box in the Set Injection Properties dialog box, in order to open the Custom Laws dialog box (Figure  6.4.7).

Figure 6.4.7: The Custom Laws Dialog Box
figure

In the Custom Laws dialog box, select the function name (e.g., Evapor_Swelling_Law::libudf) from the appropriate drop-down list located to the left of each of the six particle laws (e.g., First Law), and click OK.

See Section  2.5.7 for details about DEFINE_DPM_LAW functions.


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