Hi, I have a simple, 3 layer Voronoi mesh generated in AlgoMesh. I'm trying to load the DISU file into FloPy and getting following error:
Traceback (most recent call last):
File "<ipython-input-27-cb73574188df>", line 1, in <module>
dis = flopy.modflow.ModflowDis.load('test_05.disu', m)
File "C:\Anaconda3\lib\site-packages\flopy\modflow\mfdis.py", line 632, in load
ValueError: invalid literal for int() with base 10: 'INTERNAL'
The beginning of the discretization file looks like this:
# MODFLOW-USG Unstructured Discretization (DISU) package exported by HydroAlgorithmics' AlgoMesh 1.0.6.
45 3 261 1 1 0 0 0
0 0 0 LAYCBD(NLAY) Quasi-3D confining bed flags
INTERNAL 1 (FREE) -1 NODELAY(NLAY) Nodes per layer
15 15 15
...
So, there are 45 nodes, 15 per layer, 3 layers, 261 node-to-node connections. The python code seems to have problem reading the LAYCBD array.
I'm quite new to python and do not feel like dissection of the source files would help me much.
Anybody there experienced with FloPy and MODFLOW-USG?
Thanks!! Pavel