A three-dimensional model for calculating the concentration distribution in inhomogeneous turbulence