COPY

Recognised by the OPM Flow parserGRIDEDITPROPSREGIONSSOLUTION

Variant 1 — GRID section

The COPY keyword copies an array (or part of an array) to another array or part of an array. The arrays can be integer or real valued; however, the arrays that can be operated on are dependent on which section the COPY 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.17. Cells colored red indicate arrays that are not supported by OPM Flow operations.

COPY 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.17: COPY Keyword Applicable Arrays by Section

Records
One or more records, each terminated by /
Items per record
8

Parameters

No.NameDescriptionTypeDefault
1src
manual: ARRAY-1
A character string of up to eight characters in length that defines the keyword identifying the array to be copied from.STRINGNone
2target
manual: ARRAY-2
A character string of up to eight characters in length that defines the keyword identifying the array to be copied to.STRINGNone
3I1A 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
4I2A 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
5J1A 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
6J2A 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
7K1A 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
8K2A 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

--
-- SOURCE DESTIN. ---------- BOX ---------
-- I1 I2 J1 J2 K1 K2
COPY
PERMX PERMY 1* 1* 1* 1* 1* 1* / CREATE PERMY
PERMX PERMZ 1* 1* 1* 1* 1* 1* / CREATE PERMZ
/
--
-- ARRAY CONSTANT ---------- BOX ---------
-- I1 I2 J1 J2 K1 K2
MULTIPLY
PERMZ 0.50000 1* 1* 1* 1* 1* 1* / PERMZ * 0.5
/
The above example copies PERMX array to the PERMY and PERMZ arrays in the GRID section for all grid blocks in the model. The PERMZ array is then multiplied by 0.5 for all grid blocks in the model.
| COPY 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/COPY.fodt

Variant 2 — EDIT section

The COPY keyword copies an array (or part of an array) to another array or part of an array. The arrays can be real or integer depending on the array type; however, the arrays that can be operated on is dependent on which section the COPY keyword is being used.

See COPY – Copy Array Data to Another 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/COPY.fodt

Variant 3 — PROPS section

The COPY keyword copies an array (or part of an array) to another array or part of an array. The arrays can be real or integer depending on the array type; however, the arrays that can be operated on is dependent on which section the COPY keyword is being used.

See COPY – Copy Array Data to Another 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/COPY.fodt

Variant 4 — REGIONS section

The COPY keyword copies an array (or part of an array) to another array or part of an array. The arrays can be real or integer depending on the array type; however, the arrays that can be operated on is dependent on which section the COPY keyword is being used.

See COPY – Copy Array Data to Another 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/COPY.fodt

Variant 5 — SOLUTION section

The COPY keyword copies an array (or part of an array) to another array or part of an array. The arrays can be real or integer depending on the array type; however, the arrays that can be operated on is dependent on which section the COPY keyword is being used.

See COPY – Copy Array Data to Another 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/COPY.fodt