Numerical study of electrical transport in inhomogeneous Schottky diodes