Pages

Showing posts with label Flow Data. Show all posts
Showing posts with label Flow Data. Show all posts

Tuesday, December 6, 2016

Time Series Outflows for Dams

Written by Chris Goodell, P.E., D. WRE | WEST Consultants
Copyright © The RAS Solution 2016. All rights reserved.

Want to simulate a time series of outflows for a dam?  It's easy.  In Version 5.0.3 there's a new feature called Outlet T.S. (Outlet Time Series) in the inline structure editor.  



Click the Outlet TS button and give your new time series a name.  You might name it "Powerhouse" or "Fish Bypass" or something like that.  Once you name it and click OK, it seems like nothing happens.  But what you've done is added the ability for the inline structure to have a flow hydrograph assigned to it in the unsteady flow editor.  

Open up the unsteady flow editor and select the "Add RS..." button.  Then select the inline structure to add it to the list of Boundary Conditions.  Notice in this example, I already have a time series of gate openings assigned to this inline structure.  No matter...just add another boundary condition.  If you click on the empty cell next to the inline structure, you'll see that "Flow Hydrograph" is now an available boundary condition type.


Select the Flow Hydrograph button and now you can enter in a time series of flows for whatever feature you are modeling.  



By the way, this new feature is also available for lateral structures.  

Wednesday, September 30, 2015

Transect for Extracting Flow in a 2D Area

Written by Christopher Goodell, P.E., D.WRE  |  WEST Consultants
Copyright © The RAS Solution 2015.  All rights reserved.

*Update:  Version 5.0.2 now does flow transects in RAS Mapper with profile lines.  No longer necessary to use a 2D Area Connection to do this.

A very common output request in 2D modeling is for flow over (through) a transect line.  HEC-RAS 5.0 does not have a specific tool for extracting flow data along a line in a 2D area, however it CAN be done.  Here’s how you do it.
Inside your 2D area, draw a 2D Area Connection where you would like to extract flow.  In the figure below, I’ve drawn my 2D Area Connection line from bottom to top, which represents left to right, looking in the downstream direction. 
image
Notice that with the completely orthogonal cell orientation, but with a skewed 2D Area Connection line, the black and red striped connection line is “jagged”, following cell faces between the connecting cells.   To fix this, we need to use a breakline.  You could draw a break line on top of the 2D Area Connection (click the 2D Area Break Lines button on the top of the Geometric Data window), however, HEC-RAS also has a short cut for putting breaklines on 2D Area Connections.  If you right click on the 2D Area Connection (I’ve named if “Flow Line”), you’ll see an option to “Create 2D Flow Area Breakline”.  Select this for quick cell re-orientation around the 2D Area Connection Line.
image
image
Now you’re ready to enter data to the 2D Area Connection that you’ll use for extracting flow.  Click the SA/2D Area Conn button on the left side of the Geometric Data window. 
Make sure you connect “From” and “To” to the same 2D flow area.  Then choose “Normal 2D Equation Domain”.  This will force RAS to use the same 2D St. Venant equations over the terrain under the 2D Connection line as if the connection line wasn’t there.  BUT…you still have to define the Structure Type as a Weir and provide station-elevation data to define the crest of the weir, even though RAS will not use it.  Maybe this gets fixed in a later version.  HEC makes this easy though as you can extract the terrain profile from the 2D Connection cutline by clicking the button “Terrain Profile” as shown below.  Just copy and paste the terrain profile into your station-elevation table and you will  have defined a “zero-height” weir.  I guess it’s possible to use any crest definition, since RAS shouldn’t use the weir equation-it will use the normal 2D equation domain, but I haven’t tried it. 
image
Now you are ready to compute.  After computing, go to the Stage and Flow Hydrographs output window.
image
Make sure you select Type…Storage Area Connections (yes, it is technically an SA/2D Area Connection, but HEC hasn’t gotten around to renaming this yet in this window).  Now you can see the flow hydrograph for the flow line you’ve drawn.  You can check, but you’ll see the results are exactly the same as before including the flow line.

image

Friday, July 31, 2015

Using User-Defined Curves for Gates

Written by Christopher Goodell, P.E., D.WRE  |  WEST Consultants
Copyright © The RAS Solution 2015.  All rights reserved.

