UDQDIMS

Recognised by the OPM Flow parserRUNSPEC

This keyword defines the dimensions associated with the UDQ keyword used in OPM Flow to calculate various user defined values in the SCHEDULE section. The UDQ keyword defined variables can be constants, SUMMARY variables, as defined in the SUMMARY section, or a formula using various mathematical functions together with constants and SUMMARY variables.

Although this keyword is read by OPM Flow and the ACTION and UDQ computational logic and calculations have been implemented, one should used caution using this facility as it may result in OPM Flow aborting.

Notes:

The keyword is terminated by a “/”.

Note that OPM Flow has a more restricted UDQ feature set than the commercial simulator, so not all options and functions are available.

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

Parameters

No.NameDescriptionTypeDefault
1MAX_FUNCTIONS
manual: MXFUNS
A positive integer that defines the maximum number of functions that can be included when defining a UDQ definition. This should also include any brackets that will be used in the UDQ definition.INT16
2MAX_ITEMS
manual: MXITEMS
MXITEMS is a positive integer that defines the maximum number of ITEMS allowed in an UDQ definition.INT16
3MAX_CONNECTIONS
manual: MXUDC
MXUDC is a positive integer that defines the maximum number of user defined CONNECTION quantities allowed in an UDQ definition.INT0
4MAX_FIELDS
manual: MXUDF
MXUDF is a positive integer that defines the maximum number of user defined FIELD quantities allowed in an UDQ definition.INT0
5MAX_GROUP
manual: MXUDG
MXUDG is a positive integer that defines the maximum number of user defined GROUP quantities allowed in an UDQ definition.INT0
6MAX_REGION
manual: MXUDR
MXUDR is a positive integer that defines the maximum number of user defined REGION quantities allowed in an UDQ definition.INT0
7MAX_SEGMENT
manual: MXUDS
MXUDS is a positive integer that defines the maximum number of user defined SEGMENT quantities allowed in an UDQ definition.INT0
8MAX_WELL
manual: MXUDW
MXUDW is a positive integer that defines the maximum number of user defined WELL quantities allowed in an UDQ definition.INT0
9MAX_AQUIFER
manual: MXUDA
MXUDA is a positive integer that defines the maximum number of user defined AQUIFER quantities allowed in an UDQ definition.INT0
10MAX_BLOCK
manual: MXUDB
MXUDB is a positive integer that defines the maximum number of user defined BLOCK quantities allowed in an UDQ definition.INT0
11RESTART_NEW_SEED
manual: RSEED
RSEED is a character string that determines if a new random number seed should be generated for restart runs for use in the UDQ functions RANDN, RANDU RRNDN and RRNDU. If RSEED is set to Y than a new seed will be generated and if set to the default value of N or 1* then the same seed of the “base” simulation will be employed. See also the RSEED integer variable on the UDQPARAM keyword in the RUNSPEC section to set the random number seed for the current run. This feature is not supported by OPM Flow.STRINGN

Example

--
-- USER DEFINED ARGUMENT DIMENSIONS FACILITY
-- MAX MAX MAX MAX MAX MAX MAX MAX MAX MAX RAND
-- FUNCS ITEMS CONNS FIELD GROUP REGS SEGTM WELL AQUF BLCKS OPT
UDQDIMS
50 25 0 50 50 0 0 0 0 0 N /
In this case the maximum number of functions that can be included when defining a UDQ definition is set to 50, maximum number of items allowed in an UDQ definition is 25, the maximum number of user defined field quantities allowed in an UDQ definition is 50, and the maximum number of user defined group quantities allowed in an UDQ definition is also 50. All other parameters are defaulted including the RSEED variable (the same seed of the “base” simulation will be employed).

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