OPM / opm-simulators

Simulator programs and utilities for automatic differentiation.
http://www.opm-project.org
GNU General Public License v3.0
111 stars 121 forks source link

Error: Unknown keyword #3783

Open DanatKMGE opened 2 years ago

DanatKMGE commented 2 years ago

Good day! There is an error on start: Unknown keyword. But the file runs on Eclipse, and all is OK. Everything is set correctly, as in manual (OPM FLOW VERSION: 2021-10, MANUAL REVISION: Rev-0).

Here is what it outputs:

**********************************************************************
*                                                                    *
*                        This is flow 2021.10                        *
*                                                                    *
* Flow is a simulator for fully implicit three-phase black-oil flow, *
*             including solvent and polymer capabilities.            *
*          For more information, see https://opm-project.org         *
*                                                                    *
**********************************************************************

Using 1 MPI processes with 2 OMP threads on each

Reading deck file 'ALKALINE_ASP.DATA'
    0 Reading RUNSPEC  in ALKALINE_ASP.DATA line 8
    1 Reading TITLE    in ALKALINE_ASP.DATA line 9
    2 Reading DIMENS   in ALKALINE_ASP.DATA line 12
    3 Reading OIL      in ALKALINE_ASP.DATA line 15
    4 Reading WATER    in ALKALINE_ASP.DATA line 17
    5 Reading POLYMER  in ALKALINE_ASP.DATA line 19
    6 Reading SURFACT  in ALKALINE_ASP.DATA line 20
    7 Reading ALKALINE in ALKALINE_ASP.DATA line 21
    8 Reading FIELD    in ALKALINE_ASP.DATA line 23
    9 Reading TABDIMS  in ALKALINE_ASP.DATA line 25
   10 Reading REGDIMS  in ALKALINE_ASP.DATA line 28
   11 Reading WELLDIMS in ALKALINE_ASP.DATA line 31
   12 Reading START    in ALKALINE_ASP.DATA line 34
   13 Reading NSTACK   in ALKALINE_ASP.DATA line 37
   14 Reading UNIFOUT  in ALKALINE_ASP.DATA line 39
   15 Reading UNIFIN   in ALKALINE_ASP.DATA line 40
   16 Reading GRID     in ALKALINE_ASP.DATA line 44
   17 Reading EQUALS   in ALKALINE_ASP.DATA line 46
   18 Reading PROPS    in ALKALINE_ASP.DATA line 57
   19 Reading SWFN     in ALKALINE_ASP.DATA line 59
   20 Reading SOF2     in ALKALINE_ASP.DATA line 65
   21 Reading PVTW     in ALKALINE_ASP.DATA line 71
   22 Reading PVDO     in ALKALINE_ASP.DATA line 74
   23 Reading ROCK     in ALKALINE_ASP.DATA line 78
   24 Reading DENSITY  in ALKALINE_ASP.DATA line 81
   25 Reading ALSURFST in ALKALINE_ASP.DATA line 86
   26 Reading ALPOLADS in ALKALINE_ASP.DATA line 95
   27 Reading ALSURFAD in ALKALINE_ASP.DATA line 109
   28 Reading PLYVISC  in ALKALINE_ASP.DATA line 123
   29 Reading PLYROCK  in ALKALINE_ASP.DATA line 128
   30 Reading PLYADS   in ALKALINE_ASP.DATA line 133
   31 Reading PLMIXPAR in ALKALINE_ASP.DATA line 142
   32 Reading PLYMAX   in ALKALINE_ASP.DATA line 145
   33 Reading SURFVISC in ALKALINE_ASP.DATA line 150
   34 Reading SURFADS  in ALKALINE_ASP.DATA line 154
   35 Reading SURFST   in ALKALINE_ASP.DATA line 162

Error: Unknown keyword: SURFCAPD

Error: Unrecoverable errors were encountered while loading input
Failed: 14092
OPM Flow Process 14092 Has Failed
Process Complete (1) 
bska commented 2 years ago

Error: Unknown keyword: SURFCAPD

Thank you so much for the report. The direct cause of this diagnostic is a programming error in OPM's keyword representation for SURFCAPD. We've erroneously recorded the JSON file as providing the SURFADS keyword instead. We'll fix this in the development sources, but that fix won't be in an official release until the 2022.04 version later this year.

GitPaean commented 2 years ago

And also, at the moment, OPM does not support simulation with alkaline and surfactant. The error you reported is about reading/parsing the DATA file. The keywords related to alkaline and surfactant will not be handled properly with OPM (most likely, they will not make desirable effects in the simulation results).

DanatKMGE commented 2 years ago

Lots of keyword errors. I can list what I could find: APIVD, TPAMEPSS, SOHF, RADFIN, BCCN, KRNUMX, SOFRF, SSWCR.

alfbr commented 2 years ago

Lots of keyword errors. I can list what I could find: APIVD, TPAMEPSS, SOHF, RADFIN, BCCN, KRNUMX, SOFRF, SSWCR.

I am afraid that is not very helpful, unless you share what kind of error it is. We do have a design goal that Flow should recognize all Eclipse 100 keywords. However, there has been made no attempt to support all keywords or options in the simulator. If you are using an unsupported keyword or an unsupported option in a supported keyword, Flow should give you an informative message to that effect. If not, we consider it a bug.

OPMUSER commented 2 years ago
  1. APIVD - Marked as inactive in the OPM Flow 2021-10 manual.
  2. TPAMEPSS - Marked as inactive in the OPM Flow 2021-10 manual.
  3. SOHF - Not an E100 or E300 keyword (2019.1 manual). This is a tNavigator SUMMARY vector for Segment oil holdup fraction SOHF.
  4. RADFIN - Marked as inactive in the OPM Flow 2021-10 manual. LGRs are not currently supported.
  5. BCCN - Not a E100, E300 or tNav keyword.
  6. KRNUMX - KRNUM(X/Y/X) marked as inactive in the OPM Flow 2021-10 manual.
  7. SOFRF - Not a E100 or E300 keyword. This is a tNav SUMMARY vector for Segment free oil flow rate SOFRF.
  8. SSWCR - Marked as inactive in the OPM Flow 2021-10 manual.
DanatKMGE commented 2 years ago

@OPMUSER Where can I download the Tech Doc? Does it exist?

OPMUSER commented 2 years ago

@DanatKMGE we don't have a Technical Manual at the moment, it is currently being written. However, we do have a User/Reference Manual that outlines the keywords etc and can be downloaded from here:

https://opm-project.org/?page_id=955

The manual gets updated with every release.

atgeirr commented 2 years ago

Where can I download the Tech Doc? Does it exist?

@DanatKMGE In addition to the reference manual linked to above, there is a journal article describing some of the technical details available: https://www.sciencedirect.com/science/article/pii/S0898122120302182

The article is open access.