A thermomechanical model for the extensional processes in the NW Mediterranean