The macros listed in Table 5.1: Macros for Population Balance Variables Defined in sg_pb.h
can be used to return real variables associated
with the population balance model. The variables are available in
both the pressure-based and density-based solvers. The macros are
defined in the sg_pb.h header file, which
is included in udf.h.
Table 5.1: Macros for Population Balance Variables Defined in sg_pb.h
| Macro | Argument Types | Returns |
|---|---|---|
C_PB_DISCI |
cell_t c, Thread *t, int
i | fraction ( |
C_PB_SMMI
|
cell_t c, Thread *t, int i |
|
C_PB_QMOMI |
cell_t c, Thread *t, int i |
|
C_PB_QMOMI_L |
cell_t c, Thread *t, int
i | abscissa |
C_PB_QMOMI_W |
cell_t c, Thread *t, int i | weight |
C_PB_DISCI_PS |
cell_t c, Thread *t, int i | net source term to |
C_PB_SMMI_PS |
cell_t c, Thread *t, int i | net source term to |
C_PB_QMOMI_PS |
cell_t c, Thread *t, int
i | net source term to |