[MODFLOW] error opening dis file

519 views
Skip to first unread message

anna

unread,
Mar 12, 2014, 6:39:57 AM3/12/14
to mod...@googlegroups.com
Hi! I was running GSFLOW from C:\GSFLOW_1.1.6\bin when I suddenly got this message:
 
 
                               U.S. Geological Survey
            Coupled Groundwater and Surface-water FLOW model (GSFLOW)
                             Version 1.1.6 03/20/2013

        An integration of the Precipitation-Runoff Modeling System (PRMS)
        and the Modular Groundwater Model (MODFLOW-NWT and MODFLOW-2005)

                                  MODFLOW-NWT
    U.S. GEOLOGICAL SURVEY MODULAR FINITE-DIFFERENCE GROUNDWATER-FLOW MODEL
                             WITH NEWTON FORMULATION
                             Version 1.0.7 01/15/2013
                    BASED ON MODFLOW-2005 Version 1.9.01 5/01/2012

                              Processes: GWF and OBS
       Packages: BAS, BCF, CHD, DE4, FHB, GAG, GHB, GMG, HFB, HUF LAK
                 LPF, MNW1, MNW2, NWT, PCG, PCGN, SFR, SIP, UPW, UZF, WEL


                                       PRMS
           U.S. GEOLOGICAL SURVEY PRECIPITATION-RUNOFF MODELING SYSTEM
                        Version 3.0.5 Tag: 5498 2013-03-14

       Modules: basin, basin_sum, cascade, ccsolrad, climate_hru
                ddsolrad, gwflow, intcp, map_results, obs
                potet_hamon, potet_jh, potet_pan, precip_1sta
                precip_dist2, precip_laps, snowcomp, soilzone, soltab
                srunoff_carea, srunoff_smidx, strmflow, subbasin
                temp_1sta, temp_dist2, temp_laps, transp_tindex, xyz_dist


 Using NAME file: C:\modflow\trial.nam
 Run start date and time (yyyy/mm/dd hh:mm:ss): 2014/03/12 18:28:59


 *** ERROR OPENING FILE "trial.dis" ON UNIT    12
       SPECIFIED FILE STATUS: OLD
       SPECIFIED FILE FORMAT: FORMATTED
       SPECIFIED FILE ACCESS: SEQUENTIAL
       SPECIFIED FILE ACTION: READ
  -- STOP EXECUTION (SGWF2BAS7OPEN)

Run complete. Please press enter when you want to continue.
 
 
 
 
I tried running GSFLOW with the Sagehen example and it was working just fine.
 
Do you have any suggestion on what I should do to fix this?
 
I used ModelMuse Version 2.19.1.0.

din...@gmail.com

unread,
Mar 12, 2014, 8:29:54 PM3/12/14
to mod...@googlegroups.com
It looks like there is a problem with your discretization file. Is there a file called trial.dis in your project folder?


--
You received this message because you are subscribed to the Google Groups "MODFLOW Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modflow+u...@googlegroups.com.
To post to this group, send email to mod...@googlegroups.com.
Visit this group at http://groups.google.com/group/modflow.
For more options, visit https://groups.google.com/d/optout.

Richard B. Winston

unread,
Mar 12, 2014, 2:03:00 PM3/12/14
to mod...@googlegroups.com, reyes.a...@gmail.com
GSFLOW wasn't able to find the trial.dis file in the directory in which
you were running the model.
> --
> You received this message because you are subscribed to the Google
> Groups "MODFLOW Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to modflow+u...@googlegroups.com
> <mailto:modflow+u...@googlegroups.com>.
> To post to this group, send email to mod...@googlegroups.com
> <mailto:mod...@googlegroups.com>.

Grace

unread,
Mar 12, 2014, 10:58:59 PM3/12/14
to mod...@googlegroups.com
Yes. It is in the same folder as trial.nam. C:\modflow\trial.dis
 
# Discretization File created on 3/12/2014 by ModelMuse version 2.19.1.0.
# Upper left corner: (13477095.084569, 1869750.219876)
# Lower left corner: (13477095.084569, 1868822.2606)
# Upper right corner: (13477806.304795, 1869750.219876)
# Lower right corner: (13477806.304795, 1868822.2606)
# Grid angle (in degrees counterclockwise): 0
 1 30 23 2 4 2 # NLAY, NROW, NCOL, NPER, ITMUNI, LENUNI
 0 # LAYCB

anna

unread,
Mar 12, 2014, 11:13:33 PM3/12/14
to mod...@googlegroups.com
Yes, trial.dis is in the same folder as trial.nam.
 
(I'm sorry for the confusion by I didn't know my friend Grace logged in to gmail so I kinda used her account to reply earlier.)

Richard B. Winston

unread,
Mar 13, 2014, 6:39:03 AM3/13/14
to mod...@googlegroups.com, anna
Instead of running GSFLOW from C:\GSFLOW_1.1.6\bin, run it from
C:\modflow\. GSFLOW is looking for trial.dis in C:\GSFLOW_1.1.6\bin.
> it, send an email to modflow+u...@googlegroups.com <javascript:>.
> To post to this group, send email to mod...@googlegroups.com
> <javascript:>.
> <http://groups.google.com/group/modflow>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "MODFLOW Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to modflow+u...@googlegroups.com
> <mailto:modflow+u...@googlegroups.com>.
> To post to this group, send email to mod...@googlegroups.com
> <mailto:mod...@googlegroups.com>.

anna

unread,
Mar 13, 2014, 2:39:03 PM3/13/14
to mod...@googlegroups.com
Thank you for your answer!
 
I tried it and here's some details:
 
GSFLOW Batch File (C:\trial\gsflow.bat)
 
@ECHO OFF
.\modflow\gsflow_64 .\trial_in\trial.control
ECHO.
ECHO Run complete. Please press enter when you want to continue.
PAUSE>NUL
 
gsflow_64, trial.nam, trial.dis (and all the other modflow files) are now in the same folder (C:\trial\modflow). I have also changed the path for the executable_model in the control file. But I got the same error.
 
Did I miss anything?
 
(I copied only gsflow_64 from C:\GSFLOW_1.1.6\bin though; I did not copy any other file)
 
I'm really thankful for your help.

Richard B. Winston

unread,
Mar 13, 2014, 10:33:09 PM3/13/14
to mod...@googlegroups.com, anna
If you are still having trouble, try this.
It appears that some of the GSFLOW files were created with ModelMuse so
you also have a copy of ModelMonitor which is distributed with ModelMuse.
Go to the Start menu on your computer and start ModelMonitor.
On the Configuration pane in ModelMonitor, select the location of GSFLOW
as the modeling program.
Select the name file of your model as the Name or LGR file.
Click the "Start model" button.
> > an email to modflow+u...@googlegroups.com <javascript:>
> > <mailto:modflow+u...@googlegroups.com <javascript:>>.
> > To post to this group, send email to mod...@googlegroups.com
> <javascript:>
> > <mailto:mod...@googlegroups.com <javascript:>>.

che...@unlv.nevada.edu

unread,
Aug 27, 2015, 10:23:07 PM8/27/15
to MODFLOW Users Group, reyes.a...@gmail.com
Hi, 
I met the exactly same problem with the same error. I tried all the method mentioned above, including trying with ModelMonitor, but I still got the error.
Is anyone get a way to solve this problem?

Thank you very much!
Chao
Reply all
Reply to author
Forward
0 new messages