![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
The DEFINE macros presented in this section are used for multiphase applications, only.
Table 2.4.1 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).
Appendix B 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 Section 2.3.16 for details.
Model | Function | DEFINE Macro | Dialog Box Activated |
VOF | mass transfer | DEFINE_MASS_TRANSFER | Phase Interaction |
heterogeneous
reaction rate |
DEFINE_HET_RXN_RATE | Phase Interaction | |
Mixture | mass transfer | DEFINE_MASS_TRANSFER | Phase Interaction |
drag coefficient | 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 | mass transfer | DEFINE_MASS_TRANSFER | Phase Interaction |
heat transfer | DEFINE_EXCHANGE_PROPERTY | Phase Interaction | |
drag coefficient | DEFINE_EXCHANGE_PROPERTY | Phase Interaction | |
lift coefficient | DEFINE_EXCHANGE_PROPERTY | Phase Interaction | |
heterogeneous
reaction rate |
DEFINE_HET_RXN_RATE
|
Phase Interaction
|