SWMM5 - Stormwater Management Model

SWMM 5, Watersheds, Water Quality,Hydrology, Hydraulics - Watersheds

Minor Losses 5.0.009

Under dynamic wave flow routing, both SWMM 4 and 5 treat conduit entrance and exit losses as an average energy loss spread over the entire length of the conduit, analagous to the way that the friction head loss is treated. However, rather than using “average” values for hydraulic variables as is done for friction loss, the entrance loss is based on values at the upstream end of the conduit while the exit loss uses values from the downstream end. It appears that hydraulic results obtained using this approach violate the Bernoulli energy equation for steady, subcritical flow conditions where conservation of energy should apply. We illustrate this point with a simple example and suggest a modification to the code that improves the energy balance obtained.


The figure below shows a simple 3 channel system with a fixed downstream boundary condition. Each channel is rectangular, with a width of 2 ft, a maximum height of 1 ft. and a roughness value of 0.01. A steady inflow of 2 cfs is introduced at the upstream end. The steady water profile that results when there are no local losses is shown in the figure.


Because the flow is steady, the Bernoulli energy equation should be satisfied across each channel link where subcritical flow conditions occur. This equation states that the total energy head at the upstream end of the channel minus any energy losses ocurring within the channel must equal the total energy head at the downstream end of the channel. For the middle channel between nodes 2 and 3 with no entrance or exit losses this equation would be:



where Hi = elevation head at node i, Vi = velocity in channel at node i, g = acceleration of gravity, and hf = friction head loss in the channel. The latter term can be computed from the Manning equation:



where L = channel length, n = Manning roughness, V = average velocity in the channel and R = average hydraulic radius in the channel.

For the conditions shown in Figure 1, a SWMM 5 run using dynamic wave routing with inertial terms included gives the following results:


Upstream Conditions

Downstream Conditions

Average Conditions

H2 = 4.4035 ft

H3 = 2.2681 ft

Q = 2.0000 cfs

Y2 = 0.4035 ft

Y3 = 0.2681 ft

Y = 0.3358 ft

A2 = 0.8070 ft2

A3 = 0.5362 ft2

A = 0.6716 ft2

V2 = 2.4783 ft/sec

V3 = 3.7300 ft/sec

V = 2.9780 ft/sec

L = 800 ft

n = 0.01

R = 0.2514 ft

V22/2g = 0.0954 ft

V32/2g = 0.2160 ft

hf = 2.0140 ft


And the Bernoulli equation is satisfied as follows:


LHS: 4.4035 + 0.0954 – 2.0140 = 2.485

RHS: 2.2681 + 0.2160 = 2.484


Now consider what happens when an entrance loss with coefficient value of 10 is applied to the middle conduit. The Bernoulli equation is modified to include the additional loss term on the RHS:



When this entrance loss is added to the middle channel in the current version of SWMM the resulting energy balance looks as follows:


Upstream Conditions

Downstream Conditions

Helev = 4.5070 ft

Helev = 2.2681 ft

Hveloc = 0.0604 ft

Hveloc = 0.2160 ft

Hfric = 1.3212 ft

Htotal = 2.484 ft

Hent = 0.6041 ft


Htotal = 2.642 ft



These SWMM results no longer satisfy the Bernoulli equation:


If instead we introduce an exit loss with coeffcient of 10 to the middle channel the discrepancy is even worse:


Upstream Conditions

Downstream Conditions

Helev = 4.6131 ft

Helev = 2.2681 ft

Hveloc = 0.0413 ft

Hveloc = 0.2160 ft

Hfric = 0.9057 ft

Htotal = 2.484 ft

Hexit = 2.1603 ft


Htotal = 1.588 ft



We believe that the problem lies in how the entrance/exit loss value, KVe2/2g, is embedded into the finite difference form of the momentum equation. The latter equation includes the Manning equation for the standard friction slope term:



which is a loss per unit length along the channel, with k given by g(n/1.49)2. By analogy with this term, the entrance/exit loss is also expressed as an energy slope term as follows:



where the subscript e represents either the channel entrance or exit location. When the conservation of mass and momentum equations are expressed in finite difference form, the following result for flow Q at time t+t is obtained:



where has been factored out of the expressions for hf and he.


Neither SWMM 4 or 5 currently contains the (A/Ae) factor when computing the entrance/exit loss term. When this term was introduced into SWMM 5, the following Bernoulli equation results were obtained for the test problem with entrance and exit losses, respectively:


Entrance Loss Example

Upstream Conditions

Downstream Conditions

Helev = 4.4859 ft

Helev = 2.2681 ft

Hveloc = 0.0658 ft

Hveloc = 0.2160 ft

Hfric = 1.4338 ft

Htotal = 2.484 ft

Hent = 0.6577 ft


Htotal = 2.460 ft



Exit Loss Example

Upstream Conditions

Downstream Conditions

