Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

HEC-2 Help

Status
Not open for further replies.

ritrower

Civil/Environmental
Dec 9, 2003
3
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.
 
Replies continue below

Recommended for you

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.
 
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.
 
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
 
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.
 
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
 
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

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

Gregg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor