6.4.16. Hooking DEFINE_IMPINGEMENT UDFs

After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_IMPINGEMENT UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable from in the Discrete Phase Model dialog box in ANSYS Fluent.

To hook the UDF, follow these steps:

  1. Open the Discrete Phase Model dialog box.

     Setup → Models → Discrete Phase   Edit...

  2. Click the Injections... button and create an injection using the Injections dialog box. Close the Injections dialog box.

  3. Do one of the following:

    • In the boundary conditions dialog box for the wall of interest, select wall-film in the Boundary Cond. Type entry on the DPM tab.

    • Enable the Eulearian Wall Film model.

  4. In the Discrete Phase Model dialog box, open the UDF tab and select your function (for example, dry_impingement::libudf) from the Impingement Model drop-down list.

    Figure 6.101:  The Discrete Phase Model Dialog Box

    The Discrete Phase Model Dialog Box

See DEFINE_IMPINGEMENT for details about DEFINE_IMPINGEMENT functions.


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