0

Error Message

Hello everyone,

I am getting an error message when I run my T2well-ECO2N file. The error message is: 

At line 210 of file t2f.f (unit = 5, file = 'stdin')
Fortran runtime error: Bad value during integer read

Error termination. Backtrace:

Could not print backtrace: libbacktrace could not find executable to open
#0  0xeefa20a
#1  0xee7ff51
#2  0xeda410b
#3  0xeef8d17
#4  0xef12f8c
#5  0xef12a83
#6  0xee6d4eb
#7  0x32c649ee
#8  0x32c9274e
#9  0x32c93634
#10  0x32c212ee
#11  0x32c21405
#12  0x9a737373
#13  0x9b97cc90
#14  0xffffffff

 

I read that it is related to formatting error. Can someone look into my input file (attached here). I can't see what I am missing. Thanks in advance.

 

Muhammad.

9 replies

null
    • Staff Scientist
    • Christine_Doughty
    • 7 mths ago
    • Reported - view

    On first glance at your input file, I think you need a blank line at the end of your COFT and FOFT blocks.

    A good general tip is to look at your output file and see how far the code got in processing your input file before it failed.  This will help you know where to look for errors in your input file.

      • Yogendra_Narayanan_Sures
      • 1 mth ago
      • Reported - view

       

      I encountered a similar error while running ECO2N. I looked into the output file, and I understand that the problem lies in ROCKS. However, I was unable to figure out where it is wrong. Your inputs will be much appreciated. I am attaching the input file and the error message for your reference. Thanks in advance.

      • Staff Scientist
      • Christine_Doughty
      • 1 mth ago
      • Reported - view

       

      There is a blank line in the ROCKS block that should not be there, between the line starting with 03 and the line starting with 12.  Try removing that line.  In general, when you are in a block, like the ROCKS block, TOUGH expects things in a certain order and format, and extra blank lines cause problems.  The ROCKS block should end with a blank line, and yours does that correctly.  In the input file, in between blocks, you can insert comment or blank lines as you like, but not within a block. 

      • Yogendra_Narayanan_Sures
      • 2 wk ago
      • Reported - view

       Thank You for your input. I have corrected the formatting errors to the best of my knowledge. However, I encountered an error which traces to ELEME. When I checked the working directory after the error message there was no MESHA and MESHB files generated. What could be the reason and how to rectify it. I am attaching the INFILE and Screenshot of error message for your reference. Your help would be much appreciated. Thanks in advance.

      • Staff Scientist
      • Christine_Doughty
      • 2 wk ago
      • Reported - view

      @Yogendra Narayanan Suresh Kumar

      When I try the infile you posted as INFILE (1) (I renamed it INFILE), TOUGH3 ran 343 steps to 118.9 seconds and quit with a convergence error because the pressure got too big and went out of range of the EOSS (0.6e8 Pa). There were no errors in INFILE, the pressure just got big because you are injecting CO2 into a finite model.

      If you have the executable in the same folder as your input file, be sure to run the command ./tough3-eco2n to get the local version of the executable and the local version of INFILE.

      • Yogendra_Narayanan_Sures
      • 23 hrs ago
      • Reported - view

       Thank you for the reply. I am trying to simulate a laboratory-scale core flooding experiment and I came across this error. I also found that there was no change in saturation but as you mentioned there was an increase in pressure. How to rectify this such that there is a two phase flow and changes in saturation may be observed? Your inputs would be much appreciated. Thanks in advance

      • Staff Scientist
      • Christine_Doughty
      • 21 hrs ago
      • Reported - view

       You are injecting CO2 at one end of your core, and I think you need to allow fluid to flow out of the other end of the core, to actually model a core-flooding experiment.  You could accomplish this by holding the pressure fixed at its initial value at element A11 1.  The simplest way to do that in TOUGH is to set the volume of element A11 1 to a huge value (say 1.E30 m3).  With this huge volume, any fluid that flows into element A11 1 "gets lost", and the pressure at element A11 1 does not change.  Then there will be a pressure gradient between the CO2 injection element A1112 and the constant-pressure element A11 1, and fluid (your initial water and injected CO2) will flow through the core.  You could also hold the pressure at element A11 1 fixed at some other value than the rest of the core starts at, by specifying it in the INCON block, if your core flooding experiment specified outlet pressure is held fixed at a certain value.  

      By varying the parameters of your relative permeability and capillary pressure curves, you should see different saturation conditions.  Note that the curves you are specifying in the ROCKS block (IRP=7, ICP=7) are not hysteretic, contradicting what your title line suggests.  I strongly recommend continuing with non-hysteretic curves until everything is working perfectly in your model.  Hysteresis adds a lot of complication, and in my opinion it should not be the first thing you try.

      • Yogendra_Narayanan_Sures
      • 20 hrs ago
      • Reported - view

       Thank you for your quick response. I have tried to modify the Input file according to your suggestion. However, when I tried to run the simulation, the time step did not complete. I have attached the screenshot for your reference. I had a look at the FOFT excel file and the time to which the simulation has run is 366 seconds and there is a change in saturation at one of the gridblocks of my interest. I have attached the files for your reference. Is this an improvement from the previous attempt? How to overcome this convergence error. Your inputs will be much appreciated. Thanks in advance.

    • Keurfon_Luu
    • 7 mths ago
    • Reported - view

    Hi @Muhammad,

    You need a blank line at the end of the blocks ROCKS, COFT and FOFT.

Content aside

  • 20 hrs agoLast active
  • 9Replies
  • 89Views
  • 4 Following