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

Unrecoverable errors while loading input & run error with Keyword "MULTPV" #5428

Open
AaronyfDesign opened this issue Jun 15, 2024 · 1 comment

Comments

@AaronyfDesign
Copy link

Hi, we ran into the error Error: Unrecoverable errors while loading input: Problem with keyword RESTART as the image below, while I was trying to run a test case from our field expert using opm flow. However, our field expert could execute the same test case with a convincible result by using the tool ECLIPSE.

It is quite weird we could not run this test case successfully using opm flow. This is the detail of the error information in file test_case.PRT:

Errors:
SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 10055

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 14010

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 19838

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 19846

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 19854

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 24731

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 24739

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 24747

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 24755

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 37147

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 37163

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 37187

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 37211

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 45506

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 47885

Error: Problem with keyword RESTART
In CD_saved_CASE.data line 715
The restart file CD_SAVED.X0204 does not exist

Error: Unrecoverable errors while loading input: Problem with keyword RESTART
In CD_saved_CASE.data line 715
The restart file CD_SAVED.X0204 does not exist

Error summary:
Warnings 3
Info 1927
Errors 2
Bugs 0
Debug 0
Problems 0

and the image below is the fragment of code in associated file test_case_sch.inc:

屏幕截图 2024-06-13 151500

According to the 6.3.130 MULTPV – MULTIPLY CELL PORE VOLUMES BY A CONSTANT part in OPM_Flow_Reference_Manual_2023-04_Rev-0_Reduced.PDF says,

Notes:

  1. The number of entries should correspond to the NX x NY x NZ parameters on the DIMENS keyword in the RUNSPEC section, unless the BOX keyword defines a sub area of the grid, in which case the total number of entries should correspond to the number of cells defined by the BOX statement.

we raised an assumption: the error could be probably caused by the missing Keyword "RUNSPEC" at the beginning of the file or the section. Is this correct?

What do you think about this? And how can we fix this error?

@bska
Copy link
Member

bska commented Jun 15, 2024

Thanks for reaching out. There may be a couple of limitations for OPM flow with respect to your case. Firstly, the diagnostic message

SECTION_TOPOLOGY_ERROR : The keyword 'MULTPV' is located in the 'SCHEDULE' section where it is invalid
In file ~/opm/opm-data/cd_1/CD_saved_sch.inc, line 10055

says that the MULTPV is being used in the SCHEDULE section of the input file. That usage, unfortunately, is not supported in OPM Flow. OPM Flow supports using MULTPV in the GRID and EDIT sections, but currently not in the SCHEDULE section. Unless you are somehow able to move the MULTPV changes to an earlier section you will not be able to use OPM Flow for your model.

Secondly, the diagnostic message

Error: Problem with keyword RESTART
In CD_saved_CASE.data line 715
The restart file CD_SAVED.X0204 does not exist

might be because you're running on a case-sensitive filesystem/operating system (Linux/Unix etc.) while the case was created on a case-insensitive filesystem (Microsoft Windows) or case-preserving filesystem (macOS). Do you have a file name
CD_saved_CASE.X0204? If not, do you have a file named CD_saved_CASE.UNRST? If not, the model initialisation might not be able to use simulation restart. In that case you'd need model initialisation for "base runs"–typically using either the gravity equilibration facility (EQUIL keyword) or the "enumerated" method that explicitly assigns the initial pressures, saturations, and gas/oil ratios if applicable for every grid cell.

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