Study of a transport problem in a twodimensionalporous medium