We analyze the influence of artificial viscosity on solutions of the Euler equations in the neighborhood of oblique shocks in 2D by studying a discrete, linear model equation. Based on the linear analysis an artificial viscosity model is derived. It is tested on two different test cases with the Euler equations: flow over a wedge and Mach-3 flow in a wind tunnel with a step.