Rotating drum- how to output the radial velocity distribution map of the particles

Hello, everyone, I am doing a model about 3d rotating drum. I try to output the radial velocity distribution map of particles by adding UDF. Which file should I modify under the model directory?