Former grand prix driver Lucas di Grassi will join Audi's LMP1 lineup in 2013.