MF / MT3DMS / SEAWAT模型的名称文件不存在

时间:2019-05-07 09:13:59

标签: python flopy

我建立了一个耦合的MODFLOW-MT3DMS-SEAWAT模型。根据软件包和可执行文件swt_v4类似于this example(当然,我使用了更多的输入变量)。

但是,当我尝试运行模型时,出现以下错误:

FloPy is using the following  executable to run the model: /usr/bin/swt_v4
Traceback (most recent call last):

  File "<ipython-input-202-77d16ae8d2d8>", line 1, in <module>
    runfile('/Users/Dylan/Desktop/model_0705_swt.py', wdir='/Users/Dylan/Desktop')

  File "/Users/Dylan/anaconda3/lib/python3.7/site-packages/spyder_kernels/customize/spydercustomize.py", line 704, in runfile
    execfile(filename, namespace)

  File "/Users/Dylan/anaconda3/lib/python3.7/site-packages/spyder_kernels/customize/spydercustomize.py", line 108, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "/Users/Dylan/Desktop/model_0705_swt.py", line 388, in <module>
    swt.run_model()

  File "/Users/Dylan/anaconda3/lib/python3.7/site-packages/flopy/mbase.py", line 970, in run_model
    normal_msg=normal_msg)

  File "/Users/Dylan/anaconda3/lib/python3.7/site-packages/flopy/mbase.py", line 1387, in run_model
    raise Exception(s)

Exception: The namefile for this model does not exists: swt_model_0605.nam

如果我运行命令print(swt.namfile),通常会提示为swt_model_0605.nam

我使用以下软件包:DIS,BAS,LPF,PCG,OC,GHB,WEL,ADV,BTN,DSP,GCG,SSM和VDF。

有没有办法找到这个错误?

0 个答案:

没有答案