Commit Graph

14117 Commits

Author SHA1 Message Date
Kai Bao
78bd95c593 also update cellZSpan_ and cellZMinMax
when updating cell center depth due to numerical aquifer cells.
2022-05-05 15:01:09 +02:00
Tor Harald Sandve
ea82bebb3a
Merge pull request #3909 from totto82/fix_reg_msw
reset regularize_ before starting the inner iterations
2022-05-03 13:44:00 +02:00
Tor Harald Sandve
4150ec5f67
Merge pull request #3756 from osae/letRelperms
Support for LET-based saturation functions.
2022-05-03 13:39:32 +02:00
Tor Harald Sandve
d8cdf52eeb
Merge pull request #3907 from GitPaean/testing_primary_updating
update primary variables in prepareTimeStep after updating the well target
2022-05-03 09:07:14 +02:00
Tor Harald Sandve
dfe0982286 reset regularize_ before starting the inner iterations 2022-05-03 08:25:26 +02:00
Kai Bao
57d8f1aa24 update primary variables in prepareTimeStep
it should not change running results.
2022-05-02 13:47:16 +02:00
Bård Skaflestad
26c7055b9e
Merge pull request #3905 from goncalvesmachadoc/addBXPV
add Block Pore Volumes
2022-04-29 23:18:02 +02:00
goncalvesmachadoc
8920f339cc addBXPVs 2022-04-29 20:26:59 +02:00
Bård Skaflestad
35cdc9d300
Merge pull request #3904 from totto82/pcow
output pcow, pcog
2022-04-29 17:34:51 +02:00
Tor Harald Sandve
74d8db36c5
Merge pull request #3859 from totto82/default_strict
use a relaxed (but not too relaxed) well tolerance when iter>6
2022-04-29 15:53:53 +02:00
Tor Harald Sandve
967c538da8 output pcow, pcog 2022-04-29 15:35:16 +02:00
Kai Bao
4a8f3932d6
Merge pull request #3902 from GitPaean/renaming
renaming function updateWellState to updatePrimaryVariablesNewton .
2022-04-29 13:58:15 +02:00
Kai Bao
7145ec32ee renaming function updateWellState
to updatePrimaryVariablesNewton

this should be a fallout during the well code refactoring
2022-04-29 12:55:54 +02:00
Markus Blatt
cd663351f6
Merge pull request #3897 from akva2/missing_config_h_include
fixed: add missing config.h include
2022-04-28 12:48:58 +02:00
Arne Morten Kvarving
7edca13df6 fixed: add missing config.h include 2022-04-28 11:38:02 +02:00
Bård Skaflestad
a21d7c4fc1
Merge pull request #3895 from blattms/fix-spelling
Spelling fix geomtry -> geometry.
2022-04-27 21:03:53 +02:00
Markus Blatt
51d8c9536e Spelling fix geomtry -> geometry.
Actually one should rename the function used from opm-common, too.
But that is for later...
2022-04-27 20:52:30 +02:00
Markus Blatt
42c2f649d3
Merge pull request #3893 from akva2/onephase_use_flow_binary
changed: also run the parallel onephase tests through flow binary
2022-04-27 16:33:42 +02:00
Arne Morten Kvarving
ae32035ebc changed: also run the parallel onephase tests through flow binary 2022-04-27 12:41:24 +02:00
Markus Blatt
355f71bda9
Merge pull request #3891 from blattms/flow-add-wateronly-enery
Added support for water-only and water-only + thermal to flow.
2022-04-26 18:08:00 +02:00
Markus Blatt
9b98a8fdc1 Use flow to update reference data for onephase test cases 2022-04-26 17:07:09 +02:00
Markus Blatt
c66fb8a93d Added support for water-only and water-only + thermal to flow.
Also run the onephase tests with flow now.
2022-04-26 17:07:09 +02:00
Tor Harald Sandve
52fca6c91d use a relaxed (but not too relaxed) well tolerance when iter>6
also shut unsolvable wells during iterations as default

