Subject: What are the Units for the five St. Venant Flow Terms in SWMM 5 and InfoSWMM?
This is how the flow is calculated in a link in SWMM5. It uses the
· Upstream and downstream head,
· The user input length,
· The weighted cross sectional area and hydraulic radius as I explained in the previous email,
· The Center velocity,
· The Center Cross sectional area, and
· The Upstream and Downstream Cross sectional area.
The slope as listed in the output file is more for reference and is actually not used in the St. Venant Solution. The way the program usually works is that the friction slope lags the water surface head slope with the difference made up by the change in flow. The two non linear terms are usually small and only affect the flow during reverse or backwater events.
The new flow (Q) calculated at during each iteration of time step as
(1)Q for the new iteration = (Q at the Old Time Step – DQ2 + DQ3 + DQ4 ) / ( 1.0 + DQ1 + DQ5)
In which DQ2, DQ3 and DQ4 all have units of flow (note internally SWMM 5 has units of CFS and the flows are converted to the user units in the output file, graphs and tables of SWMM 5).
The equations and units for DQ2, DQ3 and DQ4 are:
(2)Units of DQ2 = DT * GRAVITY * aWtd * ( H2 – H1) / Length = second * feet/second^2 * feet^2 * feet / feet = feet^3/second = CFS
(3)Units of DQ3 = 2 * Velocity * ( aMid – aOld) * Sigma = feet/second * feet^2 = feet^3/second = CFS
(4)Units of DQ4 = DT * Velocity * Velocity * ( aDownstream – aUpstream) * Sigma / Length = second * feet/second * feet/second * feet^2 / feet = feet^3/second = CFS
The equations and units for DQ1 and DQ5 are:
(5)Units of DQ1 = DT * GRAVITY * (n/PHI)^2 * Velocity / Hydraulic Radius^1.333 = second * feet/second^2 * second^2 * feet^1/3 * feet/second / feet^1.33 = Dimensionless
(6)Units of DQ5 = K * Q / Area / 2 / Length * DT = feet^3/second * 1/feet^2 * 1/feet * second = Dimensionless
The five components calculated at the each time step and at each iteration during a time step and together predict the new Link Flow (Q) in SWMM 5. The value of the different components can be seen over time in Figure 1 and as a component percentage in Figure 2 and 3.
Figure 1: The Five St. Venant Components over time.
Figure 2: The relative magnitude of the St Venant terms over time for the same for the same link as in Figure 1.
Figure 3: The relative magnitude of the St Venant terms over time for the same for the same link as in Figure 1 shown in an area chart normalized to 100 percent. Normally the DQ1 and DQ2 terms balance each other except for backwater conditions or reverse flow in which the terms DQ3 and DQ4 can dominate.
Comments
The QA/QC report from the EPA Web Sitehas further information on the SWMM5 solution and of course the open source SWMM 5 code can be viewed for free
map of the code is shown here http://swmm2000.com/page/swmm5-code-mindmaps
//-----------------------------------------------------------------------------
// dynwave.c
//
// Project: EPA SWMM5
// Version: 5.0
// Date: 3/11/08 (5.0.013)
// 1/21/09 (5.0.014)
// 4/10/09 (5.0.015)
// 6/22/09 (5.0.016)
// 10/7/09 (5.0.017)
// 11/18/09 (5.0.018)
// 07/30/10 (5.0.019)
// 04/20/11 (5.0.022)
// Author: L. Rossman
// R. Dickinson
//
// Dynamic wave flow routing functions.
//
// This module solves the dynamic wave flow routing equations using
// Picard Iterations (i.e., a method of successive approximations)
// to solve the explicit form of the continuity and momentum equations
// for conduits.
Downloads
I am often asked what this equation means. It is a simple equation that says that:
(1) water is neither created or destroyed or the water in the stream is conserved,
(2) water flows downhill,
(3) water slows down as the stream widens,
(4) water has to overcome friction loss from the sides and bottom of the stream,
(5) water slows down if there are obstructions in the stream or there are form losses such as bend, contraction and expansion losses.