Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion `phases.size() == 4' failed. #5442

Open
EnriqueRamonV opened this issue Jun 25, 2024 · 3 comments
Open

Assertion `phases.size() == 4' failed. #5442

EnriqueRamonV opened this issue Jun 25, 2024 · 3 comments

Comments

@EnriqueRamonV
Copy link

hello,

I am attempting to conduct a simulation using polymer injection in my oil reservoir. I have activated POLYMER and POLYMW in the RUNSPEC file as per the provided instructions.

During execution, I encountered the following error message:

image

I understand this error is related to the expected number of phases at some point in the simulation. I have verified the configuration in RUNSPEC, and it appears to be correctly defined to use the required four phases

Could you please advise on what might be causing this issue and how I can resolve it? I have attached a screenshot of the complete error message for your review.

I would appreciate any assistance or suggestions you can provide to address this issue.

Thank you for your attention to this matter.

Best regards,

@GitPaean
Copy link
Member

GitPaean commented Jun 25, 2024 via email

@EnriqueRamonV
Copy link
Author

Hello Kai,

Thank you very much for your help earlier! You were indeed correct about using the four-phase setup in my simulation. I utilized POLYMER in my four-phase system with OPM and successfully executed the simulation. However, I encountered an issue with the PLYSHLOG keyword
Screenshot 2024-06-26 010353
campoX.docx
POLYMERR.docx
(attached is an image of the error). The keyword is correctly formulated according to the OPM manual, but I'm getting the error shown in the image. I decided to remove it, and unexpectedly, the simulator worked.

I'm wondering what could be causing the issue with the PLYSHLOG keyword. Attached are the files for your reference.

I greatly appreciate your assistance and guidance on this matter. currently I'm conducting a study in a real field in Ecuador to investigate polymer injection

Best regards,

@GitPaean
Copy link
Member

For this error, my guess is that we might not support multiple regions of PLYSHLOG. The reason was that the setup of the PLYSHLOG poses huge challenge to our keyword definition system (a reference condition followed by a table). We did some hacks for it and we did not manage to make PLYSHLOG supports multiple regions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants