On the application of the homogenization theory to a class of problems arising in fluid mechanics