Pages

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, we'll remove them now.  Right click on the junction and select "Disconnect Reaches".  Then go ahead and delete the temporary reaches using 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

24 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
  3. I have two streams that I would like to join. I use the move/edit points tool to drag one node on top of the other, and it prompts me to create a junction. So I do. But the junction isn't where I wanted it to be, it moves all the way to the top of the river, creating a long straight line from one river that crosses over the other to get to its first most upstream point. How do I stop it from doing that?

    ReplyDelete
  4. Can you model 2 structures on the same reach in Hecras?

    ReplyDelete
  5. Thanks a lot for this post, am relatively new with HEC-RAS and want to join to segments, but am having problems with the cross sections names. I think am having the problem you warn about, but am not sure how to solve it. I updated the name of the cross sections hoping this would solve the issue, but it did not. I also tried using GIS Tools-->Reach Invert Lines Table to check the location of points, but the location seems to be ok in both segments, so do not know what to do. Any advise would be greatly appreciated. Regards

    ReplyDelete
    Replies
    1. No worries, i managed to solve this. I changed the names and closed the geometry, and once i opened it again it was fine. Thanks again for the post!

      Delete
  6. Thank you very much.
    This post was very helpful!

    ReplyDelete
  7. I can split the reach into two parts with different names like I want, but when I delete the temporary items (River, Reach, Junction), HEC-RAS v5.0.6 joins the split reaches back into one reach.

    ReplyDelete
    Replies
    1. Make sure to click on the junction and select "disconnect reaches", before you delete the junction.

      Delete
  8. Thanks Chris. That step was not in the original article, but I'll add a note and try again.

    ReplyDelete
    Replies
    1. Yeah, I think somewhere between when I wrote this and the current version of RAS, they made that change in the software. I'll add a note in the original post so that others will know to do this. Let me know if it doesn't work.

      Delete
  9. This worked perfect and I got the results I wanted. As many others have stated, thank you for all your responses. This blog and the forum are an invaluable resource for HED-RAS users.

    ReplyDelete
    Replies
    1. Awesome! Glad it worked Phil. Thanks for reading the blog and thanks for the kind regards!

      Delete
  10. Hi,

    I am beginner in HEC-RAS. I have a river having multiple reaches, tributaries and Junctions. Hec-RAS is asking me to provide boundary condition at start of each reach which is connected through junction. I assumed that HEC-RAS needs only one upstream boundary for river (instead of boundaries at start of each reach). Where I am making mistake, kindly guide me. Thanks in advance

    ReplyDelete
    Replies
    1. For steady flow, at a minimum, you need to provide the flow at the upstream end of each reach. Below a converging junction, the flow should be the sum of the two tributaries. For unsteady flow, you just need an upstream boundary condition (at a minimum). However, you have to define the flows at each reach for the initial conditions.

      Delete
  11. Unluchily,my river stationing for the two reaches are NOT consistent prior. Could you please tell me what I should do to make it work? Thanks a lot!

    ReplyDelete
    Replies
    1. How about redoing your stationing so that they are consistent?

      Delete
  12. I've solved my problem by change staions' names. Thank you very much!

    ReplyDelete
  13. I used this technique to split a river into 3 reaches, I then updated the geometry (center line and topo) for the central reach. When I then delete the junctions, the old centerline reappears over the new one. How do I fix this? Or is it just there graphically and will not affect calculations?

    ReplyDelete
    Replies
    1. Try disconnecting the reaches from the junction, rather than deleting the junction. See if that works.

      Delete
    2. It will allow me to disconnect the upstream reach, but if I try to disconnect the downstream reach it gives me an error message and closes HEC-RAS. Even with the upstream portion disconnected the extra center line shows up. It doesn't seem to affect the calculations though

      Delete
  14. how to insert a tributary in the existing reach in HEC RAS 1D model

    ReplyDelete

Note: Only a member of this blog may post a comment.