A generalized drift-diffusion model for rectifying Schottky contact simulation