![]() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This section contains descriptions of DEFINE macros for the discrete phase model (DPM). Table 2.5.1 provides a quick reference guide to the DPM DEFINE macros, the functions they define, and the dialog boxes where they are activated in ANSYS FLUENT. Definitions of each DEFINE macro are contained in the udf.h header file. For your convenience, they are listed in Appendix B.
Function | DEFINE Macro | Dialog Box Activated In |
particle state at boundaries
|
DEFINE_DPM_BC
|
boundary condition
(e.g., Velocity Inlet) |
body forces on particles | DEFINE_DPM_BODY_FORCE | Discrete Phase Model |
drag coefficients between
particles and fluid |
DEFINE_DPM_DRAG | Discrete Phase Model |
erosion and accretion rates | DEFINE_DPM_EROSION | Discrete Phase Model |
heat and mass
transfer of multicomponent particles to the gas phase |
DEFINE_DPM_HEAT_MASS | Set Injection Properties |
initializes injections | DEFINE_DPM_INJECTION_INIT | Set Injection Properties |
custom laws for particles | DEFINE_DPM_LAW | Custom Laws |
modifies what is written to
the sampling plane output |
DEFINE_DPM_OUTPUT | Sample Trajectories |
material properties | DEFINE_DPM_PROPERTY | Create/Edit Materials |
updates scalar every time a
particle position is updated |
DEFINE_DPM_SCALAR_UPDATE | Discrete Phase Model |
particle source terms | DEFINE_DPM_SOURCE | Discrete Phase Model |
particle collisions algorithm | DEFINE_DPM_SPRAY_COLLIDE | Discrete Phase Model |
changes the criteria for
switching between laws |
DEFINE_DPM_SWITCH | Custom Laws |
time step control for DPM
simulation |
DEFINE_DPM_TIMESTEP | Discrete Phase Model |
equilibrium vapor pressure of
vaporizing components of multicomponent particles |
DEFINE_DPM_VP_EQUILIB | Create/Edit Materials |