opm-simulators icon indicating copy to clipboard operation
opm-simulators copied to clipboard

Failure to initialize Gas-Water Model

Open mbmfer opened this issue 2 years ago • 4 comments

Hi, I'm getting a phaseIsActive(phaseIdx) failed error when initializing a Gas-Water Model:

PhaseIsActive

I'm using GAS and WATER in the RUNSPEC section, rel-perms using WSF and GSF and PVT using PVTW and PVDG.

I'm running it with flow 2023.04.

Do I need to define an equivalent keyword to RVCONST?.

Thanks a lot and kind regards,

Mariano Fernandez

mbmfer avatar Dec 05 '23 13:12 mbmfer

Do I need to define an equivalent keyword to RVCONST?.

No.

Do you have a small test case that reproduce the failure that you can share?

totto82 avatar Dec 15 '23 12:12 totto82

INCLUDE.zip

Dear Harald,

Thanks a lot for your reply. Please find the model deck attached. I had to re-create the deck in windows to be able to share it. The original model is in a virtual Ubuntu machine. Apologies if there are typos. All files except the .DATA file need to be in an INCLUDE folder.

Kind regards and thanks a lot in advance,

Mariano Fernandez

P.D: Today tuesday 19/12 I replaced the big model with a simple one showing the same error

mbmfer avatar Dec 15 '23 18:12 mbmfer

Thanks for the case. It seems ROCKCOMP is not support for gas-water cases. I have localized the bug in the code, and can provide a fix tomorrow.

totto82 avatar Dec 20 '23 14:12 totto82

https://github.com/OPM/opm-simulators/pull/5081

totto82 avatar Dec 21 '23 07:12 totto82