[Opm] Error with upscale_relpermvisc

Alun Griffiths Alun.Griffiths at rockhopperexploration.co.uk
Thu Apr 28 13:28:42 UTC 2022


Hi Bard

Looking at the source code was really helpful - thanks!   The .grdecl file was missing SATNUM and PORO and once I added them, upscale_relpermvisc ran OK.  I now need to check how the fine grid model + rock curves compares to the coarse grid model + pseudos.  I have MULTZ keywords in the .grdecl file but I don't think upscale_relpermvisc will read these so will probably have to adjust the PERMZ array to incorporate them.  Will let you know how I get on

Best regards

Alun

-----Original Message-----
From: Bård Skaflestad <Bard.Skaflestad at sintef.no>
Sent: 28 April 2022 13:28
To: Alun Griffiths <Alun.Griffiths at rockhopperexploration.co.uk>; opm at opm-project.org
Subject: RE: Error with upscale_relpermvisc

Hi,

Thanks for bringing this issue to our attention.  The first problem is *probably* that the diagnostic message is incomplete.  For what it's worth, the upscale_relpermvisc utility looks for the following input data:

* SPECGRID
* COORD
* ZCORN
* PORO
* PERMX
* SATNUM

If you're comfortable looking at C++ source code, you can review the keyword existence check on lines 351--356 of upscale_relpermvisc.cpp (GitHub URL: https://github.com/OPM/opm-upscaling/blob/78bf78a8373f59d5d3d0394a0d8de12e822c9c5a/examples/upscale_relpermvisc.cpp#L351-L356)

At minimum the diagnostic message should mention PORO, PERMX, and SATNUM too, but ideally we should only identify the requisite input data that's actually missing.  Maybe your case is missing SATNUM?  In that case you can insert

SATNUM
N*1 /

with 'N' being the product of the grid dimensions instead.  That is still a little superfluous however, because the upscale_relpermvisc utility will use that definition as a fallback if it's not actually present in the input file.

Please let us know if you get any further if your input file provides porosity, permeability and saturation region information.


Best Regards,

Bård Skaflestad
OPM Developer
SINTEF Digital, Mathematics & Cybernetics Computational Geosciences group

-----Original Message-----
From: Opm <opm-bounces at opm-project.org> On Behalf Of Alun Griffiths
Sent: Thursday, April 28, 2022 11:47 AM
To: opm at opm-project.org
Subject: [Opm] Error with upscale_relpermvisc

Hi

I have created a .grdecl file which was successfully upscaled using upscale_perm.  However, when I use the same file in upscale_relpermvisc, I get the following error message:

Error: Did not find SPECGRID, COORD and ZCORN in ECLIPSE file facies_2a.grdecl

I checked the .grdecl file and it contains these keywords so not sure what the issue is.

Best regards

Alun Griffiths

[http://rockhopperexploration.co.uk/signatures/images/spacer.png]
[http://rockhopperexploration.co.uk/signatures/images/spacer.png]
[Rockhopper Exploration plc]<http://rockhopperexploration.co.uk>        [http://rockhopperexploration.co.uk/signatures/images/spacer.png]

Rockhopper Exploration plc
Warner House
123 Castle Street
Salisbury
SP1 3TB

[http://rockhopperexploration.co.uk/signatures/images/spacer.png]

Tel: +44(0) 1722 414419
Fax: +44 (0) 203 325 1954

Website:
www.rockhopperexploration.co.uk<http://rockhopperexploration.co.uk>

[http://rockhopperexploration.co.uk/signatures/images/spacer.png]
[http://rockhopperexploration.co.uk/signatures/images/spacer.png]

Incorporated and Registered in England and Wales with registered no. 5250250

[http://rockhopperexploration.co.uk/signatures/images/spacer.png]

This electronic mail message, including any attachments is a confidential communication exclusively between Rockhopper Exploration plc and the intended recipient)s), indicated as the addressee(s). It contains information that is private and may be proprietary or covered by legal professional privilege. If you receive this message in any form and you are not the intended recipient you must not review, use, disclose or disseminate it. We would be grateful if you could contact the sender upon receipt and in any event you should destroy this message without delay. Anything contained in this message that is not connected with the business of Rockhopper Exploration plc is neither endorsed by nor is the liability of this company.


More information about the Opm mailing list