After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_MASS_TRANSFER UDF, the name of the function you supplied as a DEFINE macro argument will become visible and selectable in the Phase Interaction dialog box (Figure 6.80: The Phase Interaction Dialog Box).
To hook the UDF to ANSYS Fluent, first make a selection from the Model list of the Multiphase Model dialog box.
Setup → Models → Multiphase
Edit...
Next, open the Phase Interaction dialog box (Figure 6.80: The Phase Interaction Dialog Box).
Setup → Models → Multiphase → Phases
Edit... → Interaction...
Click the Mass tab and then specify the Number of Mass Transfer Mechanisms greater than . The Mechanism drop-down list will appear. Next, select user-defined from the Mechanism drop-down list to open the User-Defined Functions dialog box (Figure 6.81: The User-Defined Functions Dialog Box).
Select the function name (for example, liq_gas_source::udf) and click . The UDF name will appear in the field below the Mechanism drop-down list in the Phase Interaction dialog box. Click to close the Phase Interaction dialog box.
See
DEFINE_MASS_TRANSFER
for details
about DEFINE_MASS_TRANSFER functions.