The subject of this paper is to propose a numerical algorithm for solving 2D diffusion and diffusion-wave equations of distributed order fractional derivatives. Such equations arise in modelling complex systems and have many important applications. Existence of integral term over the order of fractional derivative causes the high complexity of these equations and so their numerical solutions needs special cares. Using Gauss quadrature approach for discretizing the integral term of fractional derivative converts the distributed equation into a multi-term fractional differential equation. Then, the time variable is discretized with a suitable finite difference approach. The resultant semi-discretized equations are fully discretized by a radial basis function-generated finite difference based method. Convergence of the method are studied numerically. Various kind of test problems are considered for a comprehensive numerical study and the results confirm the efficiency of the method.