OPM / opm-simulators

OPM Flow and experimental simulators, including components such as well models etc.
http://www.opm-project.org
GNU General Public License v3.0
121 stars 121 forks source link

How Many Hours in a -nan Day? #2503

Open OPMUSER opened 4 years ago

OPMUSER commented 4 years ago

This is a difficult problem with modelling hydraulic fractures in a shale reservoir. So small grid blocks (0.01 ft. and high permeabilities, 10,000 mD). The model will not run in OPM Flow, if I switch the well off then it runs in the commercial simulator but fails again in OPM Flow. - which is not very useful. I have tried various numerical schemes, time steps etc. without sucess but I keep on getting this message.

Time step 2, stepsize -nan days, at day 0.04/31, date = 01-Jan-2021
Error: [/build/opm-simulators-4CUPDM/opm-simulators-2019.10-rfinal/opm/simulators/flow/BlackoilModelEbos.hpp:268] NaN residual found!
Problem: Solver convergence failure - Numerical problem encountered
Timestep chopped to -nan days

So I think something is amiss here despite the fact that problem may be not solvable. Test deck attached. Shale TEST-02.zip

bska commented 3 years ago

For what it's worth, I see the same symptom with the current (2021-03-20) master sources when run as

taskset -c 4 ${flow} --ecl-deck-file-name=/data/projects/opm/3rdparty/models/shale/TEST-02.DATA \
    --output-dir=./2021-03-21.01/dev.seq --tolerance-cnv=1.0e-5 --tolerance-cnv-relaxed=5.0e-4 \
    --enable-tuning=true --matrix-add-well-contributions=true --linear-solver-max-iter=30 \
    --linear-solver-reduction=5.0e-3 --edge-weights-method=2