How to use "t2data.run()" in PyTOUGH

I'm very new to TOUGH2 and I started using PyTOUGH.

I tried running a sample code "Horizontal 1D Model" in PyTOUGH's wiki page,

but I got following error message:

--------------------------------------------------------------------------------------------------------

sh: 1: t2eos1: not found
Traceback (most recent call last):
  File "horizontal_1D.py", line 64, in <module>
    lst = t2listing('horiz1D.listing')
  File "/home/tough/.pyenv/versions/3.5.1/lib/python3.5/site-packages/t2listing.py", line 176, in __init__
    raise Exception('Could not detect simulator type.')
Exception: Could not detect simulator type.

----------------------------------------------------------------------------------------------------------

At that time,  I used exectutable file "xt2_eos1" compiled from eos1.f, meshm.f, t2cg22.f, t2f.f and t2solv.f.

And I specified  " t2.data.run(simulator="xt2_eos1") ".

 

Does anyone know how to use method of "t2.data.run()" ??

 

regards
 

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
reply to topic
Like Follow
  • 11 mths agoLast active
  • 265Views