Commit Graph

1165 Commits

Author SHA1 Message Date
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
Markus Blatt
44c6dc70d3 Merge pull request #690 from blattms/fix-spe1-brine
[bugfix] Prevent accessing undefined variables for brine without salt precipitation
2022-04-21 12:31:21 +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
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
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
Markus Blatt
281bcb8eb5 Merge pull request #680 from totto82/fixExtModel
Extrapolate pvt properties in the extended blackoil model
2022-01-07 09:48:59 +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
019a6d891b Merge pull request #679 from joakim-hove/repo-reorg
Downstream of filesystem reorganisation in opm-common
2022-01-03 10:37:46 +01:00
Joakim Hove
2a42da1ff7 Downstream of filesystem reorganisation in opm-common 2021-12-14 08:38:58 +01:00
Tor Harald Sandve
7bdc2e6539 Merge pull request #678 from goncalvesmachadoc/vapwat
update parameters BlackoilFluidSystem
2021-12-09 15:37:39 +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
Atgeirr Flø Rasmussen
22cabb6855 Merge pull request #677 from akva2/remove_gcc7_compat
use std::filesystem directly
2021-11-01 15:29:57 +01:00
Arne Morten Kvarving
0eb34fa51b use std::filesystem directly 2021-11-01 12:31:27 +01:00
Arne Morten Kvarving
01b5bbd853 Merge pull request #676 from akva2/disable_check_to_enable_ci
disable conservativeness check
2021-10-29 12:13:49 +02:00
Arne Morten Kvarving
c1f19b7447 disable conservativeness check
the check causes a segfault in release mode only on gcc9+
2021-10-27 09:56:09 +02:00
Markus Blatt
7e0b017a80 Merge pull request #662 from rbe051/unstructuredGridVanguard
Unstructured grid vanguard
2021-10-26 10:42:06 +02:00
Runar Lie Berge
62dc7d3ee7 Merge pull request #1 from totto82/unstructuredGridVanguard
guard against missing opm-grid
2021-10-20 10:04:30 +02:00
Tor Harald Sandve
0e2a8d2dc5 guard against missing opm-grid 2021-10-20 09:51:24 +02:00
Arne Morten Kvarving
3a511ff33c Merge pull request #673 from akva2/janitoring
Some janitoring
2021-10-18 13:17:02 +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
Bård Skaflestad
3cacb0ae8b Merge pull request #672 from akva2/improve_test_driver
update test driver to match opm_add_test
2021-10-17 17:44:29 +02:00
Tor Harald Sandve
2c9ffb4b68 Merge pull request #671 from daavid00/micp-2021-10
micp
2021-10-14 22:28:22 +02:00
daavid00
9ebb3db5cc first version of micp implementation in flow 2021-10-14 17:41:40 +02:00
Arne Morten Kvarving
0fa24f7711 update test driver to match opm_add_test 2021-10-13 11:44:20 +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
Bård Skaflestad
172ab96155 Merge pull request #668 from blattms/dune-2.8
Fixes compilation and deprecation warnings for Dune 2.8
2021-09-14 21:05: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
7fb622bba6 Fixes usage of firstmatrixelement with DUNE 2.8
The function name is now CamelCase and the old
naming scheme is deprecated. Hence we use the new naming
for 2.8
There was also a compilation problem due to header inclusion
order for that function. The compiler did not find our version
the correct version. With this change compilation succeeds again.
2021-08-26 16:26:30 +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
02a8a3d155 Merge pull request #667 from akva2/enable_extrap_extbo
extbomodule: enable extrapolation for function evaluations
2021-08-05 14:08:45 +02:00