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.

32 replies

null
    • Staff Scientist
    • Christine_Doughty
    • 11 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
      • 2 wk ago
      • Reported - view

       Hello Dr. Doughty, I am trying to simulate CO2 injection in a 2D system in a field scale. However, the simulation stops at 73 seconds. I have gone through the output file but I am unable to locate the error. I have attached the input and output file for your reference. Is it something with the computational parameters? The output parameters are also well within the limit. Your input will be very helpful and much appreciated. Thank you in advance. Looking forward for your reply.

      • Staff Scientist
      • Christine_Doughty
      • 12 days ago
      • Reported - view

       

      Please check the alignment of the first line in the PARAM block, in particular your MOP entries.  They do not seem reasonable to me.  If it is not just a simple alignment mistake, we should discuss your MOP choices further, as several are not typical.  I always recommend MOP(1)=1 and MOP(5)=3 and MOP(7)=1 to aid in debugging.

      • Yogendra_Narayanan_Sures
      • 6 days ago
      • Reported - view

       Hello, Dr. Doughty. As you suggested, I changed the alignment and the values of MOPs. However, the simulation stopped at 26 seconds. On checking the OUTPUT file, I noticed that the Pressure has reached its maximum limit at the injection point. Even though the boundary conditions are kept such that the elements at the farther end have a larger volume, the pressure is still reaching the maximum conditions even at a lower injection rate. I have attached the INFILE and OUTPUT files for your reference. I would like to get your input on how to overcome this. Thanks in advance.   

      • Staff Scientist
      • Christine_Doughty
      • 5 days ago
      • Reported - view

      @Yogendra Narayanan Suresh Kumar

      At first I thought your boundary elements were not big enough.  If you want them to act like constant-pressure boundaries, the volume should be even bigger, something like 1.E30 m3. But then I noticed that only the pressure at the injection element is too high, and the pressure at the outer boundaries is unchanged from its original pressure.  Maybe your permeability is too low to enable the pressure response to injection to spread out through the model.  Try higher permeability or lower injection rate or both.  You could also try less-interfering relative permeability curves by increasing RP(1)=0.457 to something like 0.8.

      • Yogendra_Narayanan_Sures
      • 3 days ago
      • Reported - view

       Thank you for the suggestion Dr. Doughty. The simulation started running and the timestep started to reduce. However, the simulation completed at 0.64 days and did not run for the complete injection period at least. I went through the output file and I was able to observe that the pressure has not reached the threshold nor the saturation below residual saturation. Is there any issues with the computational parameters? Your inputs will be very helpful. I am attaching the INFILE, OUTPUT and a sample FOFT csv file for your reference. Looking forward to hearing from you. Thanks in advance.

      • Staff Scientist
      • Christine_Doughty
      • yesterday
      • Reported - view

      @Yogendra Narayanan Suresh Kumar  

      Hm, I seem to be stuck.  I have tried a bunch of things, and the code always fails, usually in a really odd way, where it starts trying to do precipitation (we are using ECO2N).  There is no salt in the problem, so there is nothing to precipitate, so the code is apparently confused.  Pressure and temperature are in the normal range when this happens.  One clue about confusion is that the precipitation is in the very first grid block, and this is not a place where anything very interesting is or should be happening. Another clue about confusion is that when I use a different executable (for Ubuntu instead of for Windows), the code quits in the same place , but instead of precipitation, I get NaN (not a number) for pressure. This is the exact same input as Yogendra provided, and his run quits without precipitation or NaN, just a steadily decreasing time step.

      In the olden days (TOUGH or TOUGH2), I would have thought this is a dimension problem, where variables are being over-written when some other variable gets too big for its assigned range, but I don't think that should happen with TOUGH3.

      I found a lot of minor issues in the input file that I modified, but nothing helped.

      Here is a quick summary:

      This is a two-dimensional (x,z) problem, with a uniform rectangular grid: elements are all 2-m tall and 5-m wide, and there are 25 elements in the z direction and 100 elements in the x direction.  scCO2 is injected into a water-filled medium mid-way along the left edge and all the elements along the right edge have a huge volume, to keep pressure fixed.

      Some possible problems, and what I did to fix them:

      • No gravity equilibration was done, so pressures held fixed along the right edge are all the same, and not in hydrostatic equilibrium (I turned off gravity)
      • Injection rate was large compared to model pore space and requested run time - the injected CO2 would fill the entire pore space within the first 4 days of a 10-year simulation (I tried cutting down injection rate by a factor of 100)
      • The relperm and Pcap functions specify Sls=0.9, which I have no experience with, so I changed it to Sls=1.0
      • Rock compressibility was kind of small (4.5e-10) so I increased it by a factor of 10
      • Rock permeability was high (~1e-11) so I decreased it by a factor of 10
      • Capillary pressure strength was weak (v.g. alpha~1e-2) so I decreased alpha by a factor of 100
      • Problem was isothermal, so I tried making it non-isothermal (the opposite of what I usually do to debug, but I was getting desperate)

      I hope someone can figure this out.  Thanks, Chris

    • Keurfon_Luu
    • 11 mths ago
    • Reported - view

    Hi @Muhammad,

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

Content aside

  • yesterdayLast active
  • 32Replies
  • 230Views
  • 7 Following