You are here

forrtl: error (65) with pipe

In the IN/OUTFLOW line in the control file, I changed NPI to 1 and filled out the pipe portion in the control file. The preprocessor runs with no errors, but when I run the model I get the following error forrtl error (65) floating invalid Image PC Routine Line Source w2_cvf.exe 0054274B OPEN_CHANNEL_INIT 11060 w2_cvf.f90 w2_cvf.exe 0053FC4C PIPE_FLOW_INITIAL 10913 w2_cvf.f90 w2_cvf.exe 0047FD91 CE_QUAL_W2 2856 w2_cvf.f90 w2_cvf.exe 005974A9 Unknown Unknown Unknown w2_cvf.exe 00586F9B Unknown Unknown Unknown w2_cvf.exe 77E7D33B Unknown Unknown Unknown If I change NPI to 0, it runs with no error. I realize I must be omitting a value somewhere, but I can't seem to find it. Any pointers in determining where the error is occuring would be greatly appreciated. I've looked through the manual and discussion forum with no luck. Thanks, Lisa[addsig]
Forums: 

The code is blowing up somehow as a result of how you specified the pipe characteristics. Try using the default values specified in the control file and see what happens.[addsig]

I am not really sure what defaults you are referring to. I am using the DOWN and DISTR options. I also realized I left an elevation out, which I added, but I still get an error message. The new error is forrtl severe (157) Program Exception - access violation w2_cvf.exe 0053F68E PIPE_FLOW_INITIAL 10849 w2_cvf.f90 w2_cvf.exe 0047FD91 CE_QUAL_W2 2856 w2_cvf.f90 w2_cvf.exe 005974A9 Unknown Unknown Unknown w2_cvf.exe 00586F9B Unknown Unknown Unknown kernel32.dll 77E7D33B Unknown Unknown Unknown Any other suggestions or example default? Thanks[addsig]

An access violation typically refers to going outside an array bounds. Do you have NPI set to at least 1? The default values I was referring to are the ones for FPI and FMINPI.[addsig]

NPI is set to 1 and I used the values for FPI and FMINPI that are provided in the example. I still get the access violation error. I have the pipe located in the downstream segment of my waterbody and IDPI set to 0 because I want the water to leave the system. Is this the problem? Can I not have water leave the waterbody (model) through a pipe?[addsig]

You cannot have a pipe going to nowhere. I believe it says so in the User's Manual and the preprocessor should also catch this.[addsig]