LGR

Recognised by the OPM Flow parserRUNSPEC

The LGR keyword defines the maximum dimensions and parameters for the Local Grid Refinement (“LGR”) option.

Currently, OPM Flow does not support the local grid refinement feature and therefore this keyword is ignored by the simulator, but is documented here for completeness.

Notes:

The keyword is terminated by a “/”.

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

Parameters

No.NameDescriptionTypeDefault
1MAXLGRA positive integer value that defines the maximum number of LGRs in the model.INT0
2MAXCLSA positive integer value that defines the maximum number of grid blocks in all the LGRs.INT0
3MCOARSA positive integer value that defines the maximum number of amalgamated coarse grid blocks in the model.INT0
4MAMALGA positive integer value that defines the maximum number of LGR amalgamations in the model.INT0
5MXLALGA positive integer value that defines the maximum number of LGRs in any amalgamation in the model.INT0
6LSTACKA positive integer that defines the maximum number of previous search directions stored by the linear solver for the LGR. See the NSTACK keyword in the RUNSPEC section for a full description.INT10
7INTERP
manual: INTOPT
A character string set to either INTERP to activate the Quandalle87 Quandalle, Philippe & Besset, P. (1985). Reduction of Grid Effects Due to Local Sub-Gridding in Simulations Using a Composite Grid. 10.2118/13527-MS. pressure correction, or NOINTERP to deactivate this option. The option applies bi-linear interpolation to the global cells surrounding an LGR in order to improve the accuracy of the flow calculations between the LGR and the host cells. Quandalle, Philippe & Besset, P. (1985). Reduction of Grid Effects Due to Local Sub-Gridding in Simulations Using a Composite Grid. 10.2118/13527-MS.STRINGNOINTERP
8NCHCORA positive integer value that defines the maximum number of grid blocks within a coarsened grid that overlap parallel domain boundaries for when the Parallel option has been invoked by the PARALLEL keyword in the RUNSPEC section. OPM Flow uses a different numerical scheme which makes this parameter redundant, see section 2.2Running OPM Flow 2023-04 From The Command Lineon how to run OPM Flow in parallel mode.INT0

Example

--
-- LOCAL GRID REFINEMENT DIMENSIONS AND PARAMETERS
--
-- LGR LGR LGR LGR LGR LGR LGR LGR
-- MAXLGR MAXCLS MCOARS MAMALG MXLALG LSTACK INTOPT NCHCOR
LGR
10 1000 1* 1* 1* 1* INTERP 1* /
The above example sets the maximum number of LGRs to 10 and the maximum number of grid blocks a LGR may contain to 1,000, and that the Quandalle pressure correction should be used to improve the flow calculation.

Manual source: parts/chapters/subsections/5.3/LGR.fodt