[Opm] Problem with WELDIMS

Stephen, Karl D K.D.Stephen at hw.ac.uk
Tue Feb 4 09:05:28 UTC 2020

Has the usage of WELDIMS changed in the recent version of flow?

I have a simple quarter 5 spot model where injector, "INJ", is placed on one corner and producer "PROD" on the other of a square model (5 x 5 x 3 cells).
PROD is added to group G1 and INJ is added to group G2 in WELLSPECS. Both wells are completed vertically over the three layers.

I would expect WELLDIMS to be set up as:

-- Maximum well/connection/group values
--     #wells  #cons/w  #grps  #wells/grp
--     ------  -------  -----  ----------
         2       3         2       1  /

-- Location of wellhead and pressure gauge
--      Well  Well   Location   BHP    Pref.
--      name  group   I    J   datum   phase
--     -----  ----    -    -   -----   -----
        PROD   G1     1    1    8000    OIL  /
        INJ    G2     5    5    8000    WATER /
-- Completion interval
--      Well   Location  Interval  Status           Well
--      name    I    J    K1  K2   O or S            ID
--      ----    -    -    --  --   ------          ------
        PROD    1    1     1   3      OPEN     2*      0.667  /
       INJ     5    5     1   3      OPEN     2*      0.667  /

This is what worked in the previous version of flow that I ran (18.10) and in ECLIPSE. I still have 18.10 installed on a virtual machine.

Now I get the error message:
Error: Run uses maximum group size of 2, but allocates at most 1 in RUNSPEC section.  Increase item 4 of WELLDIMS accordingly.
Failed to create valid EclipseState object.
Exception caught: RUNSPEC_GROUPSIZE_TOO_LARGE: Run uses maximum group size of 2, but allocates at most 1 in RUNSPEC section.  Increase item 4 of WELLDIMS accordingly.

All is fine if I set the fourth item of WELDIMS to 2 for the number of groups but it should be possible to set it to 1 as there is one well per group.

Is this a bug? The latest manual for 19.10 states that the 4th item is the "maximum number of wells that can belong to a group".

It seems as if MXGRPS and MXGRPW are being confused?


Founded in 1821, Heriot-Watt is a leader in ideas and solutions. With campuses and students across the entire globe we span the world, delivering innovation and educational excellence in business, engineering, design and the physical, social and life sciences. This email is generated from the Heriot-Watt University Group, which includes:

  1.  Heriot-Watt University, a Scottish charity registered under number SC000278
  2.  Heriot- Watt Services Limited (Oriam), Scotland's national performance centre for sport. Heriot-Watt Services Limited is a private limited company registered is Scotland with registered number SC271030 and registered office at Research & Enterprise Services Heriot-Watt University, Riccarton, Edinburgh, EH14 4AS.

The contents (including any attachments) are confidential. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system.

More information about the Opm mailing list