In this paper,two-dimensional convection diffusion equation with boundary conditions is resolved by using the finite element method,concludes the corresponding error estimation and is carried on the numerical solution simulation.The simulation results show that the numerical solution obtained by this method have higher accuracy and faster speed.