Commit Graph

633 Commits

Author SHA1 Message Date
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
Arne Morten Kvarving
45b2898c6e BlackOilSolventModules: use if constexpr 2022-08-09 09:59:48 +02:00
Arne Morten Kvarving
04c8d8f232 BlackOilRateVector: use if constexpr 2022-08-09 09:59:48 +02:00
Arne Morten Kvarving
4d003ea85a BlackOilPrimaryVariables: use if constexpr 2022-08-09 09:55:30 +02:00
Arne Morten Kvarving
d2ba89f39a BlackOilPolymerModules: use if constexpr 2022-08-09 09:55:30 +02:00
Arne Morten Kvarving
5213f3b526 BlackOilModel: use if constexpr 2022-08-09 09:55:30 +02:00
Arne Morten Kvarving
d593214308 BlackOilIntensiveQuantities: use if constexpr 2022-08-09 09:08:24 +02:00
Arne Morten Kvarving
641cadc8e5 BlackOilFoamModules: use if constexpr 2022-08-09 09:08:24 +02:00
Arne Morten Kvarving
7aaa3f2261 BlackOilExtBoModules: use if constexpr 2022-08-09 09:08:24 +02:00
Arne Morten Kvarving
31c2442a22 BlackOilEnergyModules: use if constexpr 2022-08-09 09:08:24 +02:00
Arne Morten Kvarving
0a182d51f6 BlackOilBrineModules: use if constexpr 2022-08-09 09:08:24 +02:00
Arne Morten Kvarving
368a2414c3 BlackOilBoundaryRateVector: use if constexpr 2022-08-09 09:08:24 +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
92209466c5 remove unnecessary includes 2022-07-26 18:32:03 +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
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
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
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
2a42da1ff7 Downstream of filesystem reorganisation in opm-common 2021-12-14 08:38:58 +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
Arne Morten Kvarving
0eb34fa51b use std::filesystem directly 2021-11-01 12:31:27 +01:00
Markus Blatt
7e0b017a80 Merge pull request #662 from rbe051/unstructuredGridVanguard
Unstructured grid vanguard
2021-10-26 10:42:06 +02:00
Tor Harald Sandve
0e2a8d2dc5 guard against missing opm-grid 2021-10-20 09:51:24 +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
daavid00
9ebb3db5cc first version of micp implementation in flow 2021-10-14 17:41:40 +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
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
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
ebe2448e57 extbomodule: enable extrapolation for function evaluations 2021-08-05 13:16:54 +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
Paul Egberts
a63e775155 fix compositionSwitchEnabled specification 2021-08-01 21:26:39 +02:00
Paul Egberts
0f2ced8891 fix compositionSwitchEnabled specification. For gas-water it is disabled 2021-08-01 21:25:02 +02:00
Paul Egberts
a217974f9d fix for gas-water system, set gas saturation 2021-08-01 21:20:35 +02:00
Paul Egberts
abd775fe21 fix for gas-water system 2021-08-01 21:19:13 +02:00
Paul Egberts
abcf933673 compositionswitch should not be enabled for gas-water system 2021-08-01 21:14:10 +02:00
Markus Blatt
8c3f5fdfbe Fixed spelling in some messages 2021-07-02 14:45:30 +02:00
rube051
1e13cfef37 Added vanguard for the unstructured grid 2021-06-23 14:28:57 +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
40bae8ba9e remove assignment-operator from class
if an assignment-operator is defined, implicitly
definition of cc is deprecated. there is no reason
we have to override the parent assignment operator,
so simply remove both of them.

