Arne Morten Kvarving
42a2d22d89
avoid potentially uninitialized warnings in serial
...
this was actually broken by an upstream change from return-by-reference
to return-by-value, but we were lucky, the return value was
kept in memory until end of block it seems.
2020-03-19 10:14:04 +01:00
Markus Blatt
4c962e61d1
Also distribute the centroids when loadbalancing CpGrid.
...
They are attached to the cells as well and are now distributed
during CpGrid::loadBalance. Due to this change we also rename
FieldPropsDataHandle to PropsCentroidsDataHandle.
2020-03-06 14:09:32 +01:00
Bård Skaflestad
8c17e05c7d
Merge pull request #2386 from akva2/use_compressed_trans
...
use compressed indices setting up transmissibilities
2020-03-03 06:00:29 -06:00
Arne Morten Kvarving
f1e0dc0acb
use compressed indices setting up transmissibilities
2020-03-03 08:43:50 +01:00
Bård Skaflestad
c3f127afa0
Merge pull request #2384 from akva2/use_compressed_perm
...
use compressed properties setting up permeabilities
2020-03-02 11:56:13 -06:00
Arne Morten Kvarving
ca91b61bc7
use compressed properties setting up permeabilities
2020-03-02 15:12:26 +01:00
Arne Morten Kvarving
373588dd04
use compressed field properties applying NTG
2020-03-02 13:02:10 +01:00
Arne Morten Kvarving
ac28bbfd15
changed: avoid usage of eclipseGrid on non-root processes setting up transmissibilities
...
obtain data from root process
2020-02-28 10:24:00 +01:00
Atgeirr Flø Rasmussen
8cd9da0d83
Merge pull request #2361 from akva2/removeNTGfill
...
remove minpvFillNtg a temporary solution while not supporting standard minpv
2020-02-24 13:34:43 +01:00
Tor Harald Sandve
06df233055
remove minpvFillNtg a temporary solution while not supporting standard minpv
2020-02-24 11:43:07 +01:00
Arne Morten Kvarving
4978e72039
bump required dune version to 2.6
...
remove compatiblity code with older versions
2020-02-06 16:24:39 +01:00
Joakim Hove
d1085466e0
Remove #include GridProperty
2020-01-20 09:00:48 +01:00
Arne Morten Kvarving
3f0fe3bcbd
changed: avoid deck usage
...
in particular, this is preparing for the case where only the
root-process has a deck instance
2020-01-17 14:56:40 +01:00
Joakim Hove
0e9535319b
Simulate with only active cells ( #2213 )
...
Use FieldProps implementation for 3D properties
2020-01-13 15:46:50 +01:00
Arne Morten Kvarving
79dc067eb1
changed: nncdata() has been renamed to data()
2019-11-26 13:29:40 +01:00
Joakim Hove
1d9a3e3d35
Adapt to removal of GridProperty::iget()
2019-10-14 13:31:11 +02:00
Arne Morten Kvarving
d3d9831fc3
changed: ewoms/common -> opm/models/utils
2019-09-19 11:14:36 +02:00
Arne Morten Kvarving
5599bb6d8c
changed: namespace Ewoms -> namespace Opm
2019-09-05 17:14:38 +02:00
Arne Morten Kvarving
911727527b
quell some unused parameter warnings
2019-07-08 12:14:24 +02:00
Markus Blatt
d2efdcfaa5
Implement correct ignore thresholds for NNC with/without EDITNNC.
...
It seems like eclipse ignores NNCs with small transmissibility.
Small means less than 1e-6 for Eclipse (Even if it says that it
is ignoring values below 1e-5 and/or zero values)!.
This commit now implements the same threshold during IO.
Also fixes a bug when applying EDITNNC, it needs to have cell1<=cell2 to work.
2019-05-08 13:50:51 +02:00
Markus Blatt
f02c2d4114
Factor out sorting of NNC and application of EDITNNC for reuse.
2019-05-08 13:50:50 +02:00
Markus Blatt
184be292ea
[bugfix] Use NNC data with applied EDITNCC for transmissibility.
...
Unfortunately, we first created NNC with applied EDITNNC and then
still used the original NNC data to set the transmissibility. Thus
we were actually ignoring EDITNNC.
This commit fixes this by using the data structure that has EDITNNC
applied.
2019-04-26 21:25:59 +02:00
Markus Blatt
48c3802bf3
Removes unused function parameter warnings.
2019-04-25 10:00:59 +02:00
Kai Bao
a83db39cce
warning instead of throwing for nnc between active cells and inactive cells
2019-03-04 12:49:17 +01:00
Atgeirr Flø Rasmussen
e926f557b8
Fix: indexInInside() and indexInOutside() return signed integers.
2019-02-07 12:00:49 +01:00
Atgeirr Flø Rasmussen
d087d7c41b
Use NNC support from CpGrid.
2019-02-07 12:00:49 +01:00
Andreas Lauser
80e04aa8b4
fix style issues in EclTransmissibility and make the editNnc handling a bit simpler
...
the new editNNC code might be slightly slower, but I doubt that the
difference is even measureable for real decks.
2019-02-01 17:33:30 +01:00
Markus Blatt
3b8ef5f004
one line per variable as requested.
2019-01-16 13:16:45 +01:00
Markus Blatt
d87c5764b9
Use doxygen style suggested by reviewer.
2019-01-16 13:16:45 +01:00
Markus Blatt
ace49a2c22
Adhere to CamelCase for types, functions, and variables.
...
This seems to be covered for types and functions by our coding style
with room for interpretation. For variables the coding styles asks for
underlines though, but nevermind.
2019-01-16 13:16:45 +01:00
Markus Blatt
fb0f04d814
[bugfix] Cater for multiple EDITNNC entry for same cell pair.
2019-01-16 13:16:45 +01:00
Markus Blatt
64326dad53
[bugfix] Prevent accessing elements beyond end of NNC entries.
2019-01-16 13:16:45 +01:00
Markus Blatt
362476a494
[bugfix] Prevent double scaling of NNC with EDITNNC resembled trans
...
The former order resulted of first apply NCC to the grid
transmissibilities and then applying EDITNNC resulted in NNCs being
scaled twices. The reason is that applyNNCToGridTrans_ scales the NNC
with EDITNNC. With the patch the order of the function calls is
reversed to prevent double scaling.
2019-01-16 13:16:45 +01:00
Markus Blatt
5e83a26908
Process values from NNC keyword for those connection resembled by grid.
...
This is includes neighboring connection and NNCs due to faults. In both
cases the transmissibilities of specified via NNC are added to the set or
computed ones.
This is the first step for supporting NNC in flow.
2019-01-16 13:16:45 +01:00
Andreas Lauser
cf88834f67
Merge pull request #450 from totto82/add_support_for_multz_all
...
Add support for the Multz option ALL in PINCH
2019-01-07 10:04:09 +01:00
Tor Harald Sandve
4e65234acb
Add support for the Multz option ALL in PINCH
2018-12-20 12:56:10 +01:00
Bård Skaflestad
1f3a9cc84a
Fixed potential derefernce of end operator when applying EDITNNC.
2018-12-20 11:44:46 +01:00
Tor Harald Sandve
a5499ce576
remove only small nnc trans
2018-12-13 11:00:27 +01:00
Atgeirr Flø Rasmussen
c26aed1d42
Merge pull request #436 from totto82/remove_small_trans
...
remove transmissibilities less then 1e-6 in the given unit system
2018-12-11 11:26:35 +01:00
Markus Blatt
7c2f6d9275
Refactored loop which applies the EDITNCC.
2018-12-05 10:15:42 +01:00
Markus Blatt
7a4b817010
Add spaces where requested by coding standard
2018-12-03 16:46:03 +01:00
Tor Harald Sandve
f9af2c5084
remove transmissibilities less then 1e-6 in the given unit system
2018-11-30 10:28:17 +01:00
Markus Blatt
cfac47ddbc
Apply multiplicators from EDITNNC from the Deck.
2018-11-20 14:00:45 +01:00
Joakim Hove
709723d7ca
Merge pull request #402 from totto82/minpvv
...
add support for minpvv
2018-10-25 09:04:54 +02:00
Tor Harald Sandve
3a408619da
add support for minpvv
2018-10-15 13:35:45 +02:00
Tor Harald Sandve
7ad5a4d29b
Support modifying trans from deck
2018-10-15 12:36:22 +02:00
Tor Harald Sandve
dbcfb7af24
Return modified ntg's only when minpv mode is OPMFIL
2018-09-07 09:09:03 +02:00
Andreas Lauser
26e6d56930
do explicit put properties into the the Ewoms::Properties namespace anymore
...
instead, do it implicitly by using the BEGIN_PROPERTIES and
END_PROPERTIES macros.
2018-06-15 20:22:07 +02:00
Andreas Lauser
ffe3914ddd
thermal blackoil: fix a few issues with thermal conductivity
2018-04-05 19:31:55 +02:00
Andreas Lauser
54c96aa1c2
blackoil, ebos: implement non-trivial boundary conditions
...
with this, it is possible do define fluxes of conservation quantities
over the domain boundaries by specifying the thermodynamic state on
the boundary when using the black-oil model. The main motivation is
are thermal fluxes which are required to maintain geothermal
temperature gradients over time.
2018-04-05 19:31:55 +02:00