CARFIN

Recognised by the OPM Flow parserGRID

CARFIN defines a Cartesian Local Grid Refinement (“LGR”) in a cell or a group of cells in the host grid, for when LGRs have been activated for the input deck using the LGR keyword in the RUNSPEC section. The keyword marks the start of an LGR description section and all subsequent keywords between the CARFIN and ENDFIN keywords are deemed to be associated with the current LGR and not the host grid.

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

Notes:

The keyword is terminated by a “/”.

Note that if the Dual Porosity option has been activated by either the DUALPORO or DUALPERM keywords in the RUNSPEC section, then the host grid definition (I1-I2, J1-J2, K1-K2) applies only to the matrix cells; however, the LGR NZ parameter in this case must include the fracture blocks, similar to the NZ parameter on the DIMENS keyword. This means that all property data should be entered for both the matrix and fracture cells in the LGR description.

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

Parameters

No.NameDescriptionTypeDefault
1NAME
manual: LGRNAME
A character string of up to eight characters in length that defines the LGR name for which the LGR is being being defined.STRINGNone
2I1A positive integer that defines the lower index of the global or host grid in the I-direction to be refined; must be greater than or equal 1 and less than or equal to I2 and NX on the DIMENS keyword in the RUNSPEC section.INTNone
3I2A positive integer that defines the upper index of the global or host grid in the I-direction to be refined; must be greater than or equal 1 and II, and less than or equal to NX on the DIMENS keyword in the RUNSPEC section.INTNone
4J1A positive integer that defines the lower index of the global or host grid in the J-direction to be refined; must be greater than or equal 1 and less than or equal to J2 and NY on the DIMENS keyword in the RUNSPEC section.INTNone
5J2A positive integer that defines the upper index of the global or host grid in the J-direction to be refined; must be greater than or equal 1 and JI, and less than or equal to NY on the DIMENS keyword in the RUNSPEC section.INTNone
6K1A positive integer that defines the lower index of the global or host grid in the K-direction to be refined; must be greater than or equal 1 and less than or equal to K2 and NZ on the DIMENS keyword in the RUNSPEC section.INTNone
7K2A positive integer that defines the upper index of the global or host grid in the K-direction to be refined; must be greater than or equal 1 and KI, and less than or equal to NZ on the DIMENS keyword in the RUNSPEC section.INTNone
8NXA positive integer value that defines the number of LGR grid blocks in the x direction for Cartesian grids or the number of grid blocks in the r direction for radial gridsINTNone
9NYA positive integer value that defines the number of LGR grid blocks in the y direction for Cartesian grids or the number of grid blocks in the theta direction for radial grids.INTNone
10NZA positive integer value that defines the number of LGR grid blocks in the z direction for both Cartesian and radial grids.INTNone
11NWMAX
manual: MXWELS
A positive integer defining the maximum number of wells contained in this LGR.INTNone
12PARENT
manual: HOSTNAME
A character string of up to eight characters in length that defines the host grid name for nested refinements. The default value of “GLOBAL” sets the host name to the global grid, that is for a conventional LGR. A nested refinement is when the HOSTNAME is a previously declared LGR for which the current LGR is specifying a further LGR refinement.STRINGGLOBAL

Example

The example below defines an LGR in the global grid, named LGR-OP01 with a maximum of one well allowed in the LGR.
--
-- CARFIN LGR GRID COMMANDS
--
-- LGR ----- HOST GRID ------ -- CARFIN GRID -- MAX HOST
-- NAME I1 I2 J1 J2 K1 K2 NX NY NZ WELLS NAME
CARFIN
LGR-OP01 24 24 87 87 1 50 3 3 50 1 GLOBAL /
ENDFIN
Here the one global cell in the areal plane (24, 87) is divided into three LGR cells in the x-direction and three cells in the y-direction. Since no other property data is given, then the LGR cells take their properties from the host grid, that is the global grid.

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