Commit Graph

1204 Commits

Author SHA1 Message Date
Atgeirr Flø Rasmussen
bd6b42b859 Undo changes to fvbaselinearizer.hh. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
d424262a54 Make TpfaLinearizer separate class (again). 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
f21ca0c63e Remove unneeded class. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
8a15e2da08 Remove unused file. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
4aa4788740 Remove unused file.
Content was added to fvbaselinearizer.hh.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
4764d174b2 Add TPFA-specific linearizer variant. 2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
323cfbd5f6 Comment out OpenMP code. 2022-08-09 11:08:51 +02:00
hnil
3616e68d3a need for true impes 2022-08-09 11:08:51 +02:00
hnil
b7f2a85534 fixe openmp
fixed add well matrix in new system
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
cf208af541 Minor compile fix with HAVE_DUNE_FEM. 2022-08-09 11:08:51 +02:00
hnil
08c0848e0d tried to get openmp work 2022-08-09 11:08:51 +02:00
hnil
df32014109 global assembly with wells separate working 2022-08-09 11:08:51 +02:00
hnil
e245f0ae50 added possibility for doing well contributions separately, still error 2022-08-09 11:08:51 +02:00
hnil
cfd727b012 global assembly 2022-08-09 11:08:51 +02:00
hnil
c9481aaa66 refactoring to not need use local indices 2022-08-09 11:08:51 +02:00
hnil
56f742ed7d changes to make local update of primaryvariables and intensive quantities possible 2022-08-09 11:08:51 +02:00
hnil
112c2c3573 update with out element context 2022-08-09 11:08:51 +02:00
hnil
e12cab262d small fix 2022-08-09 11:08:50 +02:00
hnil
f7210d7261 back to safe smallelement 2022-08-09 11:08:50 +02:00
hnil
2cbc3a1f00 even less things 2022-08-09 11:08:50 +02:00
hnil
7f7cf71269 fails with correct error 2022-08-09 11:08:50 +02:00
hnil
97a2584ad0 added element context intended to be small 2022-08-09 11:08:50 +02:00
hnil
d986ef1add working with small increase in performance 2022-08-09 11:08:50 +02:00
hnil
487cf2376e working refatoring 2022-08-09 11:08:50 +02:00
hnil
3856a5a84e added tpfa variant 2022-08-09 11:08:50 +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