OPM / opm-simulators

OPM Flow and experimental simulators, including components such as well models etc.
http://www.opm-project.org
GNU General Public License v3.0
122 stars 121 forks source link

multi-segment well option results in singular matrix #1674

Open liespeters opened 5 years ago

liespeters commented 5 years ago

Hi, I'm trying to run the multi-segment well option (for testing purposes on a single, vertical well in a homogeneous grid), but keep getting the following error messages:

UMFPACK V5.7.6 (May 4, 2016): WARNING: matrix is singular

Error: [/build/opm-simulators-zxOdi_/opm-simulators-2018.10-rfinal/opm/autodiff/MSWellHelpers.hpp:58] nan or inf value found in invDXDirect due to singular matrix

I have tried numerous different segmentation schemes and all solvers, but nothing helps. Does anyone have suggestions or tips on how to solve this? thank you, Lies

GitPaean commented 5 years ago

It most likely results from poor initialization of well state. For multi-segment well, it is more difficult to have a proper initialization.

If you can share with me the deck that can reproduce the above symptom, I might be able to take a look, while no promise how soon it will be.

GitPaean commented 5 years ago

If it can be helpful, we have too sample cases in the https://github.com/OPM/opm-tests under the folders with names beginning with msw. Maybe you can also try to begin with them in case it is other part of the deck causing problems.

Or you can replace the multisegment well with a standard well, to see whether the problem disappears. If it does disappear, then it is the multisegment well causing problem.

liespeters commented 5 years ago

Hi,

Attached is the deck. It is a vertical well in a homogeneous reservoir. Without the multi-segment well it works fine. I will have a look at the examples. Thank you.

Thank you for any help you can offer. Lies

From: Kai Bao notifications@github.com Sent: donderdag 6 december 2018 15:14 To: OPM/opm-simulators opm-simulators@noreply.github.com Cc: Peters, E. (Lies) lies.peters@tno.nl; Author author@noreply.github.com Subject: Re: [OPM/opm-simulators] multi-segment well option results in singular matrix (#1674)

If it can be helpful, we have too sample cases in the https://github.com/OPM/opm-tests under the folders with names beginning with msw. Maybe you can also try to begin with them in case it is other part of the deck causing problems.

Or you can replace the multisegment well with a standard well, to see whether the problem disappears. If it does disappear, then it is the multisegment well causing problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/OPM/opm-simulators/issues/1674#issuecomment-444883922, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ah0ADev7SiDJNmN4RANAHulYtZVbwqqpks5u2SYugaJpZM4ZGjtf. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

GitPaean commented 5 years ago

It looks like the attachment did not come through. Could you please send it again? Thanks.

liespeters commented 5 years ago

I added a 2 to the extension in the hope that it goes through now.

From: Kai Bao notifications@github.com Sent: donderdag 6 december 2018 15:20 To: OPM/opm-simulators opm-simulators@noreply.github.com Cc: Peters, E. (Lies) lies.peters@tno.nl; Author author@noreply.github.com Subject: Re: [OPM/opm-simulators] multi-segment well option results in singular matrix (#1674)

It looks like the attachment did not come through. Could you please send it again? Thanks.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/OPM/opm-simulators/issues/1674#issuecomment-444885618, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ah0ADfVyu4REQY2_b-sguAVdl9P3Igr6ks5u2Sd0gaJpZM4ZGjtf. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

GitPaean commented 5 years ago

It is possible just easier if you send it to my email (kai.bao@sintef.no) , or attach it through the bottom of the webpage https://github.com/OPM/opm-simulators/issues/1674

Attach files by dragging & dropping, selecting them, or pasting from the clipboard.
liespeters commented 5 years ago

Dear Kai,

I have send you the file via e-mail. Did it arrive?

Best wishes, Lies

From: Kai Bao notifications@github.com Sent: donderdag 6 december 2018 15:50 To: OPM/opm-simulators opm-simulators@noreply.github.com Cc: Peters, E. (Lies) lies.peters@tno.nl; Author author@noreply.github.com Subject: Re: [OPM/opm-simulators] multi-segment well option results in singular matrix (#1674)

It is possible just easier if you send it to my email (kai.bao@sintef.nomailto:kai.bao@sintef.no) , or attach it through the bottom of the webpage

1674https://github.com/OPM/opm-simulators/issues/1674

Attach files by dragging & dropping, selecting them, or pasting from the clipboard.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/OPM/opm-simulators/issues/1674#issuecomment-444896062, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ah0ADSowcCntKAJNaFcFP73MDhDR7l-Gks5u2S6igaJpZM4ZGjtf. This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. TNO accepts no liability for the content of this e-mail, for the manner in which you use it and for damage of any kind resulting from the risks inherent to the electronic transmission of messages.

GitPaean commented 5 years ago

With the communication with @liespeters , it is reminded that the multi-segment well is not working with oil-water two phase case, which is the cause why this issue got reported.