After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_FILM_REGIME 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:
Open the Discrete Phase Model dialog box.
Setup → Models → Discrete Phase
Edit...
Click the Injections... button and create an injection using the Injections dialog box. Close the Injections dialog box.
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.
In the Discrete Phase Model dialog box, open the UDF tab and select your function (for example, dry_breakup::libudf) from the Film Regime drop-down list.
See
DEFINE_FILM_REGIME
for details
about DEFINE_FILM_REGIME functions.