MODFLOW-USGS / mt3d-usgs

MT3D-USGS Repository
23 stars 12 forks source link

Bat files produce output in data folder instead of in the example problem folder #3

Closed langevin-usgs closed 7 years ago

langevin-usgs commented 7 years ago

The following is one of the batch files:

@ECHO OFF
REM Generate FTL file using MODFLOW-NWT ver 1.1.0 (or greater)
..\bin\MF_NWT_1.1.1_64.exe .\2ED5EAs\2ED5EA_mf.nam

REM Run MT3D-USGS only after FTL is generated
..\bin\MT3D-USGS_64.exe .\2ED5EAs\2ED5EA_mt.nam
ECHO.
ECHO Run complete. Please press enter when you want to continue.
PAUSE>NUL

Would it be better to change it so that first it changes into that subdirectory and then runs the model?

@ECHO OFF

REM Change directory
cd .\2ED5EAs

REM Generate FTL file using MODFLOW-NWT ver 1.1.0 (or greater)
..\..\bin\MF_NWT_1.1.1_64.exe 2ED5EA_mf.nam

REM Run MT3D-USGS only after FTL is generated
..\..\bin\MT3D-USGS_64.exe 2ED5EA_mt.nam

ECHO.
ECHO Run complete. Please press enter when you want to continue.
PAUSE>NUL
emorway-usgs commented 7 years ago

Have corrected the batch files that appear with the distribution file so that model output now appears within each folder.