Note however that getWellConvergence return false if a well is unsolvable
i.e. it will cut the timestep and redo the iteration if the well is unsolvable
and only shut it completly if the time step is below the
MinTimeStepBeforeShuttingProblematicWellsInDays (default 0.01 days)
2022-04-26 10:55:22 +02:00
Tor Harald Sandve
4b5a53eaeb
Merge pull request #3887 from totto82/init_alt_eps
use alternative init for wells with all rates less than eps
2022-04-26 10:46:19 +02:00
Tor Harald Sandve
bd145913e8 use alternative init for wells with all rates less than eps 2022-04-26 09:32:18 +02:00
Atgeirr Flø Rasmussen
75ccd88f4f
Merge pull request #3888 from totto82/stop_tgr2
fix trivial group target
2022-04-26 08:34:06 +02:00
Atgeirr Flø Rasmussen
374b25639e
Merge pull request #3872 from totto82/fix_stop_inoperable
Fix STOP in combination with inoperable/unsolvable
2022-04-25 10:31:02 +02:00
Tor Harald Sandve
d00a2e2341 fix trivial group target 2022-04-25 08:10:19 +02:00
Markus Blatt
d58e11d591
Merge pull request #3875 from OPMUSER/Radial-Spider-Grid-Update-Backport-Candidate
Radial and Spider Grid Keywords Not Supported
2022-04-22 14:24:54 +02:00
Tor Harald Sandve
92175cf094 Fix STOP in combination with inoperable/unsolvable 2022-04-22 09:15:09 +02:00
Tor Harald Sandve
6f6eab3bf4
Merge pull request #3874 from totto82/neg_pot_optional
only check if wells has negative potentials if check_well_operability=true(default)
2022-04-22 09:02:40 +02:00
Tor Harald Sandve
c8bef3bcd5 only check if wells has negative potentials if check_well_operabilty=true(default) 2022-04-22 08:19:33 +02:00
Markus Blatt
aba4c5f487
Merge pull request #3880 from Tongdongq/fix-gpu-tests
Fix GPU tests, use Dune as reference instead of hardcoded
2022-04-21 15:21:07 +02:00
Markus Blatt
1486690738
Merge pull request #3878 from totto82/fixDrsdtcon
fix saturated density in DRSDTCON
2022-04-21 12:14:51 +02:00
Tong Dong Qiu
aa362ae239 Fix GPU tests, use Dune as reference instead of hardcoded 2022-04-21 10:51:38 +02:00
Tor Harald Sandve
969dff4ede
Merge pull request #3864 from totto82/regMSW
regularize MSW equation when iter > strict_inner_iter
2022-04-21 09:15:15 +02:00
Tor Harald Sandve
03c1884533
Merge pull request #3873 from totto82/aprox_thp
tighten approximated solution bhpFromThpLimit from 3 to 0.1 bar
2022-04-21 08:56:57 +02:00
Tor Harald Sandve
fd6cf1ccbd regularize MSW equation when iter > strict_inner_iter 2022-04-21 08:44:50 +02:00
Tor Harald Sandve
9d18f164db fix saturated density in DRSDTCON 2022-04-21 08:35:07 +02:00
Tor Harald Sandve
f1c2c1e69b
Merge pull request #3876 from hakonhagland/2p_fix
WIP: Fix assertion error for GASLIFT-02
2022-04-21 08:22:18 +02:00
Håkon Hægland
9d04895ddb Fix assertion error for 2p oil water
VFP calculations for two phase gas lift does not work unless the
rates are adpated to include a zero gas rate.
2022-04-20 21:47:15 +02:00
Tor Harald Sandve
3f799ba4cc
Merge pull request #3868 from hakonhagland/gl_wtest6
Well testing of gas lift wells
2022-04-20 13:01:14 +02:00
Håkon Hægland
11907495c1 Well testing of gas lift wells
Assign a maximum ALQ value to each GLIFT producer when doing well testing
in beginTimeStep(). This allows the well to be considered open. Then,
later in the timestep, when assemble() is called, the full gas lift
optimization procedure can adjust the ALQ to its correct value.

It is also observed that in some cases when gas lift is switched off by
setting ALQ to zero, and later in the schedule is switched back on again,
it might not be possible to determine bhp from thp for low small ALQ values.
Instead of aborting the gas lift optimization, we should try increasing
ALQ until we get convergence or until the maximum ALQ for the well is
reached.
2022-04-20 10:51:34 +02:00
OPMUSER
89461ed058 Radial and Spider Grid Keywords Not Supported
Add the DR, DTHETA and OUTRAD keywords as unsupported keywords with messages to enable the user to debug the input deck.

Back port candidate for release.
2022-04-20 14:19:56 +08:00
Tor Harald Sandve
a1d11540a6 tighten approximated solution bhpFromThpLimit from 3 to 0.1 bar 2022-04-19 14:21:20 +02:00
Markus Blatt
ec9be88736
Merge pull request #3871 from totto82/fix_init
fix density in initialization for case without DISGAS
2022-04-19 07:44:22 +02:00
Tor Harald Sandve
af95a3f22b fix density in initialization for case without DISGAS 2022-04-12 11:31:17 +02:00
Markus Blatt
c3679fb2ae
Merge pull request #3867 from totto82/avoid_error
avoid throw for nan residuals instead return well as unconverged
2022-04-11 10:36:31 +02:00
Tor Harald Sandve
edf8786a58 avoid throw for nan residuals instead return well as unconverged 2022-04-11 09:52:25 +02:00
Markus Blatt
ff410d268a
Merge pull request #3863 from totto82/unsolvable_fix
fix to --shut-unsolvable-wells=true option
2022-04-11 07:33:46 +02:00