acroucher / PyTOUGH

A Python library for automating TOUGH2 simulations of subsurface fluid and heat flow
GNU Lesser General Public License v3.0
96 stars 36 forks source link

A problem when i running the first example #31

Closed Terzay closed 2 years ago

Terzay commented 2 years ago

Hi Adrian: I am a newcomer to PyTOUGH .When I tried to run the first example (https://github.com/acroucher/PyTOUGH/wiki/Horizontal-1D-model) ,it shown: runfile('D:/Anaconda/spyder-dic/IDex.py', wdir='D:/Anaconda/spyder-dic') Traceback (most recent call last):

File "D:\Anaconda\spyder-dic\IDex.py", line 71, in lst = t2listing('horiz1D.listing')

File "D:\Anaconda\Anaconda3\lib\site-packages\t2listing.py", line 188, in init raise Exception('No full results found in listing file.')

Exception: No full results found in listing file.

what's wrong with it and how can i solve it?

acroucher commented 2 years ago

The most likely problem is that the dat.run() command failed, so that your output listing file has got no results in it.

Did you open the listing file (if it exists at all) and have a look to see if it ran?

If it didn't, you need to check if you can run t2eos1 on your machine. You will need to have the TOUGH2 EOS1 executable installed on your machine and accessible from your run directory (e.g. on your system path). If you are running on Windows then the executable may be called t2eos1.exe or similar, and you will need to edit the simulator in the dat.run() command so it matches the exact name of your TOUGH2 executable.