Pages

Showing posts with label critical depth. Show all posts
Showing posts with label critical depth. Show all posts

Tuesday, June 24, 2014

Tuesday Tip of the Week–Computing Critical Depth Everywhere for Unsteady Flow

Written by Christopher Goodell, P.E., D.WRE  |  WEST Consultants Copyright © The RAS Solution 2014.  All rights reserved.   As a follow up to the just-posted Critical Depth Primer, I want to share a trick for getting HEC-RAS to compute and display critical depth at every cross section for unsteady flow.  As I mentioned in the previous post, if you are running a steady flow model, there is an option to have RAS compute critical depth everywhere.  It is located in the steady flow analysis window, under Options…Critical Depth Output Option. image This will tell RAS to compute critical depth everywhere, and if you have the critical depth elevation variable turned on in your output plot, you’ll see critical depth plotted at every cross section. 
However…what if we want to have critical depth computed at every cross section for an UNSTEADY FLOW model?  There is no such option in the unsteady flow analysis window.  To make RAS compute critical depth everywhere in unsteady flow, you have to open up the steady flow analysis window, and select Options…Critical Depth Output Option (just like the figure above).  Once you check the box, just close the steady flow analysis window without saving that steady flow plan.  Then go to File…Save on the main RAS window.  There you go.  RAS will now compute critical depth everywhere for that unsteady flow plan.





Critical Depth Primer

Written by Christopher Goodell, P.E., D.WRE  |  WEST Consultants Copyright © The RAS Solution 2014.  All rights reserved.   Critical depth is an important hydraulic parameter when evaluating hydraulic modeling results.  As we know from our college hydraulics 101 class, water flowing at depths less than critical depth is supercritical and water flowing at depths greater than critical depth is subcritical.  Supercritical flow is characterized by relatively shallow depths and high velocities.  Subcritical flow is characterized by relatively deep depths and slower velocities.  The forces dominating the movement of supercritical flow are inertial, while the forces dominating the movement of subcritical flow are gravitational.  The flow regime (subcritical or supercritical) a particular cross section, or series of cross sections is in, can be determined by the Froude Number, image, where F = Froude Number, V = Velocity, g = gravitational constant, and d = depth. A Froude Number greater than 1 indicates supercritical flow, a Froude Number less than 1 indicates subcritical.  A Froude Number = 1 is considered “critical” and possesses the minimum amount of specific energy (potential energy plus kinematic energy, per unit mass).  This is considered an unstable condition in nature and is very rare.  If you ever get a Froude Number = 1 in your results, most likely, there is a problem with the computations (i.e. in steady flow, RAS could not come up with a valid solution, so it defaults to critical depth).  For those of you who have run steady flow HEC-RAS models, you know that there are three flow regime options for computing a steady flow run:  subcritical, supercritical, and mixed flow (both sub and supercritical).  If you select RAS to run in subcritical, and somewhere in your system RAS is not able to compute a valid subcritical answer, then it defaults to critical depth and moves on.  If you select RAS to run in supercritical, and somewhere in your system RAS is not able to compute a valid supercritical answer, then it also defaults to critical depth and moves on.  If you select mixed flow, RAS will compute both a subcritical and supercritical profile and anywhere there is a valid solution for both regimes, RAS will select the one that has the higher specific force value.  If, in mixed flow, there are any cross sections that “default to critical depth”, that means there was a problem with RAS obtaining a solution.  Usually, this means your cross section spacing is too far apart, you are in an area of rapidly varied flow (with not enough cross sections), or just bad input data.  In unsteady flow, contrary to intuition, checking the “Mixed Flow” box in the unsteady flow analysis window does NOT tell RAS to evaluate both sub and supercritical solutions.  This is done anyway in unsteady flow-whether “Mixed Flow Regime” is checked or not.  Let me repeat:  HEC-RAS can compute solutions in both subcritical and supercritical in unsteady flow regardless of whether “Mixed Flow Regime” is checked or not.  Checking the “Mixed Flow Regime” box in the unsteady flow analysis window simply uses a stabilizing scheme for situations near critical depth and with large changes in velocity with respect to time (the local acceleration term in the St. Venant Equation).  This is described further in http://hecrasmodel.blogspot.com/2011/04/mixed-flow-regime-options-lpi-method.html.   It’s very helpful to understand the solution you’ve obtained after running RAS by viewing the water surface profile plot with the “critical depth” variable turned on.  This allows you to gage how close you are to critical depth, and more importantly, allows you to quickly evaluate if your solution has defaulted to critical depth anywhere, indicating a problem with the solution.  The critical depth variable can be turned on in any of the graphical plots by selecting Options…Variables.  Then check the box next to Critical Depth Elevation.  image   When you do this, RAS will plot critical depth, but ONLY at certain locations.  Notice the plot from the Single Bridge HEC-RAS example data set.  Critical depth (in red) is only plotted downstream of the bridge, and at a couple of cross sections upstream of the bridge.  That is because RAS will only compute critical depth if your answer is supercritical, close to critical depth, or RAS is not able to come up with a valid solution (defaulting to critical depth) and at the boundaries.  image If you would like HEC-RAS to compute critical depth everywhere for you, go to the steady flow analysis window, and select Options…Critical Depth Output Option.  image
Then check the box next to “Critical Always Calculated.














