Equilibrium driven 1

A fluxing procedure for areas with ponded water. The movement of water between cells is defined by the flow from cells with higher stage to cells with lower stage. As a result the water runs towards equilibrium. We assume that fluxes are defined by the stage difference between cells:
Hi - Hi+1

First, for each cell in the StudyArea we calculate the amount of water that is to be moved. Then we update the Surface Water variable in each cell, adding water to the recipient cells and subtracting water from donor cells. Also move 'Stuff' together with water, in proportion to the amount of water moved. 'Stuff' can be dissolved (nutrients), or suspended (detritus, sediment). It has to be uniformly distributed in the cell volume, so that its flux can be assumed proportional to water transport.


E-mail to Alexey Voinov