BOX

Recognised by the OPM Flow parserGRIDEDITPROPSREGIONSSOLUTIONSCHEDULE

Variant 1 — GRID section

BOX defines a range of grid blocks for which subsequent data is assigned for all the cells in the defined BOX. Values are set for cells within the defined box grid using natural reading order, initially along the I-direction then J-direction and finally the K-direction. If fewer values are assigned than exist within the defined block space, then subsequent values are set starting from the next block that was not previously assigned for that property. This is the same behavior as applies to setting grid properties for an unboxed grid.

Note that the BOX grid is reset by the keyword ENDBOX by resetting the current defined BOX to be the whole grid. The keyword can be used for any array and for all grid types.

Notes:

Where NX, NY and NZ are the dimensions of the model as defined on the DIMENS keyword in the RUNSPEC section.

The keyword is terminated by a “/”.

See also the ADD, COPY, ENDBOX, EQUALS, and MULTIPLY keywords can also be used to enter data in a subset of the model.

Records
Fixed number of records
Record count
1
Items per record
6

Parameters

No.NameDescriptionTypeDefault
1I1A positive integer that defines the lower bound of the array in the I-direction to be modified must be greater than or equal 1 and less than or equal to I2 and NX.INT1
2I2A positive integer that defines the upper bound of the array in the I-direction to be modified must be greater than or equal to II and less than or equal to NXINTNX
3J1A positive integer that defines the lower bound of the array in the J-direction to be modified must be greater than or equal 1 and less than or equal to J2 and NY.INT1
4J2A positive integer that defines the upper bound of the array in the J-direction to be modified must be greater than or equal to JI and less than or equal to NY.INTNY
5K1A positive integer that defines the lower bound of the array in the K-direction to be modified must be greater than or equal to one and less than or equal to K2 and NZ.INT1
6K2A positive integer that defines the upper bound of the array in the K-direction to be modified must be greater than or equal to KI and less than or equal to NZ.INTNZ

Example

--
-- DEFINE A BOX GRID FOR THE BOTTOM LAYER OF A 100 X 100 X 20 MODEL
--
-- ---------- BOX ---------
-- I1 I2 J1 J2 K1 K2
BOX
1* 1* 1* 1* 20 20 / SELECT THE BOTTOM LAYER
--
-- DEFINE THE POROSITY AND OTHER PROPERTIES ON THE BOX GRID
--
PORO
10000*0.300 /
PERMX
5000*100.0 5000*75.0 /
NTG
10000*0.500 /
--
-- RESET THE INPUT BOX TO BE THE FULL MODEL
--
ENDBOX
The above example set the BOX grid to be the last layer in the model which means that 100 x 100, that is 10,000 values need to entered for each property.
Alternatively, one could use the EQUALS keyword to accomplish the same thing.
-- -- ARRAY CONSTANT -- ---------- BOX ---------
-- I1 I2 J1 J2 K1 K2
EQUALS
'PORO’ 0.3000 1* 1* 1* 1* 20 20 / PORO TO 0.30 IN LAYER 20
'PERMX' 100.00 1* 1* 1 50 20 20 / PERMX TO 100. IN LAYER 20
'PERMX' 75.00 1* 1* 51 100 20 20 / PERMX TO 75.0 IN LAYER 20
'NTG’ 0.5000 1* 1* 1* 1* 20 20 / NTG TO 0.50 IN LAYER 20
/
Note
It is good practice to always use the ENDBOX keyword to reset the input back to the full grid when all the modifications for a sub-grid have been completed.
| Note It is good practice to always use the ENDBOX keyword to reset the input back to the full grid when all the modifications for a sub-grid have been completed. |
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|

Manual source: parts/chapters/subsections/6.3/BOX.fodt

Variant 2 — EDIT section

BOX defines a range of grid blocks for which subsequent data is assigned for all the cells in the defined BOX. Note that the BOX grid is reset by the keyword ENDBOX by resetting the current defined BOX to be the whole grid. The keyword can be used for any array and for all grid types.

See BOX - Define a Range of Grid Blocks to Enter Property Datain the GRID section for a full description.

Records
Fixed number of records
Record count
1
Items per record
6

Manual source: parts/chapters/subsections/7.3/BOX.fodt

Variant 3 — PROPS section

BOX defines a range of grid blocks for which subsequent data is assigned for all the cells in the defined BOX. Note that the BOX grid is reset by the keyword ENDBOX by resetting the current defined BOX to be the whole grid. The keyword can be used for any array and for all grid types.

See BOX - Define a Range of Grid Blocks to Enter Property Datain the GRID section for a full description.

Records
Fixed number of records
Record count
1
Items per record
6

Manual source: parts/chapters/subsections/8.3/BOX.fodt

Variant 4 — REGIONS section

BOX defines a range of grid blocks for which subsequent data is assigned for all the cells in the defined BOX. Note that the BOX grid is reset by the keyword ENDBOX by resetting the current defined BOX to be the whole grid. The keyword can be used for any array and for all grid types.

See BOX - Define a Range of Grid Blocks to Enter Property Datain the GRID section for a full description.

Records
Fixed number of records
Record count
1
Items per record
6

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

Variant 5 — SOLUTION section

BOX defines a range of grid blocks for which subsequent data is assigned for all the cells in the defined BOX. Note that the BOX grid is reset by the keyword ENDBOX by resetting the current defined BOX to be the whole grid. The keyword can be used for any array and for all grid types.

See BOX - Define a Range of Grid Blocks to Enter Property Datain the GRID section for a full description.

Records
Fixed number of records
Record count
1
Items per record
6

Manual source: parts/chapters/subsections/10.3/BOX.fodt

Variant 6 — SCHEDULE section

BOX defines a range of grid blocks for which subsequent data is assigned for all the cells in the defined BOX. Note that the BOX grid is reset by the keyword ENDBOX by resetting the current defined BOX to be the whole grid. The keyword can be used for any array and for all grid types.

See BOX - Define a Range of Grid Blocks to Enter Property Datain the GRID section for a full description.

Records
Fixed number of records
Record count
1
Items per record
6

Manual source: parts/chapters/subsections/12.3/BOX.fodt