quells a clang warning
2021-05-19 08:22:47 +02:00
Arne Morten Kvarving
c559e348d4 anonymized unused parameters 2021-05-14 13:55:12 +02:00
Arne Morten Kvarving
4695dc9354 changed: use c++17 [[maybe_unused]] 2021-05-14 13:54:58 +02:00
Arne Morten Kvarving
d049cdd59d fixed: do not use Opm:: prefix when inside namespace Opm 2021-05-05 09:50:05 +02:00
Arne Morten Kvarving
4ffebbbbb0 anonymize unused parameters to quell warnings 2021-04-30 13:16:21 +02:00
Bård Skaflestad
4ca6f13e8d Merge pull request #650 from totto82/robustThermal
Restrict the temperature update using provided parameters
2021-04-26 22:37:05 +02:00
Tor Harald Sandve
6816dbaf94 Restrict the temperature update using provided parameters 2021-04-26 16:31:37 +02:00
Arne Morten Kvarving
016e0164a8 blackoilpolymermodules: include OpmLog.h 2021-04-26 11:23:42 +02:00
Tor Harald Sandve
4a101f1412 fix conductivity harmonic mean computation 2021-03-26 15:31:30 +01:00
Bård Skaflestad
4dbb65910d Merge pull request #642 from totto82/testDiff
Only update diffusion quanteties if DIFFUSE is in the deck
2021-03-19 23:40:11 +01:00
Tor Harald Sandve
4801d4e03a move the boundary check downstream 2021-03-09 09:45:31 +01:00
Tor Harald Sandve
aebe1a789a Only update diffusion quanteties if DIFFUSE is in the deck 2021-02-25 11:15:28 +01:00
Tor Harald Sandve
3f6782e2d2 include stdexcept 2021-02-18 14:08:16 +01:00
Tor Harald Sandve
7226209791 fix model for efficient diffusion coefficient and add reference 2021-02-16 11:07:32 +01:00
Tor Harald Sandve
59707e0f64 divide diffusivity by face area since opm-models expects pr area flux 2021-02-12 08:36:39 +01:00
Tor Harald Sandve
0b0fae607f scale diffusion by saturation 2021-02-12 08:36:39 +01:00
Tor Harald Sandve
87abc2c36b use diffusivity 2021-02-12 08:36:39 +01:00
Tor Harald Sandve
eadcf4f99d Add blackoil diffusion model 2021-02-12 08:36:39 +01:00
Tor Harald Sandve
02b978b523 fix boundary face index in parallel 2021-02-09 12:35:44 +01:00
Tor Harald Sandve
2f4131232c Merge pull request #638 from totto82/fixBoundaryContextIncrement
fix incrementer in boundarycontext
2021-01-18 13:45:51 +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
Tor Harald Sandve
7606cc911b Fix 2-phase blackoil boundary 2021-01-14 10:56:27 +01:00
Cintia Goncalves Machado
47c06c54d8 Remove water saturation as primary variable of flow_onephase 2020-11-23 10:41:11 +01:00
Bård Skaflestad
fb001a04c4 ExtBoModule: Don't Overload on Scalar and Evaluation
The two types may be the same, in which case this is a build
failure.
2020-11-18 19:00:47 +01:00
Ove Sævareid
ae2cc8eb0d Removed unused args. 2020-11-18 11:34:33 +01:00
Ove Sævareid
a6d90e3b29 Handle OnePhaseIndices 2020-11-17 18:10:21 +01:00
Ove Sævareid
db0bd548c6 Shadow warning. 2020-11-17 15:20:35 +01:00
Ove Sævareid
9b652488e2 Remove unused. 2020-11-16 17:47:43 +01:00
Ove Sævareid
a6bf939101 Compute undersaturated compressibilities from pvt input. Cleaning up, and adding some expl comments. 2020-11-16 16:52:16 +01:00
Ove Sævareid
d86602c18d Alternative solvent extension for the black oil model. 2020-11-16 16:52:16 +01:00
Atgeirr Flø Rasmussen
e04f5844ca Disable property macros.
Still available by manually overriding OPM_ENABLE_OLD_PROPERTY_MACROS,
but not by default. This change has been communicated for a long time.
2020-10-19 09:54:31 +02:00
Atgeirr Flø Rasmussen
3c83f5df0f Add --help-all option that also prints hidden options. 2020-10-16 13:55:45 +02: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
Tor Harald Sandve
74a59ddabc Merge pull request #620 from rbe051/fix_gravity_bug_in_darcyfluxmodule
Fixed bug in calculation of gravity contribution to boundary flux
2020-09-01 15:34:31 +02:00
Joakim Hove
d9c9f84f74 Use non table TLMIXPAR implementation 2020-08-12 09:12:04 +02:00
rube051
171a03e802 Fixed comments to gravity term in darcyfluxmodule 2020-07-07 09:41:25 +02:00
rube051
4dedbeee19 Fixed bug in calculation of gravity contribution to boundary flux in the darcyfluxmodule
There was a sign mistake and a missing division by cell size.
2020-07-07 09:30:42 +02:00
Atgeirr Flø Rasmussen
a0be8f8ed4 Merge pull request #619 from atgeirr/sequential-squashed
Add LinearizationType, which will be used for sequential methods.
2020-06-20 11:24:29 +02:00
Atgeirr Flø Rasmussen
378b293918 Merge pull request #618 from akva2/janitoring
reorganize to avoid unused warnings without MPI
2020-06-19 16:55:35 +02:00
hnil
e4e349eb7e Add LinearizationType, which will be used for sequential methods. 2020-06-19 14:58:49 +02:00
Atgeirr Flø Rasmussen
4e189a28df Merge pull request #617 from OPM/replace-property-macro-calls
Replace property macro calls
2020-06-19 11:51:10 +02:00
Arne Morten Kvarving
c8617141d4 reorganize to avoid unused warnings without MPI 2020-06-19 09:45:29 +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
Arne Morten Kvarving
016e5a75d8 anonoymize unused parameter
quells compiler warnings
2020-06-08 10:14:29 +02:00
Markus Blatt
9b650a9258 Use negative status to indicate --help, --print-properties, --print-parameters.
That is the documented convention and needed to be able to mark these
runs as successful.
2020-06-03 16:42:25 +02:00
Atgeirr Flø Rasmussen
a8a8d8a072 Make gas-oil related outputs conditional.
This includes such things as saturation pressures, rs, rv etc.
2020-06-02 11:31:02 +02:00
Atgeirr Flø Rasmussen
c743d0a8c0 Use correct relative path names in pvd file. 2020-05-29 13:58:14 +02:00
Atgeirr Flø Rasmussen
b31f33f567 Avoid segfault for two-phase case. 2020-05-29 10:20:58 +02:00
Atgeirr Flø Rasmussen
61eb74b1d6 Merge pull request #591 from OPM/feature/replace-propertysystem
Replace property system
2020-05-28 12:05:11 +02:00
Bård Skaflestad
622d6665ce Properly Scale Solvent Saturation
Fixes a self-assignment issue.
2020-05-24 12:13:09 +02:00
Bernd Flemisch
196e0b9b9b [parameters] restore full functionality of getting parameters 2020-05-19 13:52:34 +02:00
Bernd Flemisch
4c3bd69687 [properties] recover a more general SET_SPLICES macro 2020-05-18 15:53:58 +02:00
Bernd Flemisch
cb81d87fd3 [properties] add forward declaration 2020-05-18 15:53:58 +02:00
Bernd Flemisch
2fe69dfd9b [properties] fix macros that are used in opm-simulators, change include order 2020-05-18 15:53:58 +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
2ffc13e9c3 [properties] splice mechanism almost working again 2020-05-18 15:52:45 +02:00
Bernd Flemisch
5fe2bc0aa9 intermediate state of reimplementing the splice functionality 2020-05-18 15:52:45 +02:00
Bernd Flemisch
6d6ba6909c [properties] replace propertysystem 2020-05-18 15:52:45 +02:00
hnil
09d58b770a Added option for projection saturation. It do not change the result for default setting. To be able to do this it
is slightly unlogical for surfactant runs which do projection two times.
2020-05-14 08:28:41 +02:00
Robert Kloefkorn
f1b2fc2baf [bugfix][GridCommHandle] fix incorrect signature of overloaded interface
method causing segfault with >= DUNE 2.7.
2020-04-24 14:04:56 +02:00
Arne Morten Kvarving
1afaba329a mark conditionally used parameters as maybe_unused
and anonymize unused parameters
2020-04-14 14:16:20 +02:00
Markus Blatt
be3ed71634 Fix compilation issues due to removed Dune::shared_ptr.
Those methods return a unique_ptr since at least DUNE 2.6.
2020-03-17 15:13:39 +01:00
Markus Blatt
aaa375b080 Merge pull request #602 from akva2/no_serialization_polymermodule
Avoid deck usage setting up BlackoilPolymerModule
2020-03-08 15:20:31 +01:00
Markus Blatt
a3cd4e6961 Merge pull request #601 from akva2/no_serialization_brine
Get rid of deck usage in BlackoilBrineModule
2020-03-06 20:13:16 +01:00
Arne Morten Kvarving
0b9130b516 remove serialization templates from BlackoilPolymerModule 2020-03-06 15:12:57 +01:00
Arne Morten Kvarving
44a579a5f7 rename BlackoilPolymerModule::initFromDeck to initFromState
no deck usage any longer
2020-03-06 15:12:57 +01:00
Arne Morten Kvarving
3f6a858856 changed: get rid of Deck usage in BlackoilPolymerModule 2020-03-06 15:12:57 +01:00
Arne Morten Kvarving
424ca49696 remove serialization templates from BlackoilBrineModule 2020-03-04 15:42:48 +01:00
Arne Morten Kvarving
8480523c88 rename BlackoilBrineModule::initFromDeck to BlackoilBrineModule::initFromState
no longer any deck usage
2020-03-04 15:42:15 +01:00
Arne Morten Kvarving
a991da41a3 get rid of deck usage in BlackoilBrineModule 2020-03-04 15:42:06 +01:00
Arne Morten Kvarving
35e8b211de remove serialization templates from BlackoilFoamModule 2020-03-04 14:57:54 +01:00
Arne Morten Kvarving
875a00728e rename BlackoilFoamModules::initFromDeck to BlackoilFoamModules::initFromState
no deck usage any longer
2020-03-04 14:57:17 +01:00
Arne Morten Kvarving
8aa3b2c2fe get rid of deck usage in BlackoilFoamModule 2020-03-04 14:56:38 +01:00
Arne Morten Kvarving
5e391417b5 remove serialization templates from BlackoilSolventModules 2020-03-04 09:59:12 +01:00
Arne Morten Kvarving
19c2c4f981 rename initFromDeck to initFromState
no deck usage any longer
2020-03-04 09:59:12 +01:00
Arne Morten Kvarving
cb2aaa3452 Get rid of deck usage in blackoilsolventmodules 2020-03-04 09:59:12 +01:00
Arne Morten Kvarving
5ac9e0a2b9 use TLMIXPAR from state 2020-03-04 09:10:41 +01:00
Arne Morten Kvarving
75454a81cb changed: pass the Schedule through the SolventModule::initFromDeck method
required for the SolventPvt setup
2020-03-03 14:26:48 +01:00
Tor Harald Sandve
32bb94624a Merge pull request #589 from akva2/serialization_brine_module
add mpi serialization for BlackoilBrineModule
2020-02-17 14:16:21 +01:00
Atgeirr Flø Rasmussen
46d4596390 Silence warning also in debug builds. 2020-02-13 09:38:39 +01:00
Arne Morten Kvarving
6784db5e71 bump required dune version to 2.6
and remove compatibility code
2020-02-06 16:10:06 +01:00
Arne Morten Kvarving
1df01a3730 add mpi serialization for BlackoilBrineModule 2020-02-05 09:13:18 +01:00
Tor Harald Sandve
d0dcaf4409 fix plmax for > 1 regions 2020-01-30 10:30:48 +01:00
Atgeirr Flø Rasmussen
4a0effe8cc Add and use gatherStrings() for exception messages.
Ensures user sees any useful exception messages during
initialization.
2020-01-21 15:33:31 +01:00
Tor Harald Sandve
31a48d9cfd quell some warnings 2020-01-10 10:44:53 +01:00
Tor Harald Sandve
fd023ddb74 adapt one-phase model for brine 2020-01-09 13:16:47 +01:00
Trine S. Mykkeltvedt
587fa71e04 renaming saltwater-->brine and review comments 2020-01-07 09:29:58 +01:00
Trine S. Mykkeltvedt
106c4e3616 added saltwater module 2020-01-07 09:29:58 +01:00
Arne Morten Kvarving
f9370183f3 changed: add serialization templates to BlackoilFoamModule 2020-01-06 11:06:05 +01:00
Arne Morten Kvarving
69426ba768 changed: add serialization templates to BlackoilPolymerModule 2020-01-06 11:06:05 +01:00
Arne Morten Kvarving
27e7b42ae9 changed: add serialization templates to BlackoilSolventModule 2020-01-06 11:06:05 +01:00
Joakim Hove
8b6f695a9d Use DeckItem::hasValue() before accessing Todd Langstaff parameters 2019-11-17 17:04:59 +01:00
Markus Blatt
1e9a200128 Change Ewoms to Opm in namespace end comments 2019-10-30 08:49:28 +01:00
Markus Blatt
784afe5e70 Move BlackOilOnePhaseIndices to Opm namespace
to make it consistent with the rest. #530 development
must have been started before the renaming in #532
and somehow the old namespace survived.
2019-10-29 15:53:00 +01:00
Markus Blatt
431d5718e2 Fixed missing conversion ewoms->opm-models in header includes, 2019-10-24 14:19:54 +02:00
Atgeirr Flø Rasmussen
e50de81eba Merge pull request #561 from akva2/janitoring
quell unused parameter warning
2019-10-18 09:26:43 +02:00
dr-robertk
a56e2294d1 Merge pull request #554 from totto82/enableRockcompFlow
enable rockcomp in flow
2019-10-17 14:12:11 +02:00
Arne Morten Kvarving
34bfa10f99 quell unused parameter warning 2019-10-17 10:16:38 +02:00
dr-robertk
20b2c57829 Merge pull request #553 from totto82/sync_logging
Adapt to make logging possible from ebos
2019-10-15 14:14:25 +02:00
Arne Morten Kvarving
29ced177c4 fixed: do not assert for positive timestep when simulation is finished 2019-10-14 09:20:47 +02:00
Atgeirr Flø Rasmussen
2c8d0a95fc Merge pull request #530 from atgeirr/enable-onephase-revised
Enable onephase revised
2019-10-11 21:02:41 +02:00
Atgeirr Flø Rasmussen
b9509cdf78 Add or fix foam-related indices for one- and two-phase cases. 2019-10-10 16:08:04 +02:00
Atgeirr Flø Rasmussen
bc0eaca943 Remove buggy call to setEnthalpy(). 2019-10-10 15:55:04 +02:00
Atgeirr Flø Rasmussen
7fe1ad5c69 Fixed error message and reinstated dummy enthalpy update. 2019-10-10 09:54:43 +02:00
Atgeirr Flø Rasmussen
8977d64bc6 Whitespace fixes and style consistency. 2019-10-09 14:45:17 +02:00
Atgeirr Flø Rasmussen
544aeea40b Minor modifications requested in review. 2019-10-09 14:45:17 +02:00
Atgeirr Flø Rasmussen
b4bd3d66e4 Add braces where necessary (not just a style change). 2019-10-09 14:45:17 +02:00
hnil
ee482e87a6 change according to comments in pullrequest 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
hnil
d9b981e059 made onephase water runs possible 2019-10-09 14:45:17 +02:00
hnil
c1640aaf3e avoid setting entalpy in non active phases (assert will else be broken) 2019-10-09 14:45:17 +02:00
hnil
efe3313f85 not adapting any variables in onephase 2019-10-09 14:45:17 +02:00
hnil
8572e1d108 make it possible with only one phase in genneral? 2019-10-09 14:45:16 +02:00
hnil
9c0520aeeb added onephase indices 2019-10-09 14:45:16 +02:00
hnil
17e9a73f81 tried to enable onephase with water as phase 2019-10-09 14:45:16 +02:00
Tor Harald Sandve
8969895d52 Merge pull request #552 from totto82/fix_polymer
fix bug in PLYROCK
2019-10-09 11:01:35 +02:00
Tor Harald Sandve
73692f2276 enable rockcomp in flow 2019-10-08 15:50:27 +02:00
Tor Harald Sandve
a245f70283 Adapt to make logging possible from ebos 2019-10-08 14:51:28 +02:00
Tor Harald Sandve
f9bb897f15 fix bug in PLYROCK 2019-10-07 15:17:36 +02:00
Arne Morten Kvarving
277d272f7f quell some unused parameter warnings 2019-09-20 12:44:50 +02:00
Arne Morten Kvarving
88a5e1db06 changed: ewoms/models/richards -> opm/models/richards 2019-09-19 11:08:59 +02:00
Arne Morten Kvarving
f558f5d98b changed: ewoms/models/pvs -> opm/models/pvs 2019-09-19 11:07:52 +02:00
Arne Morten Kvarving
a5d4b823f5 changed: ewoms/nonlinear -> opm/models/nonlinear 2019-09-19 11:04:36 +02:00
Arne Morten Kvarving
09cdd3aadd changed: ewoms/models/ncp -> opm/models/ncp 2019-09-19 11:03:17 +02:00
Arne Morten Kvarving
d302771e6c changed: ewoms/io -> opm/models/io 2019-09-19 10:59:55 +02:00
Arne Morten Kvarving
9247935c8a changed: ewoms/models/immiscible -> opm/models/immiscible 2019-09-19 10:51:11 +02:00
Arne Morten Kvarving
72b5e42016 changed: ewoms/models/flash -> opm/models/flash 2019-09-19 10:32:32 +02:00
Arne Morten Kvarving
16f4bdcf02 changed: ewoms/models/discretefracture -> opm/models/discretefacture 2019-09-19 10:29:58 +02:00
Arne Morten Kvarving
474ae4ded8 changed: ewoms/disc -> opm/models/discretization 2019-09-19 10:28:26 +02:00
Arne Morten Kvarving
f48ae0f7f1 changed: ewoms/models/blackoil -> opm/models/blackoil 2019-09-19 10:19:54 +02:00
Arne Morten Kvarving
17e8fa6574 changed: rename ewoms/models/common -> opm/models/common 2019-09-19 10:14:44 +02:00
Arne Morten Kvarving
e01f712294 changed: ewoms/common -> opm/models/utils 2019-09-19 10:14:17 +02:00
Arne Morten Kvarving
d8723dc9ce changed: ewoms/parallel -> opm/models/parallel 2019-09-16 09:48:55 +02:00