Having a smooth transition from your Dirichlet boundary condition will probably yield a physical result.