Simulation of water distribution