A network simulation for drainage of static foam columns