Håkon Hægland
7eeca28018
Add more support for directional relperms
...
Adds support for directional relperms for the tpfa linearizer.
2022-09-14 23:37:10 +02:00
Håkon Hægland
81cf436630
Add support for KRNUM
2022-09-14 15:34:38 +02:00
Arne Morten Kvarving
8e38edf928
fixed: respect rule-of-three for fvbaseintensivequantities
...
is no need to explicitly declare the cc here
2022-09-09 08:18:02 +02:00
Arne Morten Kvarving
ee9acb31cb
changed: unify matrixblock.hh with downstream MatrixBlock.hpp
2022-08-25 13:31:37 +02:00
Bård Skaflestad
401441dc10
Revert "changed: unify matrixblock.hh with downstream MatrixBlock.hpp"
2022-08-24 20:33:08 +02:00
Arne Morten Kvarving
2b30ca9f53
changed: unify matrixblock.hh with downstream MatrixBlock.hpp
2022-08-24 15:49:03 +02:00
Arne Morten Kvarving
77eccfd869
fixed: avoid vector<bool> in fvbasediscretization
...
writes to vector<bool> is not thread safe
2022-08-11 09:51:34 +02:00
Atgeirr Flø Rasmussen
0d4c19b723
Remove unneeded timeIdx function parameters.
2022-08-10 10:00:12 +02:00
Atgeirr Flø Rasmussen
aa4e0d4d58
Ensure cache is updated, not only invalidated, when Newton update fails.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
dd01af1f3b
More safeguarding that the intensive quantities cache is updated.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
f4e98c6d32
Cleanup in new classes.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
75a5a3d135
Remove changes not needed for a minimal PR.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
4001fcffcf
Replace assert() with exception.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
733b6e6b11
Settle for handling wells the current way for now.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
d3f01b003d
Turn on specific well processing (thereby disabling drift comp f. ex.).
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
efd6214643
Follow function renaming.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
ec944ff5e3
Order operations in the same way as existing code.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
9ff81d2a42
Do fluxes before storage, as for the existing linearizer.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
b6986a24f7
Make the flux actually a velocity, also for the new callpath.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
6c0d5ea8c5
Refactoring in BlackOilLocalResidualTpfa.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
75c8f34e3e
Make extrusion factors work properly.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
73d609f7b5
Comment out unused items in SmallElementContext.
2022-08-09 11:08:51 +02:00
Atgeirr Flø Rasmussen
552e38bf1d
Remove unused parts of TpfaLinearizer.
2022-08-09 11:08:51 +02:00
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
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
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
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
Arne Morten Kvarving
d6c378e6a9
remove use of Unused.hpp
2022-08-02 11:24:40 +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
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
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
Markus Blatt
8c3f5fdfbe
Fixed spelling in some messages
2021-07-02 14:45:30 +02:00
Arne Morten Kvarving
44267fd206
fixed: do not assert conditions guaranteed by unsigned
2021-06-18 13:26:57 +02:00
Arne Morten Kvarving
ae537f536d
fixed: do not use Opm:: prefix when inside namespace Opm
2021-05-25 11:46:55 +02:00
Arne Morten Kvarving
d049cdd59d
fixed: do not use Opm:: prefix when inside namespace Opm
2021-05-05 09:50:05 +02:00
Tor Harald Sandve
4801d4e03a
move the boundary check downstream
2021-03-09 09:45:31 +01:00
Tor Harald Sandve
02b978b523
fix boundary face index in parallel
2021-02-09 12:35:44 +01:00
Tor Harald Sandve
5bdccf43d7
return a copy of the intersection to avoid passing reference to a temporary object
2021-01-18 09:00:14 +01:00
Tor Harald Sandve
1b4f0cf2c5
fix incrementer in boundarycontext
2021-01-15 10:37:53 +01:00
Atgeirr Flø Rasmussen
0c4749b2d4
Merge pull request #626 from totto82/updateIntensive
...
Make a method that invalidate and updates the intensive quantities
2020-09-28 09:02:30 +02:00
Tor Harald Sandve
6fbea5e41f
Make a method that invalidate and updates the intensive quantities
2020-09-23 15:19:37 +02:00
Joakim Hove
b2cac8fa44
Remove unused #include of Exceptions
2020-09-21 10:57:42 +02:00
hnil
e4e349eb7e
Add LinearizationType, which will be used for sequential methods.
2020-06-19 14:58:49 +02:00
Bernd Flemisch
d72de0f308
[cleanup] replace typedef by using
2020-06-10 13:49:42 +02:00
Bernd Flemisch
bdb7bac3e8
[properties] replace remaining macro calls
2020-06-10 13:07:19 +02:00
Bernd Flemisch
b809e9a4f7
[properties] replace SET_STRING_PROP calls
...
It's not possible to have `constexpr std::string`s in C++17. Taking
`std::string_view` gives conversion errors. Since this is all temporary
and will be replaced by pure runtime parameters anyway, use string
literals for the moment.
2020-06-09 11:15:16 +02:00
Bernd Flemisch
3ba67ebaa8
[properties] replace SET_TAG_PROP calls
2020-06-09 10:55:25 +02:00
Bernd Flemisch
cbffa2a7ba
[properties] replace SET_SCALAR_PROP calls
2020-06-09 10:43:28 +02:00
Bernd Flemisch
725c022e69
[properties] replace BEGIN/END_PROPERTIES macro calls
2020-06-08 17:11:48 +02:00
Bernd Flemisch
880c5223ac
[properties] replace macro calls by native C++
2020-06-08 16:41:02 +02:00
Bernd Flemisch
58182fe379
[properties] clean up
2020-05-18 15:53:58 +02:00
Bernd Flemisch
de2ca522ff
[properties] redistribute property tag definitions
...
Minimize changes compared to master. Avoid having the one and only
file for property tag definitions.
2020-05-18 15:53:58 +02:00
Bernd Flemisch
5e411a8665
fix test suite
2020-05-18 15:52:45 +02:00
Bernd Flemisch
54d665a532
[properties] recover splice mechanism
2020-05-18 15:52:45 +02:00
Bernd Flemisch
4f890ed379
[properties] continue with splice mechanism
2020-05-18 15:52:45 +02:00
Bernd Flemisch
6d6ba6909c
[properties] replace propertysystem
2020-05-18 15:52:45 +02:00
Arne Morten Kvarving
6784db5e71
bump required dune version to 2.6
...
and remove compatibility code
2020-02-06 16:10:06 +01:00
Atgeirr Flø Rasmussen
8977d64bc6
Whitespace fixes and style consistency.
2019-10-09 14:45:17 +02:00
hnil
3a56213ed8
Added several checks to ensure timestep>0
2019-10-09 14:45:17 +02:00
Arne Morten Kvarving
a5d4b823f5
changed: ewoms/nonlinear -> opm/models/nonlinear
2019-09-19 11:04:36 +02:00
Arne Morten Kvarving
d302771e6c
changed: ewoms/io -> opm/models/io
2019-09-19 10:59:55 +02:00
Arne Morten Kvarving
474ae4ded8
changed: ewoms/disc -> opm/models/discretization
2019-09-19 10:28:26 +02:00