Commit Graph

197 Commits

Author SHA1 Message Date
Bård Skaflestad
17643455ba Merge pull request #688 from plgbrts/vapoilwat
adding primary variable combination/switching
2022-05-25 15:19:15 +02:00
Arne Morten Kvarving
54920b4147 changed: do not resize jacobian unless necessary
setSize always reallocates
2022-05-03 09:39:14 +02:00
Arne Morten Kvarving
a68cb1427e changed: remove unnecessary initialization
the values are all overwritten in updateLocalResidual so no
reason to set them to zero first
2022-05-03 09:38:05 +02:00
Bård Skaflestad
1231781525 Merge pull request #692 from akva2/avoid_diffusion_copy
fixed: avoid copying int quants for diffusion
2022-05-02 10:31:16 +02:00
Arne Morten Kvarving
18af8c239e fixed: avoid copying int quants for diffusion if diffusion is not enabled 2022-04-29 10:36:13 +02:00
Paul Egberts
5d364cc560 Explanation for primary variable switches 2022-04-28 16:35:35 +02:00
Markus Blatt
fc0907b78d [bugfix] Prevent accessing undefined variables for brine.
It seems like currentValue.primaryVarsMeaningBrine() will return an
uninitialized variable if enableSaltPrecipitation is false. This can
lead to undefined behavior especially in a parallel run. Hence we
also check whether salt precipitation is is enabled and do nothing
otherwise.
2022-04-20 16:48:50 +02:00
Paul Egberts
a678f5f471 fix adaptPrimaryVariables 2022-04-14 13:24:01 +02:00
Paul Egberts
a246d4b098 clean up 2022-04-11 21:50:28 +02:00
Markus Blatt
292a4cc517 Merge pull request #683 from totto82/transfluxmodule
Add transflux module and a test that uses it
2022-04-11 08:41:23 +02:00
Paul Egberts
2d5710fdfc adding primary variable combination/switching relevant for combined vaporization of water and oil into gas phase 2022-04-08 21:50:21 +02:00
Tor Harald Sandve
f513662aa9 Add transflux module and a test that uses it
Compute flux based on transmissibilites. The permeability is assumed to be diagonal and alligned with the local cell
2022-04-07 10:46:31 +02:00
Tor Harald Sandve
16c4a00cdc Merge pull request #684 from plgbrts/vapwat
Enabling water evaporation into the gas phase
2022-04-07 09:03:04 +02:00
Arne Morten Kvarving
f93d748603 changed: do not copy primary variables into element context
hold a const pointer instead.
2022-04-01 12:11:34 +02:00
Arne Morten Kvarving
1e1f6f5b50 changed: disable mutable access to primary variables 2022-04-01 12:03:08 +02:00
Paul Egberts
658834a261 treating permeability reduction via mobility term 2022-03-14 15:07:12 +01:00
Paul Egberts
90a04a351b clean up 2022-03-06 18:13:13 +01:00
Paul Egberts
b5836354c2 clean up 2022-03-06 18:07:32 +01:00
Paul Egberts
7b04c9641d add water-gas ratio term to the black-oil equations and primary variable switching between Sw and Rvw 2022-03-01 17:29:46 +01:00
Paul Egberts
8bfc490367 flux corrections 2022-03-01 17:20:17 +01:00
Tor Harald Sandve
c464bceb3b Merge pull request #681 from plgbrts/saltp
Enable salt precipitation/dissolution
2022-01-18 12:02:18 +01:00
Paul Egberts
acde56916d fix for 2phase case water+gas + BRINE option 2022-01-15 17:33:12 +01:00
Paul Egberts
e9b94a1e3e fix for compilation issue of opm-models/tests/reservoir_blackoil_vcfv.cc 2022-01-12 18:50:03 +01:00
Paul Egberts
1623d8dbbf minor fix 2022-01-07 14:41:16 +01:00
Paul Egberts
5cc1e4c09e corrected path to include files 2022-01-07 14:27:01 +01:00
Paul Egberts
aa1054317e enable salt precipitation 2022-01-06 15:37:21 +01:00
Tor Harald Sandve
35d2eec705 Extrapolate pvt properties in the extended blackoil model 2022-01-06 15:15:48 +01:00
Joakim Hove
2a42da1ff7 Downstream of filesystem reorganisation in opm-common 2021-12-14 08:38:58 +01:00
goncalvesmachadoc
3f11f6629a fix 2021-12-07 20:34:18 +01:00
goncalvesmachadoc
db3ef09fc0 add flags to Propertities
add flags to Propertities

add flags to Propertities
2021-12-07 17:43:48 +01:00
Arne Morten Kvarving
0eb34fa51b use std::filesystem directly 2021-11-01 12:31:27 +01:00
Markus Blatt
7e0b017a80 Merge pull request #662 from rbe051/unstructuredGridVanguard
Unstructured grid vanguard
2021-10-26 10:42:06 +02:00
Tor Harald Sandve
0e2a8d2dc5 guard against missing opm-grid 2021-10-20 09:51:24 +02:00
Arne Morten Kvarving
2c697457d7 remove unnecessary includes 2021-10-18 11:52:45 +02:00
Arne Morten Kvarving
f09dd916b8 use [[maybe_unused]] instead of macro 2021-10-18 11:52:31 +02:00
daavid00
9ebb3db5cc first version of micp implementation in flow 2021-10-14 17:41:40 +02:00
Atgeirr Flø Rasmussen
dda940686c Merge pull request #670 from ElyesAhmed/communicators2
Communicators2
2021-09-21 14:11:45 +02:00
Elyes Ahmed
ab34e99636 adding the communicator as input in Simulator 2021-09-20 17:31:21 +02:00
Markus Blatt
1c203cd504 Use new function FixedSize for DataHandles with DUNE 2.8.
The lower case version is deprecated now and will be removed.
2021-08-26 16:30:12 +02:00
Markus Blatt
f4dab07a68 Merge pull request #666 from akva2/drop_unused_macro
changed: get rid of OPM_UNUSED macro usage
2021-08-18 16:32:03 +02:00
Arne Morten Kvarving
ebe2448e57 extbomodule: enable extrapolation for function evaluations 2021-08-05 13:16:54 +02:00
Arne Morten Kvarving
e4d6acc23b changed: get rid of OPM_UNUSED macro usage
prefer anonymous parameters and c++17 [[maybe_unused]]
2021-08-03 10:10:01 +02:00
Paul Egberts
a63e775155 fix compositionSwitchEnabled specification 2021-08-01 21:26:39 +02:00
Paul Egberts
0f2ced8891 fix compositionSwitchEnabled specification. For gas-water it is disabled 2021-08-01 21:25:02 +02:00
Paul Egberts
a217974f9d fix for gas-water system, set gas saturation 2021-08-01 21:20:35 +02:00
Paul Egberts
abd775fe21 fix for gas-water system 2021-08-01 21:19:13 +02:00
Paul Egberts
abcf933673 compositionswitch should not be enabled for gas-water system 2021-08-01 21:14:10 +02:00
Markus Blatt
8c3f5fdfbe Fixed spelling in some messages 2021-07-02 14:45:30 +02:00
rube051
1e13cfef37 Added vanguard for the unstructured grid 2021-06-23 14:28:57 +02:00
Arne Morten Kvarving
44267fd206 fixed: do not assert conditions guaranteed by unsigned 2021-06-18 13:26:57 +02:00