ROCKNUM
Recognised by the OPM Flow parserREGIONS
The ROCKNUM keyword defines the rock compaction table region numbers for each grid block, as such there must be one entry for each cell in the model. The region number specifies which set of rock compaction tables defined by the ROCKTAB keyword are used to calculate the rock compaction in a grid block.
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 ROCKNUM region then the default value will be used.
The keyword is terminated by a “/”.
- Records
- An array of values covering the grid
Parameters
| No. | Name | Description | Default |
|---|---|---|---|
| 1 | ROCKNUM | ROCKNUM defines an array of positive integers assigning a grid cell to a particular rock compaction table region. The maximum number of ROCKNUM regions is set by the NTROCC variable on the ROCKCOMP keyword in the RUNSPEC section. | 1 |
Example
The example below sets three ROCKNUM regions for a 4 x 5 x 2 model.
--
-- DEFINE ROCKNUM REGION FOR ALL CELLS
--
ROCKNUM
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
ROCKNUM 1 1* 1* 1* 1* 1* 1* / SET REGION 1
ROCKNUM 2 1 2 1 2 1 1 / SET REGION 2
ROCKNUM 3 1 2 1 2 2 2 / SET REGION 3
/Manual source: parts/chapters/subsections/9.3/ROCKNUM.fodt