Contact US

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!

*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

HEC-2 Help

HEC-2 Help

HEC-2 Help

I am trying to reproduce some FEMA results for a flood study on one of our projects.  The study was completed using HEC-2 orginally.  I have a copy of results.

I am trying to reproduce the results using HEC-2 so that I can then use them in HEC-RAS to complete a design.

The problem I am having is entering the X-sectional data. When I try to enter data in the GR card I get an error message that says I must enter a value between 0-101. (I can't remember the actual values but it is something like that)

Does anyone have a suggestion or know of another way to reproduce these results?


P.S.  I am using the FREIND program to enter in this data.

RE: HEC-2 Help

It's been awhile, but from my past experience it was fairly common to improperly enter data using HEC2.  (It sounds like your creating a "punch card" and running it through the program.)

If you haven't used HEC2 much you might want to double-check your data entry; make sure your putting in the proper number of spaces between data.

It's been too long for me to be much more help.

RE: HEC-2 Help

If it is a message is from EDIT-2 or another program checking the data of your HEC-2 stack, most likely you are entering too many GR points within the same card. GR data is limited to 100 points (safe side use 95-98) per cross-section. However, this can be side-stepped by using X4 cards to supplement the GR data.

If it appears while you are entering the data, then it is from the interface program and not HEC-2.

You can always use COED from USACOE or a simple text editor to enter the data.

RE: HEC-2 Help

Yes Coed is a great prog.  I have never been able to get it to run on Win 2k though.  Hopefully you have an old DOS machine hanging around.  Or  as I have done, use hec ras and export the gr data

RE: HEC-2 Help

Other tricks is to use a spreadsheet like Excel to input your data, then concatenate the data with commas. This can
be copied-pasted into a text file. Then just use free format in the HEC-2 model.

RE: HEC-2 Help

I typed out a few lines of the results that I have.  Is this what i would have to do to use the free format option?

NC 0.100,0.100,0.040,0.100,0.300,0.0,0.0


RE: HEC-2 Help

first look at an example of a working HEC-2 file.
The output for the job cards include descriptions of the variables.
The NC card looks mostly correct--don't put a space after the two letters. Also if the column is Zero, then you don't have to enter a zero -- a ,, equals a zero.
eg. your three lines should look like:

RE: HEC-2 Help

Thanks for the help Bayou.  I didn't have an example to work off of.


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! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close