Thursday, October 3, 2013

Downstream Boundaries

Written by Chris Goodell | WEST Consultants
Copyright © RASModel.com. 2013.  All rights reserved.

I just received this question about downstream boundaries in HEC-RAS, and thought it would make a nice post here on RASModel.com.

"...regarding the boundary condition, if I use critical depth instead of normal depth will it be unacceptable?  When choosing the normal depth I need to enter a slope, can i use just one slope for the whole stream?"

Either critical or normal depth will work fine IF they are far enough downstream from your area of interest.  Normal depth is usually better, because it is typically a better representation of actual stream conditions.  Critical depth is only accurate when used at a significant grade break, a drop structure, a waterfall, etc., where flow passes through critical depth.  Critical depth does not happen in natural streams very often, and usually the water depth is nowhere near critical depth.  Using critical depth for a typical section of natural river is wrong.   That’s why I tend to always use normal depth.  However, using critical depth as a boundary condition is convenient (it’s easy to use, right?!?!), so it does have some merit. 

For normal depth, the slope you enter is not the slope of your modeled reach.  It represents the slope of the reach downstream of your downstream-most cross section.  You can often times approximate this slope by using a topographic map and locating where topo lines cross the stream, then measure the streamwise distance between them.  But remember this should be done DOWNSTREAM of your downstream cross section.  Normal depth as a boundary condition in RAS is applied to one cross section only-the downstream cross section, and using it means you are assuming that the reach just downstream of your downstream cross section is flowing under uniform (normal) conditions.  This too, is almost never the case in a natural stream due to the constant variation of cross section size and shape.  However, it is much closer to the true solution than critical depth is. 

The bottom line is both methods (in fact ALL methods) for assigning a downstream boundary have some inaccuracies.  That is why it is important to maintain distance between your downstream boundary and the area of your model that you are interested in.  One of the great things about the solution scheme in HEC-RAS is that it is "self-healing".  In other words, if there is an error at a specific location (due to a bad boundary condition, improper n value, poor survey data, that error will diminish the further away from that location you move.  At some point upstream, the effect of that error will no longer be "felt".  How far downstream you need to place the downstream boundary is variable, but you can test this by trying different downstream boundary assumptoins (critical depth and normal depth, or simply normal depth with a bunch of different normal slope assumptions) and seeing how far upstream you need to be to not see an effect from different downstream boundary assumptions.  This post demonstrates this technique:  http://hecrasmodel.blogspot.com/2010/01/downstream-boundary-normal-depth.html