PyTOUGH icon indicating copy to clipboard operation
PyTOUGH copied to clipboard

NSEQ, NADD

Open acroucher opened this issue 13 years ago • 0 comments

Using t2data to read a TOUGH2 data file in which the NSEQ/NADD option is used (to create multiple blocks and connections with the digits at the end of the block names incremented according to a specified pattern) may not work, depending on the pattern. If a connection refers to a block defined only implicitly by NSEQ/NADD then that block will be reported as missing and the read() will fail.

I'm not sure if people still use this option- it was probably more useful in the days before grid generation software.

A possible fix might be to add an 'implied' property to the t2block and t2connection classes, create blocks and connections implied by NSEQ/NADD during read, but only write out blocks and connections with implied==False.

acroucher avatar Jul 19 '12 04:07 acroucher