[ANSYS, Inc. Logo] return to home search
next up previous contents

5.1 Population Balance Variables

The macros listed in Table  5.1.1 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.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 ( $f_i$) of the total volume
fraction for the $i$th size bin
C_PB_SMMI cell_t c, Thread *t, int i $i$th moment
C_PB_QMOMI cell_t c, Thread *t, int i $i$th moment, where $i=0,1,2,3,4,5$
C_PB_QMOMI_L cell_t c, Thread *t, int i abscissa $L_i$, where $i=0,1,2$
C_PB_QMOMI_W cell_t c, Thread *t, int i weight $w_i$, where $i=0,1,2$
C_PB_DISCI_PS cell_t c, Thread *t, int i net source term to $i$th size bin
C_PB_SMMI_PS cell_t c, Thread *t, int i net source term to $i$th moment
C_PB_QMOMI_PS cell_t c, Thread *t, int i net source term to $i$th moment


next up previous contents Previous: 5. UDFs for Population
Up: 5. UDFs for Population
Next: 5.2 Population Balance DEFINE
Release 12.0 © ANSYS, Inc. 2009-01-12