Helev = 4.9136 ft

Helev = 2.2681 ft

Hveloc = 0.0186 ft

Hveloc = 0.2160 ft

Hfric = 0.3887 ft

Htotal = 2.484 ft

Hexit = 2.1603 ft


Htotal = 2.383 ft



These results are closer to meeting an energy balance but are still not perfect. One other issue to consider is how the average area A and hydraulic radius R are computed within a conduit when computing the friction head loss. This is an old topic that has seen different approaches used within various versions of SWMM. Currently, both SWMM 4 and 5 compute A and R using a depth equal to the average of the upstream and downstream depths. One alternative method is to take the average of the A and R values computed at the depths at each end of the conduit. When this method was utilized in SWMM 5 the Bernoulli results for the two test cases were as follows:


Entrance Loss Example

Upstream Conditions

Downstream Conditions

Helev = 4.4894 ft

Helev = 2.2681 ft

Hveloc = 0.0648 ft

Hveloc = 0.2160 ft

Hfric = 1.4142 ft

Htotal = 2.484 ft

Hent = 0.6483 ft


Htotal = 2.492 ft



Exit Loss Example

Upstream Conditions

Downstream Conditions

Helev = 4.9340 ft

Helev = 2.2681 ft

Hveloc = 0.0178ft

Hveloc = 0.2160 ft

Hfric = 0.3703 ft

Htotal = 2.484 ft

Hexit = 2.1603 ft


Htotal = 2.421 ft



These results come even closer to satisfying the energy balance. However, redefining the way that SWMM computes an average A and R would likely change flow and depth results for many existing models that do not include entrance/exit losses. The subsequent confusion that would occur does not seem worth the slight improvements in energy closure achieved. Therefore it is recommended that only the (A/Ae) correction be applied to the SWMM 5 code.

Last updated by Robert E Dickinson Apr. 22, 2008.

Latest Activity

Robert E Dickinson added a blog post
Image via Wikipedia http://sciencenow.sciencemag.org/icons/blueplus.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; margin-right: 0px; margin-bottom: 1em; margin-left: 0px;…
1 hour ago
2 hours ago
Snowlapse Monday, February 8th, 2010 Noel St. John, quasi-official photographer of TheAgitator.com, made this very cool time-lapse animation of the D.C.-area’s blizzard this past weekend.
2 hours ago
Robert E Dickinson added 2 blog posts
yesterday
A blog post by Robert E Dickinson was featured
The solution is iterative but each iteration is dependent on the CFL or explicit time step. The time step we select is based on the CFL condition but instead of just using the explicit solution we iterate until the node depths are converged or a max…
on Friday
Marisa Oliveira is now a member of SWMM5 - Stormwater Management Model
on Thursday
Robert E Dickinson added a note
A BETTER TEXT EDITOR, ON FORUM AND BLOG POSTS For Ning Creators and members alike, adding content is an essential part of any Ning Network. When it comes to adding text, the text editor members rely on should be as easy to use as possible. Sta…
on Thursday
February 1
Chris Olson is now a member of SWMM5 - Stormwater Management Model
February 1
End of January version of QA/QC GUI and Engine Epaswmm5.exe swmm5.dll
January 31
Robert E Dickinson added 2 notes
January 30
Robert E Dickinson added a blog post
A Short History of Hydrogen Sulfide From the sewers of Paris to physiological messenger Roger P. Smith from http://www.americanscientist.org/issues/pub/2010/1/a-short-history-of-hydrogen-sulfide/2 Early last year, reports began to emerge in the Sout…
January 30
Robert E Dickinson Ich bin ein Watershed Engineer, die weniger Überschwemmungen und eine bessere Wasserqualität für die Erde will.
January 30
Robert E Dickinson added a page
January 30
Robert E Dickinson added a page
January 30
Robert E Dickinson added a page
January 30
Robert E Dickinson added a note
As rivers go, the Mississippi is one of the world’s biggies. It’s 3.734 km (2.320 mi) long and has a watershed of more than 3,2 million sq. km (1.245.000 sq. mi), the third-largest in the world (preceded only by the Amazon and Congo rivers), drai…
January 26
Robert E Dickinson added 2 photos
January 26
Robert E Dickinson added a blog post
Comment: A really nice water analogy for the field properties Divergence, Curl and Gradient from the Blog Starts With a Bang ....it's pretty mathematically intensive, but what's missing from most textbooks and E&M courses are physical explanations…
January 24
Robert E Dickinson added 2 notes
January 24

© 2010   Created by Robert E Dickinson

Badges  |  Report An Issue | SWMM 5 Blog  |  Privacy  |  Terms of Service

.xg_widget_main .module_blog {height: 900px;overflow : auto;position:relative;} /* Scroll Bar for Latest Activity */ .xg_widget_main .xg_module_activity .xg_module_body {height: 900px;overflow : auto;position:relative;}