equinor / pyscal

Python module for relative permeability/SCAL support in reservoir simulation
https://equinor.github.io/pyscal/
GNU Lesser General Public License v3.0
54 stars 31 forks source link

Low sgcr can crash Eclipse #168

Open berland opened 4 years ago

berland commented 4 years ago

The following table will crash with a fatal monotonicity error in Eclipse 100. The reason being the second SG value which is too small, manual does not declare what are the accuracy limits in E100.

Quick workaround is to set sgcr to zero or to something larger (1e-5 or 1e-4)

SGOF
-- SCAL recommendation interpolation to 0.0
-- SATNUM 1
-- pyscal: 0.4.3.dev10+g1ea240e
-- swirr=0.05, sgcr=1e-06, swl=0.051, sorg=0.06xx, krgendanchor=sorg
-- LET krg, l=xx85, e=xxx73, t=xxx817, krgend=0.8xxx, krgmax=0.xx
-- LET krog, l=xx624, e=x459, t=xxx0543, kroend=1, kromax=1
-- krg = krog @ sw=0.xx
-- Zero capillary pressure
-- SG     KRG       KROG      PC        
0.0000000 0.0000000 1.0000000 0
0.0000010 0.0000000 1.0000000 0
0.0100010 0.0004003 0.9862372 0
0.0200010 0.0012737 0.9677364 0
0.0300010 0.0025175 0.9466715 0

Credit: meham

berland commented 4 years ago

ping @vkip