Thursday, September 17, 2015

Combining Two Reaches or Splitting One

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

Suppose you have two separate HEC-RAS rivers and wish to combine them.  There is no “combine two rivers” option in HEC-RAS, but it can be done using the Move Points/Objects option.  Take the very simple reach presented below:

image

I wish to combine the Upper Tualatin with the Clackamas reach of the Willamette River.  In the figure above, they are disconnected-two separate rivers.  Select Edit…Move Points/Objects and
you’ll notice your cursor change to a pointer with an arrowed cross, and the vertices of the cross section and stream centerlines will highlight.


image

It’s helpful to zoom in close so you can see the end point nodes and so that you don’t accidentally grab a cross section node. 

image

Now simply grab the end point of one river and drag it on top of the end point of the other and release the mouse button. 

image

HEC-RAS will assume you want to put a junction here and will ask you what you want to name it.  It doesn’t matter what you put in for a name, because you will be deleting the junction next.

image

Make sure to uncheck the option to Move Points/Objects and then select Edit…Delete…Junctions.

image

Delete the temporary junction and you’re done.  You may need to close and reopen the HEC-RAS geometry schematic to make it look visually correct.

image

HEC-RAS will automatically take the name of the upstream of the two rivers for the new combined reach.  You can change the name of the river and/or reach using the Edit…Change Name menu item.  It is very important that your river stationing for the two reaches are consistent prior to doing this operation, or it will not work.  River stations must always be in descending order from upstream to downstream.
Now let’s say you want to do the reverse and split a single reach into two reaches.  This two involves a temporary junction.  But to get HEC-RAS to insert a junction, you must draw a temporary tributary river.  You can see in the figure below a new river has been drawn from the upper right to the point on the original river where I want to split it.  Double click the end of the line right on top of the existing river, so that HEC-RAS will recognize you want to create a junction. 

image

First HEC-RAS will ask you for the name of the new river/reach.  Again, the name doesn’t matter, we’ll be deleting it later. 

image

Next, HEC-RAS will ask if you wish to split the reach.  Say yes.

image

Now you have to give a new name for the reach below the split.  I’ll call it Willamette Clackamas, to take it back to the original two reaches I started with.

image

Now enter a temporary junction name.

image

If HEC-RAS asks if you want to increase the schematic extents, select Yes.  Now we have a river that was split into two by creating a temporary junction.

image

Since the temporary river and the temporary junction were only used to split the original river into two, go ahead and delete them using Edit…Delete…Junction and Edit…Delete…Reaches.
Now the rivers are disconnected, but they still don’t look like it in the schematic.  You can verify that they are disconnected by checking to see if the new river and reach name show up or by clicking on one and seeing how HEC-RAS highlights it.  Notice here only the lower of the two rivers is highlighted when I click on it.

image

If you want to visually make them look disconnected, use the Edit…Move Points Objects option again to pull the end points of the streams apart.  Again, it helps to zoom in to do this. 

image

Uncheck Edit…Move Points/Objects, and we’re done.  If you want it to look exactly like before, you can drag the stream centerline endpoints all the way back to the cross sections, but this is not necessary and has no effect on the computations. 

image

4 comments:

  1. A reviewer of asking me to split up a continuous reach into multiple reaches even though it has no tributaries or flow splits. Is it possible or recommended? When I do it using the above procedure, if I leave the junction the model uses the junction as boundary conditions between these fake reaches, but gives an error for having a junction where there is no trib or split, if I delete the junction it runs but requires boundary conditions be re-defined for each reach.

    ReplyDelete
  2. I imported the geometry of model 2 into an existing model 1 and the river reach did not plot, however, the river stations and their cross sections did. ? I first had to change projection of geometry 2 from NAD 83 to NAD 27 in order for it to align with geometry 1. I guess I'm curious why the river does not plot, although it did import? I re-digitized the river that did not seem to import using google maps and the station cross sections, but now I need to rename the river to match the river identified in the station. When I attempt to do so, I get a message stating "Existing river-reach: cannot be renamed because another river-reach already has that name." If I remove the river, it removes all the associated stations and cross sections, which I need. How is the best way to rename the river to match that what is identified in the river stations? TK (USBR)

    ReplyDelete
    Replies
    1. Hmmm. Not sure what’s happening there. I would suggest trying to import again but use a different name for your imported river reach. Then once in RAS, move the reach end point to combine the reaches.

      Delete