×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Editing HEC-RAS geometric data
2

Editing HEC-RAS geometric data

Editing HEC-RAS geometric data

(OP)
I'm in HEC-RAS and trying to break a river and then delete the segment.  Does anyone know if I can do that?  Basically I want to cut off my model not a node and therefore want either add a junction and create a new reach, that I will then delete, or find a way to delete a section of river.

RE: Editing HEC-RAS geometric data

HEC-RAS files are plain text. You can do whatever you like as long as you preserve the formatting. The reach geometry is two columns from downstream to upstream read left-to-right; not the easiest to edit in Excel, but doable and then pastable back into Notepad. Save a copy before you start playing, of course!

RE: Editing HEC-RAS geometric data

(OP)
I'm nervous to mess with the text file but have heard other things I can tweak using this method.  I used to run HEC-2 and can Identify the cross sections easily, however the rivers seem daunting with "7 digit.8digit sp 7 digit.14 digit.14 digit.8 digit" numbers.  What is what?  You've said its two columns, but I can't tell where they start and stop.  This is of course guessing the river geometry preceeds the cross-sections.

RE: Editing HEC-RAS geometric data

An alternative if reading the text file gives you a headache, and if you're not really sure what to delete:

1. Create a new reach and intersect the downstream end at the location of the desired split.
2. Answer: "Do you wish to split reach..." with yes.
3. Rename the reach below the split.  Above the split the current name will remain.
4. Name the new junction to be created.
5. Delete the reaches and junctions you don't want.
 

RE: Editing HEC-RAS geometric data

(OP)
Thank you - that worked and I don't have to worry about messing up the code.  I would like to get familar with the code at some point, but this fix worked and is going to save me considerable time.

RE: Editing HEC-RAS geometric data

Those numbers are x & y coordinates with multiple decimal places! 4 columns = 2 pairs of (x,y) coords.  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources