T2Well (Error message)
Dears,
I got the following error message in the output file while running T2Well case.
Array size for connections is not enough:
NCON= 243220 but MNCON= 57000
************************************************
Array sizes are not proper for your problem.
The program will be terminated.
Please modify the parameters in T2,
and then recompile your program.
************************************************
I would like to know if there is a maximum number grid cells/connections that I have to specify.
Thanks in advance
9 replies
-
Dear Refaat,
According to the message, your grid has 243220 connections but the code is set to have maximum of 57000 connections. In the T2 file, you need to find the parameter MNCON at set it to some number greater than or equal to 243220. I recommend 243300. Check your CONNE block and verify that it has 243220 lines. Check your ELEM block and see how many lines it has. There should be a parameter in T2 called MNELEM or something like that. Make sure it is at least as big as the number of elements your grid has. If not, set it to something slightly bigger than that. Then save the file T2 and recompile the code.
Good luck, Christine
-
T2Well has TOUGH2 built into it, so it can model coupled reservoir-wellbore problems. We do not currently have a "T3Well" where TOUGH3 is coupled to a wellbore simulator. We do have long-term plans to create it, but I cannot predict when it will be available. In the meantime, T2Well should work to model both reservoir and wellbore, but you will not be able to run in parallel. Also, you should check the TOUGH3 User's Manual where it compares features that are different from TOUGH2, to make sure your input file does not use them.
-
I don't think so. As I recall, providing output in excel format is a new feature with TOUGH3. For TOUGH2, there is a free utility program called Ext (available for download, see Free Software Download web page) that takes TOUGH2 output and puts it in a format for the graphics package Tecplot. The format should be usable by other graphics packages also. However, I should warn you that Ext really just works for regular grids, and probably you have a customized grid including a wellbore, since you are using T2Well. But it might be helpful for visualizing the reservoir part of your problem.