Analysis of concentration and grain size distributions based on a diffusion concept