0

Subroutine NSIN

Hi everyone,

I am running ECO2N in Tough2-mp, to simulate CO2 injection in a 3D model. Initialization of the model goes without problems, and the output is used as initial conditions for the CO2 injection. The model simulates injection for 10-20 days (it varies between runs) but then it stops without reaching the desired simulation time (1 year). Output shows the following error:

 ### no convergence in NSIN at * 1379   * for (T, XS, XLCO2) = ( 75.7524, 0.150000E+00, 0.100499E-05) P00=0.695328-309
     latest parameters are   PS=         NaN   X2S=         NaN
 +++++++++   CANNOT FIND PARAMETERS AT ELEMENT * 1379   *          XX(M) = 0.201133E+08 0.150000E+00 0.994484E-06 0.757524E+02
 +++++++++ REDUCE TIME STEP AT (   35, 1) ++++++++ ++++++++   NEW DELT =0.192217E+04

This same message shows for some other  cells. I've checked the output for those cells and no NaN or strange values shows until the error occurs.

The mesh is refined around the injection well, but if the model is run without mesh refinement (for instance all cells with same sizes 200 m x 200 m x 10 m), the simulation runs until the desired 1 year .

Does anyone has any idea with this occurs and how to solve it?

Thank you,

Júlio

2 replies

null
    • Jose_Kevin_Pauyac_Estrad
    • 2 yrs ago
    • Reported - view

    Hi, I have the same error than you. Could you tell me please how you fixed it? Thanks!

    • kenny
    • 2 yrs ago
    • Reported - view

    NSIN subroutine in ECO2N uses Newtonian iteration to solve total fluid pressure in gas/liquid two phase system based on co2 mass fraction. Some time, the iteration does not converge, the above error message will appear. It is difficult to say how to avoid such a problem happen. I would suggest use the last SAVE file obtained as initial condition to continue the simulation.     

Content aside

  • 2 yrs agoLast active
  • 2Replies
  • 796Views
  • 3 Following