HWSNUM

Recognised by the OPM Flow parserREGIONS

The HWSNUM keyword defines the saturation tables (relative permeability and capillary pressure tables) region numbers for each grid block, as such there must be one entry for each cell in the mode, for when the Surfactant Wettability option has been selected. The keyword may also be used with the Low Salt Brine option, in this case the water wet curves are calculated as a function of the low and high water wet salinity curves. The region number specifies which set of relative permeability tables are used to calculate the relative permeability and capillary pressure in a grid block. Note that the keyword is obligatory if the SURFACTW keyword in the RUNSPEC section has been used to invoke the Surfactant Wettability option.

This keyword is not supported by OPM Flow but would change the results if supported so the simulation will be stopped.

Notes:

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.

If a cell is not assigned a SATNUM region then the default value will be used.

The keyword is terminated by a “/”.

Records
An array of values covering the grid

Parameters

No.NameDescriptionDefault
1HWSNUMHWSNUM defines an array of positive integers assigning a grid cell to a particular saturation table region. The maximum number of HWSNUM regions is set by the NTSFUN variable on the TABDIMS keyword in the RUNSPEC section.1

Example

The example below sets three HWSNUM regions for a 4 x 5 x 2 model.
--
-- DEFINE HWSNUM REGIONS FOR ALL CELLS
--
HWSNUM
2 2 1 1 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1
3 3 1 1 3 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1
/
Alternatively the EQUALS keyword could be employed to accomplish the same task, that is:
--
-- ARRAY CONSTANT ---------- BOX ---------
-- I1 I2 J1 J2 K1 K2
EQUALS
HWSNUM 1 1* 1* 1* 1* 1* 1* / SET REGION 1
HWSNUM 2 1 2 1 2 1 1 / SET REGION 2
HWSNUM 3 1 2 1 2 2 2 / SET REGION 3
/

Manual source: parts/chapters/subsections/9.3/HWSNUM.fodt