OPM/opm-common

2022-10 and 2022-04: Bug GASVISCT

Closed this issue · 1 comments

The E300 GASVISCT keyword is not defined in the JSON definition:

{
  "name": "GASVISCT",
  "sections": [
    "PROPS"
  ],
  "size": {
    "keyword": "TABDIMS",
    "item": "NTPVT"
  },
  "items": [
    {
      "name": "DATA",
      "value_type": "DOUBLE",
      "size_type": "ALL",
      "comment": "(given by the COMPS keyword). Fun!",
      "dimension": [
        "ContextDependent"
      ]
    }
  ]
}

Using the keyword results in the following error message:

Error:
An error occurred while creating the reservoir properties
Internal error: Tried to get back() from empty DeckView

Note that the equivalent OILVISCT and WATVISCT keywords work as intended, but these are defined under E100 as they can be used in both E100 and E300 . There are also no tests for GASVISCT.

The reason this came up is that a user was trying to match the results of a non-thermal run with a thermal run, with data modified so that the results should be similar. However, the results are significantly different.

Closing as fixed.