Consider the elementary control volume shown in the figure below. In this figure, distance x is measured along the channel, as shown. At the midpoint of the control volume the flow and total flow area are denoted Q(x,t) and AT, respectively. The total flow area is the sum of active area A and off-channel storage area S.
Conservation of mass for a control volume states that the net rate of flow into the volume be equal to the rate of change of storage inside the volume. The rate of inflow to the control volume may be written as: