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

Reading TOUGH2_MP output files #7

Closed judithyueli closed 10 years ago

judithyueli commented 10 years ago

Hi acroucher,

I am a TOUGH2_MP user. PyTOUGH is a wonderful tool, i like it very much. However, I found it has trouble reading TOUGH2_MP's output file. Here is an example of the output file. Basically just a redundant line ' \n' before 'ELEM' line.

However, I wrote a script to remove the ' \n' line it is still cannot read by t2listing.

I have attached my code and a copy of the example file.

I would appreciate your help very much!!! I have emailed you the code and example file.

Best, Judith

acroucher commented 10 years ago

Thanks, this problem was caused by a variation in the TOUGH2-MP listing format, in which internal headers don't have the usual line feed characters. I've fixed this in the latest testing branch of PyTOUGH- will be in the master branch at next release (1.3.10).