2.4. Multiphase DEFINE Macros

The DEFINE macros presented in this section are used for multiphase applications, only.

Table 2.8: Quick Reference Guide for Multiphase DEFINE Macros provides a quick reference guide to the multiphase-specific DEFINE macros, the functions they are used to define, and the dialog boxes in which they are activated in ANSYS Fluent. Definitions of each DEFINE macro are listed in the udf.h header file (see Appendix C: Quick Reference Guide for Multiphase DEFINE Macros).

Appendix B: DEFINE Macro Definitions contains a list of general purpose DEFINE macros that can also be used to define UDFs for multiphase cases. For example, the general purpose DEFINE_PROPERTY macro is used to define a surface tension coefficient UDF for the multiphase VOF model. See DEFINE_PROPERTY UDFs for details.

Table 2.8:  Quick Reference Guide for Multiphase DEFINE Macros

ModelFunction DEFINE Macro Dialog Box Activated
VOFlinearized mass transfer DEFINE_LINEARIZED_MASS_TRANSFER Phase Interaction
mass transfer DEFINE_MASS_TRANSFER Phase Interaction
heterogeneous reaction rate DEFINE_HET_RXN_RATE Phase Interaction
Mixturelinearized mass transfer DEFINE_LINEARIZED_MASS_TRANSFER Phase Interaction
mass transfer DEFINE_MASS_TRANSFER Phase Interaction
drag exchange coefficient DEFINE_EXCHANGE_PROPERTY Phase Interaction
drag modification factor DEFINE_EXCHANGE_PROPERTY Phase Interaction
slip velocity DEFINE_VECTOR_EXCHANGE_PROPERTY Phase Interaction
cavitation rate DEFINE_CAVITATION_RATE User-Defined Function Hooks
heterogeneous reaction rate DEFINE_HET_RXN_RATE Phase Interaction
Eulerian linearized mass transfer DEFINE_LINEARIZED_MASS_TRANSFER Phase Interaction
mass transfer DEFINE_MASS_TRANSFER Phase Interaction
heat transfer DEFINE_EXCHANGE_PROPERTY Phase Interaction
drag exchange coefficient DEFINE_EXCHANGE_PROPERTY Phase Interaction
drag modification factor DEFINE_EXCHANGE_PROPERTY Phase Interaction
lift coefficient DEFINE_EXCHANGE_PROPERTY Phase Interaction
wall lubrication coefficient DEFINE_EXCHANGE_PROPERTY Phase Interaction
wall lubrication model parameters DEFINE_EXCHANGE_PROPERTY Phase Interaction
turbulent dispersion force DEFINE_VECTOR_EXCHANGE_PROPERTY Phase Interaction
turbulent dispersion model parameters DEFINE_EXCHANGE_PROPERTY Phase Interaction
turbulence interaction model parameters DEFINE_EXCHANGE_PROPERTY Phase Interaction
virtual mass coefficient DEFINE_EXCHANGE_PROPERTY Phase Interaction
interfacial area DEFINE_EXCHANGE_PROPERTY Phase Interaction
boiling model and quenching DEFINE_BOILING_PROPERTY Boiling Model
 heterogeneous reaction rate DEFINE_HET_RXN_RATE Phase Interaction


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