Commit Graph

1180 Commits

Author SHA1 Message Date
Arne Morten Kvarving
368a2414c3 BlackOilBoundaryRateVector: use if constexpr 2022-08-09 09:08:24 +02:00
Bård Skaflestad
fb21af3f7f Merge pull request #702 from bska/fix-build-opm-unused
Fix Build After "Unused.hpp" Removal
2022-08-04 16:12:38 +02:00
Bård Skaflestad
326449fe0b Fix Build After "Unused.hpp" Removal
Needed for configurations that don't have Dune-localfunctions or
which *do* have ALUGrid.
2022-08-04 15:12:33 +02:00
Markus Blatt
000ed8b8ae Merge pull request #701 from akva2/remove_unused
remove use of Unused.hpp
2022-08-02 14:19:49 +02:00
Arne Morten Kvarving
d6c378e6a9 remove use of Unused.hpp 2022-08-02 11:24:40 +02:00
Bård Skaflestad
02a91bf216 Merge pull request #700 from akva2/cleanup_deck
remove unnecessary includes
2022-07-27 01:52:26 +02:00
Arne Morten Kvarving
92209466c5 remove unnecessary includes 2022-07-26 18:32:03 +02:00
Tor Harald Sandve
d46d2c31d0 Merge pull request #695 from totto82/fixDiff
fix blackoil diffusion module
2022-06-23 09:25:36 +02:00
Tor Harald Sandve
3b1ebfcda7 fix blackoil diffusion module 2022-06-22 14:07:16 +02:00
Bård Skaflestad
17643455ba Merge pull request #688 from plgbrts/vapoilwat
adding primary variable combination/switching
2022-05-25 15:19:15 +02:00
Atgeirr Flø Rasmussen
d57c47ff32 Merge pull request #693 from akva2/micro_optims
Small micro optimizations
2022-05-05 15:55:52 +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
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
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
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