2

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

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

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。

有没有办法追踪这个错误?

4

0 回答 0