Electron transport of inhomogeneous Schottky barriers: A numerical study