6.3.5. Hooking DEFINE_LINEARIZED_MASS_TRANSFER UDFs

After you have interpreted (Interpreting UDFs) or compiled (Compiling UDFs) your DEFINE_LINEARIZED_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.

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 and click OK. The UDF name will appear in the field below the Mechanism drop-down list in the Phase Interaction dialog box. Click OK to close the Phase Interaction dialog box.

See DEFINE_LINEARIZED_MASS_TRANSFER for details about DEFINE_LINEARIZED_MASS_TRANSFER functions.


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