×
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

HEC-2 Help

HEC-2 Help

HEC-2 Help

(OP)
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?

Gregg

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

(OP)
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?

J2 NPROF,IOKIT,PREVS,XSECV,XSECH,FN,ALLDC,IBW,CHMIM,ITRACE
   1.000,0.0,-1.000,0.0,0.0,0.0,0.0,0.0,0.0,0.0
J3 VARIABLE CODES FOR SUMMARY PRINTOUT
 110.000,150.000,200.000,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
NC 0.100,0.100,0.040,0.100,0.300,0.0,0.0

Thanks
gregg

RE: HEC-2 Help

ritrower,
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:
J21,0,-1
J3110,150,200
NC.1,.1,.04,.1,.3

RE: HEC-2 Help

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

Gregg

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