Coupled reservoir-wellbore model initialization (using T2Well)

Hello everyone,


I have started using T2Well to simulate coupled reservoir-wellbore problems recently. While initializing the numerical model, I find the following problem; I have followed the same procedure that I follow with TOUGH3 to initialize the simulation. I have specified pressure and temperature for the grid cells which follow hydrostatic and  geothermal gradient, respectively (as illustrated in the attached photos). I have tried to run the model with no generation terms to make sure that the model attains steady state conditions while observing pressure and temperature results in the specified monitoring well. I find strange behavior; temperature and pressure in the monitoring well oscillate!. I am not sure what is the reason for this behavior. I put the relative tolerance small value (1E-8) to obtain accurate initial results. This behavior occurs only in the wellbore cells; reservoir cells show steady state pressure and temperature results.  


Thanks in advance. 

7replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • I recommend making the permeability of the well material equal to the reservoir permeability for the initialization run.  With no sources or sinks, it does not need to have high permeability. Don't forget to change it back for your main simulation!

    • Christine Doughty Dr. Christine,

      Thanks for your reply. I have initialized the model using TOUGH3 to get the INCOND data that satisfy hydrostatic pressure gradient and geothermal temperature gradient. I have used the obtained initial conditions in the attached input file, however I find similar behavior during the simulation run.  

  • Try decreasing the wellbore permeability by a factor of 10.  If that does not help decrease it more.  You want wellbore permeability to be very high compared to reservoir permeability, but I have had trouble in the past with too high values, similar to what you are seeing.  I was able to find a permeability that was high enough to act like a wellbore, but low enough to run without oscillations.  I hope you can too.

    • Christine Doughty Thank you for your reply. I could initialize the model and run the simulation, however I find the time step decreases after ~ 20 days to zero. I find the following message repeated in OUTPUT file.

      +++++++++ REDUCE TIME STEP AT ( 574,  2) ++++++++++++++++   NEW DELT = 0.259702E-13
       ...ITERATING...  AT [ 574,  1] --- DELTEX = 0.259702E-13   MAX. RES. = 0.116129E-15  AT ELEMENT A5B14  EQUATION   3
       A2B14( 574,  2) ST = 0.177067E+07 DT = 0.259702E-13 DX1= -.139950E-09 DX2= -.108259E-27 T =  29.904 P =  5541966. S = 0.999998E+00
       ...ITERATING...  AT [ 575,  1] --- DELTEX = 0.339950E-13   MAX. RES. = 0.152013E-15  AT ELEMENT A5B14  EQUATION   3
       A5B14( 575,  2) ST = 0.177067E+07 DT = 0.339950E-13 DX1= 0.565840E-09 DX2= 0.283254E-20 T =  30.598 P =  6099348. S = 0.751686E+00
       ...ITERATING...  AT [ 576,  1] --- DELTEX = 0.444995E-13   MAX. RES. = 0.198985E-15  AT ELEMENT A5B14  EQUATION   3
       ...ITERATING...  AT [ 576,  2] --- DELTEX = 0.444995E-13   MAX. RES. = 0.353927E+01  AT ELEMENT *1B14  EQUATION   3
       tx=   1.00000000000000      in eos from X   10000.0000000000     
       -9.697624619792246E-014   10.9965500718375        1.00000000000000       at n=
        TEMPERATURE =0.100000E+01  SALT FRACTION = 0.000000E+00  OUT OF RANGE IN SATB 
       failed in SATB
       +++++++++   CANNOT FIND PARAMETERS AT ELEMENT **1B14*          XX(M) = 0.100000E+05 0.000000E+00 0.109966E+02 0.100000E+01
       failed in EOS,igood=           2


      I am not sure what is SATB. I guess that temperature results are beyond the range of EOS.  Parameter *1B14 represents wellhead in my case.  

  • I think you are correct that T=1 is too small for the EOS you are using.  SATB is just the name of the subroutine where the code fails, but the important thing here is that for some reason the temperature has dropped out of bounds of the EOS and the code can't continue (takes tiny steps) because it does not know what any temperature-dependent properties are.  Without knowing more about your problem I cannot guess why temperature has dropped so much.  Unfortunately, I am not an experienced T2Well user.  My general strategy when primary variables go out of bounds is to think about the physics of the problem.  For example, if P is getting way too big, maybe you are injecting at too high a rate for the permeability you have.  It can help to figure things out to use the FOFT block to choose several elements to watch over time - certainly you should be watching *1B14 and maybe other wellbore elements.  It would be helpful to know if T was gradually decreasing for the whole 20 days, or if something happened around day 20 to cause T to suddenly drop.  Similarly, if you make spatial plots of T at a series of times, it might help.  Also, you might be able to make the problem easier by turning off certain features, then once you have a stable case, turn the features back on one by one to see what causes problems.   Good luck!

    • Christine Doughty Thank you for your reply. I expect gradual decrease of temperature and it may decrease to the freezing point of water.  My problem is a reservoir that has two wells; an injector well and monitoring well. I am trying to observe the changes in p, T, and CO2 saturation at the monitoring well during the injection. The monitoring well, which is modeled using T2Well, extends to the surface, however the injection well is modeled by assigning Dirichlet temperature conds at the reservoir grids which represent the injector.

      I  have the following comment on yours reply. As I am modeling the monitoring well using T2Well NOT EPM (Equivalent Porous Media), why does the permeability of the well affect the simulation results?   In the input file, I have to provide the following properties (porosity, absolute permeability, and relative permeability) for the grids that constitute the monitoring well which is modeled using T2Well, but I am not sure why they  have to be inserted.

      wells    2  2600.e00    1.0000  100.e-15  100.e-15  100.e-15      2.51      920.
          7           .457       .30        1.       .05

  • I am generally familiar with how T2Well works, but I have not actually used it.  I recommend that you look at the user's guide, and examine the governing equations for wellbore flow to see whether porosity, absolute permeability, and relative permeability are used.  

    In terms of a well going to the surface with CO2 in the problem, you need to be careful about possible CO2 phase changes from supercritical to liquid or gas.  I believe you are using ECO2N as the equation of state, and it only allows one CO2 phase at a time to be present, so you have to avoid the liquid/gas saturation line and the critical point.  See the figure below for the CO2 phase diagram and a couple of possible paths from depth to the surface.  Both avoid the critical point and saturation line, but the one shown with black dots gets pretty close, which can cause numerical difficulties.

Like Follow
  • 6 mths agoLast active
  • 7Replies
  • 99Views
  • 2 Following