Simulation of a 2-d wet foam with periodic boundary conditions