HEC-RAS allows for four different gate types that will compute the stage-discharge relationship of that gate for you based on the physical size/shape of the gate and a few empirical coefficients:  Sluice Gates, Radial Gates, Overflow Gates (closed top) and Overflow Gates (open air).  However, sometimes the built-in gate types don’t quite fit the gate that you want to simulate.  Or perhaps you have a unique spillway that can’t be captured adequately with the simple weir equation that HEC-RAS uses.  Either way, if you can come up with your own rating curve (state-discharge relationship) for the gate or hydraulic structure, you can model it accurately in HEC-RAS using the “User Defined Curves” gate type. 

image

As you can see, the User Defined Curves, although not a gate “type” in the literal sense, is added as the fifth gate type that you can choose from.  To use User Defined Curves, first add a new gate group to your inline structure (can also be used with lateral structures or SA/2D area connections) by entering in some geometric properties.  When using curves, the height and width are inconsequential-they don’t matter, because they won’t be used.  Just make sure that the height is at least as high as the highest gate opening setting you will use.  The invert is important, because that is what determines at what stage HEC-RAS will begin using the rating curves.  The centerline stationing just tells HEC-RAS how many gates you will have.  Again, the actual  stationing is inconsequential, just make sure you have the correct number of stations included.  Finally, enter in the user defined curves by pressing the Enter/Edit User Defined Curves… button. 

image

After entering the User Defined Gate Performance Curves window for the first time, you’ll notice that you must click on the “New” button image  to start a new set of curves.  Click New, then enter a name for the curves set. 

image

The first column, column 1, starting below the Gate Open Ht\HW entry, put in gate openings you wish to define curves for.  Each gate opening will have its own rating curve.  If you are putting in just a single rating curve (e.g. a spillway-maybe a morning glory type spillway), I always put in a zero gate opening curve in row 2 (with values of zero discharge for each headwater entry) and then the gate opening I wish to define goes in row 3.  No need for any more rows to be entered for single rating curves  The “zero” curve may or may not be necessary.  It seems to change with each new version of HEC-RAS.  Also, with a single rating curve, the gate opening value you enter in the first column really doesn’t matter.  It can be anything as long as it is equal to or less than the arbitrary gate height you defined in the gate editor AND it is the gate opening you use for the unsteady flow editor boundary condition (more on this in just a bit).  For a family of curves, you’ll want to put in a curve for a number of different gate openings, spanning the range of gate openings you plan to use in the simulation. 

Next enter in some headwater elevations (HW) in the first row.  You need at least 2 HW entries so that HEC-RAS can interpolate/extrapolate if necessary.  But the more HW values you enter, the more definition you’ll have.  The first headwater entry should be the invert of the gate (or spillway) and should get all zero values for discharge in that column.  The last headwater entry should be equal to or greater than the largest stage you expect to have in the forebay (although it doesn’t have to be, HEC-RAS will extrapolate). 

image

Press the Plot… button just to make sure that the curves look correct.

image

The final step is to go into the unsteady flow editor and set an internal boundary condition for the user defined gates.  You can select from Time Series Gate Openings (T.S. Gate Openings), Elevation Controlled Gates, Navigation Dams, or Rules).  Typically you’ll stick with one of the first two, the latter two are for advanced applications.  If you have a single rating curve, select T.S. Gate Openings and then just enter in the gate opening you have in the user defined curves for the entire simulation.  If you have a family of curves (as illustrated above), you can use T.S. Gate Openings or Elevation controlled gates, which ever suits your needs.  Elevation controlled gates allows HEC-RAS to determine how much to open the gate(s), based on the water surface elevation at a target location.  With T.S. Gate Openings, you simply tell HEC-RAS what the gate opening will be for each computation interval. 

image

Now you’re ready to compute.

Tuesday, October 21, 2014

Sediment Transport Quasi Unsteady Flow Editor Flow Series Error

Written by Chris Goodell, P.E., D.WRE  |  WEST Consultants
Copyright © The RAS Solution 2014.  All rights reserved.
“Flow or Temp time series date is not sufficient to run requested time window.”  This one has been around for a while, but it just showed up again on the Facebook HEC-RAS User’s Group, so I thought I’d show the fix(es) here.  This applies to the new beta version of 5.0, as well as previous versions of HEC-RAS that can run sediment transport. 
When running a sediment transport model, if this error message pops up, there are at least three possible reasons.
image
1.  Make sure you have both flow AND temperature time series data.