UDADIMS

Recognised by the OPM Flow parserRUNSPEC

This keyword defines the dimensions of the User Defined Arguments (“UDA”) used by OPM Flow that can be applied to various connection, group, and well keywords in the SCHEDULE section. UDAs are defined by the UDQ keyword that is used to specify values to be constants, SUMMARY variables, as defined in 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 currently available.

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

Parameters

No.NameDescriptionTypeDefault
1NUM_UDQ_REPLACE
manual: NMUDA
NMUDA is a positive integer that defines the number of arguments in a SCHEDULE section keyword, that are replaced by numeric UDQ values.INT0
2IGNOREDNot used and should be defaulted.INT1*
3TOTAL_UDQ_UNIQUE
manual: MXUDA
MXUDA is a positive integer that defines the maximum number of unique arguments in a keyword that are replaced by numeric UDA values. Note that MXUDA differs from NMUDA, for example: If only the oil rate argument of, say the WCONPROD keyword is specified by a UDA, then both NMUDA and MXUDA equal one. However, if a second WCONPROD uses a different UDA, then NMUDA equals two, but MXUDA would still be one. Finally, if the same two distinct UDAs are used separately in two lines of WCONPROD data, then both NMUDA and MXUDA must be set to two. As MXUDA’s default value is 100 then this only needs to be increased where the same UDA is used more than 100 times.INT100

Example

--
-- USER DEFINED ARGUMENT DIMENSIONS
-- NO. NOT TOTAL
-- ARGS USED UDQ
UDADIMS
10 1* 10 /
In the above example both NMUDA and MXUDA are set equal to ten.

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