6.4.12. Hooking DEFINE_DPM_SPRAY_COLLIDE UDFs

After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_DPM_SPRAY_COLLIDE 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.96: The Discrete Phase Model Dialog Box) in ANSYS Fluent.

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

 Setup → Models → Discrete Phase   Edit...

Figure 6.96:  The Discrete Phase Model Dialog Box

The Discrete Phase Model Dialog Box

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 Physical Models tab in the Discrete Phase Model dialog box and enable the Droplet Collision option in the Spray Model group box. Then, click the UDF tab and select the function name (for example, mean_spray_collide::libudf) from the Spray Collide Function drop-down list in the User-Defined Functions group box (Figure 6.86: The Set Injection Properties Dialog Box), and click OK.

See DEFINE_DPM_SPRAY_COLLIDE for details about DEFINE_DPM_SPRAY_COLLIDE functions.


Release 18.2 - © ANSYS, Inc. All rights reserved.