Thank you for the replay.  Do you have any sample UDF which I can modify to calculate number of particles in each cell?  The function that I am looking for is to define a new variable for each cell which stores the number density (Scalar_0) multiplied by the volume.  Once I have this, I can calculate the average value of the variable on a surface.

Thank you.