How can I define mass exchange between phases in multiphase flow?
In the multiphase flow model, it is possible to define the mass exchange between the phases by a constant or a user-defined function (UDF).
If you want to set in constant, click “Interaction...” in the Phases panel to open the Phase Interaction panel. Then, click on the Mass tab. Change “Number of Mass Transfer Mechanisms” to “Change Mechanism to Constant Rate” and set a numerical value.
If you want to use a UDF, use the DEFINE_MASS_TRANSFER or DEFINE_LINEARIZED_MASS_TRANSFER macro to define the mass exchange and use, then compile and load it. Then, select “user-defined” for the Mechanism in the Phase Interaction panel and import the UDF link.
In addition, you can also use the DEFINE_SOURCE macro. In this case, by the source set of the Fluid panel, you will need to link to each phase of the source term.