ADD
Recognised by the OPM Flow parserGRIDEDITPROPSREGIONSSOLUTION
Variant 1 — GRID section
The ADD keyword adds a constant to a specified array or part of an array. The constant can be an integer or real value depending on the array type; however, the arrays that can be operated on are dependent on which section the ADD keyword is being applied in.
Notes:
Where NX, NY and NZ are the dimensions of the model as defined on the DIMENS keyword in the RUNSPEC section.
Each record must be terminated by a “/” and the keyword is terminated by a “/”.
Examples of the arrays most commonly operated on in each section are given in Table 6.4. Cells colored red indicate arrays that are not currently supported by OPM Flow operations.
ADD Keyword and Variable Options by Section
DX
DEPTH
SWL
ENDNUM
PRESSURE
DY
PORV
SWCR
EQLNUM
SWAT
DZ
TRANX
SWU
FIPNUM
SGAS
PERMX
TRANY
SGL
IMBNUM
RV
PERMY
TRANZ
SGCR
MISCNUM
RS
PERMZ
DIFFX
SGU
PVTNUM
TBLK
MULTX
DIFFY
KRW
ROCKNUM
GI
MULTY
DIFFZ
KRO
SATNUM
OILAPI
MULTZ
TRANR
KRG
WH2NUM
SALT
DR
TRANTHT
PCG
GASCONC
DTHETA
DIFFR
PCW
SOLVCONC
PERMR
DIFFTHT
SOLVFRAC
PERMTHT
SFOAM
DZNET
SPOLY
PORO
NTG
FLUXNUM
MULTNUM
MPFANUM
DIFFX
DIFFY
DIFFZ
DIFFR
DIFFTHT
Table 6.4: ADD Keyword Applicable Arrays by Section
- Records
- One or more records, each terminated by
/ - Items per record
- 8
Parameters
| No. | Name | Description | Type | Default |
|---|---|---|---|---|
| 1 | fieldmanual: ARRAY | A character string of up to eight characters in length that defines the keyword identifying the property to be modified. | STRING | None |
| 2 | shiftmanual: CONSTANT | An integer or real value to be added to the ARRAY in the same units as the ARRAY property. | DOUBLE | 0 |
| 3 | I1 | A 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. | INT | 1 |
| 4 | I2 | A 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 NX | INT | NX |
| 5 | J1 | A 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. | INT | 1 |
| 6 | J2 | A 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. | INT | NY |
| 7 | K1 | A 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. | INT | 1 |
| 8 | K2 | A 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. | INT | NZ |
Example
--
-- ARRAY CONSTANT ---------- BOX ---------
-- I1 I2 J1 J2 K1 K2
ADD
PERMX 20.000 1* 1* 1* 1* 1* 1* / ADD 20 mD TO PERMX
/
The above example adds 20 md to the PERMX property array throughout the model.
| ADD Keyword and Variable Options by Section | | | | | | |
|---------------------------------------------|---------|-------|---------|----------|---------|----------|
| GRID | EDIT | PROPS | REGIONS | SOLUTION | SUMMARY | SCHEDULE |
| DX | DEPTH | SWL | ENDNUM | PRESSURE | | |
| DY | PORV | SWCR | EQLNUM | SWAT | | |
| DZ | TRANX | SWU | FIPNUM | SGAS | | |
| PERMX | TRANY | SGL | IMBNUM | RV | | |
| PERMY | TRANZ | SGCR | MISCNUM | RS | | |
| PERMZ | DIFFX | SGU | PVTNUM | TBLK | | |
| MULTX | DIFFY | KRW | ROCKNUM | GI | | |
| MULTY | DIFFZ | KRO | SATNUM | OILAPI | | |
| MULTZ | TRANR | KRG | WH2NUM | SALT | | |
| DR | TRANTHT | PCG | | GASCONC | | |
| DTHETA | DIFFR | PCW | | SOLVCONC | | |
| PERMR | DIFFTHT | | | SOLVFRAC | | |
| PERMTHT | | | | SFOAM | | |
| DZNET | | | | SPOLY | | |
| PORO | | | | | | |
| NTG | | | | | | |
| FLUXNUM | | | | | | |
| MULTNUM | | | | | | |
| MPFANUM | | | | | | |
| DIFFX | | | | | | |
| DIFFY | | | | | | |
| DIFFZ | | | | | | |
| DIFFR | | | | | | |
| DIFFTHT | | | | | | |Manual source: parts/chapters/subsections/6.3/ADD.fodt
Variant 2 — EDIT section
The ADD keyword adds a constant to a specified array or part of an array. The constant can be real or integer depending on the array type; however, the arrays that can be operated on is dependent on which section the ADD keyword is being applied.
See ADD – Add a Constant to a Specified Arrayin the GRID section for a full description.
- Records
- One or more records, each terminated by
/ - Items per record
- 8
Manual source: parts/chapters/subsections/7.3/ADD.fodt
Variant 3 — PROPS section
The ADD keyword adds a constant to a specified array or part of an array. The constant can be real or integer depending on the array type; however, the arrays that can be operated on is dependent on which section the ADD keyword is being applied.
See ADD – Add a Constant to a Specified Arrayin the GRID section for a full description.
- Records
- One or more records, each terminated by
/ - Items per record
- 8
Manual source: parts/chapters/subsections/8.3/ADD.fodt
Variant 4 — REGIONS section
The ADD keyword adds a constant to a specified array or part of an array. The constant can be real or integer depending on the array type; however, the arrays that can be operated on is dependent on which section the ADD keyword is being applied.
See ADD – Add a Constant to a Specified Arrayin the GRID section for a full description.
- Records
- One or more records, each terminated by
/ - Items per record
- 8
Manual source: parts/chapters/subsections/9.3/ADD.fodt
Variant 5 — SOLUTION section
The ADD keyword adds a constant to a specified array or part of an array. The constant can be real or integer depending on the array type; however, the arrays that can be operated on is dependent on which section the ADD keyword is being applied.
See ADD – Add a Constant to a Specified Arrayin the GRID section for a full description.
- Records
- One or more records, each terminated by
/ - Items per record
- 8
Manual source: parts/chapters/subsections/10.3/ADD.fodt