After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_DPM_HEAT_MASS UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Set Injection Properties dialog box (Figure 6.88: The Set Injections Dialog Box) in ANSYS Fluent.
To hook the UDF, first set up your species transport model in the Species Model dialog box.
Setup → Models → Species
Edit...
Select Species Transport from the Model list and click .
Next, create a particle injection in the Injections dialog box.
Setup → Models → Discrete Phase → Injections
New...
Set up the particle injection in the Set Injection Properties dialog box, being sure to select Multicomponent in the Particle Type group box. Then click the UDF tab, and select the function name (for example, multivap::libudf) from the Heat/Mass Transfer drop-down list in the User-Defined Functions group box. Click .
See
DEFINE_DPM_INJECTION_INIT
for
details about DEFINE_DPM_INJECTION_INIT functions.