Numerical simulation of the flow around rows of cylinders