There's a service called the Catalán Talgo which runs from Barcelona to Montpellier. You can find out more on the Renfe site.