Joakim Hove
fcc4970337
Merge pull request #3318 from akva2/eclwellmodel_no_default
...
changed: do not set the ebos well model as default type
2021-06-04 09:58:46 +02:00
Arne Morten Kvarving
c2211b532f
eclwriter: fix regression in parallel
...
order of constructing and obtaining global transmissibilities
was off. replace constructor argument with a setter so it can be
set at the appropriate time.
2021-06-01 09:08:38 +02:00
Bård Skaflestad
bd9b9a7118
Prepare to Save/Restore Richer Set of Aquifer Values
...
This commit adds logic to communicate more dynamic aquifer values
between the simulation and I/O layers. In particular, we ensure
that we allocate the 'aquFet' and 'aquCT' substructures of the
dynamic aquifer data as appropriate and that we collect this
information on the I/O rank as part of the restart output process.
We furthermore make the 'ParallelRestart' facility aware of dynamic
aquifer data in preparation of loading these values from the restart
file.
2021-05-28 14:47:17 +02:00
Arne Morten Kvarving
d65a9a5f70
changed: do not set the ebos well model as default type
...
rather, only set it where we want to use it. this avoids including
eclwellmanager.hh and eclpeacemanwell.hh unnecessarily in
simulator objects (where BlackoilWellModel is used).
2021-05-28 11:28:43 +02:00
Arne Morten Kvarving
a128c64a03
use if constexpr
2021-05-28 09:03:17 +02:00
Arne Morten Kvarving
cbd7cfe8b6
split eclproblem in typetag dependent and typetag independent classes
2021-05-28 08:54:10 +02:00
Arne Morten Kvarving
f7dd0e34c3
eclproblem: fix typo in alugrid code
2021-05-26 15:12:08 +02:00
Arne Morten Kvarving
d5e9d32d7c
eclproblem: use .empty() instead of size() == 0
2021-05-26 15:11:14 +02:00
Arne Morten Kvarving
3294917710
eclproblem: remove unused accessor
2021-05-26 15:03:22 +02:00
Arne Morten Kvarving
2a2b128820
eclproblem: remove unused type alias
2021-05-26 14:59:39 +02:00
Arne Morten Kvarving
fe57de72b2
eclproblem: only call function if an extension is enabled
2021-05-26 14:59:12 +02:00
Arne Morten Kvarving
aa7ec98c0f
eclproblem: use if constexpr for enableApiTracking
2021-05-26 14:51:24 +02:00
Arne Morten Kvarving
be9c03bfac
eclproblem: use if constexpr for enableDiffusion
2021-05-26 14:50:27 +02:00
Arne Morten Kvarving
99273fee85
eclproblem: use if constexpr for enableEnergy
2021-05-26 14:50:04 +02:00
Arne Morten Kvarving
94fe38fc93
eclproblem: use if constexpr for enableExtbo
2021-05-26 14:48:06 +02:00
Arne Morten Kvarving
baad3a7722
eclproblem: use if constexpr for enableBrine
2021-05-26 14:47:10 +02:00
Arne Morten Kvarving
68f9aeb78f
eclproblem: use if constexpr for enablePolymerMolarWeight
2021-05-26 14:45:42 +02:00
Arne Morten Kvarving
3578c13236
eclproblem: use if constexpr for enablePolymer
2021-05-26 14:43:09 +02:00
Arne Morten Kvarving
cf2ab1cb41
eclproblem: use if constexpr for enableSolvent
2021-05-26 14:38:35 +02:00
Arne Morten Kvarving
836251aca1
eclproblem: use if constexpr for enableExperiments
2021-05-26 14:31:57 +02:00
Arne Morten Kvarving
b51f57a5c3
eclproblem: replace typedef with using
2021-05-26 14:30:50 +02:00
Arne Morten Kvarving
df4fdc9794
eclproblem: use maybe_unused attribute instead of macro
2021-05-26 14:19:23 +02:00
Arne Morten Kvarving
8ed738b188
eclproblem: anonymize unused parameters
2021-05-26 14:18:44 +02:00
Arne Morten Kvarving
70ece6d25a
eclwriter: split in typetag dependent and typetag-independent parts
2021-05-22 13:21:09 +02:00
Arne Morten Kvarving
86fc165af6
remove template parameters for enableEnergy/Diffusion in transmissibility
...
- the diffusion one is basically done on runtime anyways
- the energy one gives some small code elimination gains
however, it complicates the writing of downstream templates.
2021-05-20 08:53:40 +02:00
Arne Morten Kvarving
7ff44d9093
ecltransmissibility: separate from typetag
...
this allows using explicit template instantation to only
compile this code per grid, not per simulator object
2021-05-12 12:10:29 +02:00
Arne Morten Kvarving
a4c0af09d9
fixed: do not use Opm:: prefix when inside namespace Opm
2021-05-05 11:59:18 +02:00
Joakim Hove
1de5c9539c
Merge pull request #3174 from joakim-hove/use-groupstate2
...
Use groupstate2
2021-04-27 14:15:49 +02:00
Joakim Hove
590c9443ec
Record the correct simulation time in ActionState
2021-04-27 11:44:03 +02:00
Joakim Hove
e1d117c59f
Extract group state and create WGState to manage well & group state
2021-04-27 10:55:38 +02:00
Joakim Hove
979279b31c
Call endEpisode() for WellModel and Aquifer model
2021-04-26 14:14:58 +02:00
Joakim Hove
b71a273ada
Commit wellstate after appplyActions
2021-03-29 16:20:10 +02:00
Joakim Hove
98f6a9a7ac
Update collection of wells after ACTIONX
2021-03-29 16:20:10 +02:00
Tor Harald Sandve
ef325dd08d
Store both inside and outside thermal half transmissibility
2021-03-26 15:29:05 +01:00
Kai Bao
6072cb20a2
only when both oil and gas exist, we handle drsdt and drvdt
2021-03-25 08:36:25 +01:00
Bård Skaflestad
120afea99a
Merge pull request #3079 from totto82/testDiff
...
FOR TESTING. Enable Diffusion by default
2021-03-19 23:49:19 +01:00
Tor Harald Sandve
3df75f5ab6
Merge pull request #3076 from totto82/drsdt_dyn
...
Implement convective dissolution rate
2021-03-18 08:45:46 +01:00
Arne Morten Kvarving
fd273f4802
Merge pull request #3107 from totto82/fixBoundaryIssueAgain
...
adapt to changes in opm-models
2021-03-09 14:42:57 +01:00
Tor Harald Sandve
0c66a38adf
adapt to changes in opm-models
2021-03-09 09:44:53 +01:00
Bård Skaflestad
4ed085ddc3
Merge pull request #3073 from joakim-hove/timemap-api
...
Remove timemap member from Schedule
2021-03-03 18:17:27 +01:00
Joakim Hove
2184b6a64b
Revert "Use fmt::format() for two messages"
2021-03-01 14:43:15 +01:00
Markus Blatt
0644fba01b
Merge pull request #3088 from joakim-hove/use-active-index
...
Use active index
2021-03-01 09:22:25 +01:00
Joakim Hove
d8830c721b
Use only active elements when updating reference porosity
2021-02-28 15:48:02 +01:00
Joakim Hove
66a8551f71
Use fmt::format() for two messages
2021-02-26 16:01:43 +01:00
Joakim Hove
74ca0d12e0
Use std::chrono::system_clock with 1/1000 second resolution
2021-02-25 23:50:25 +01:00
Joakim Hove
6f15765f53
Use Schedule time functions - avoid TimeMap
2021-02-25 18:10:22 +01:00
Tor Harald Sandve
60534d66b6
FOR TESTING. Enable Diffusion by default
2021-02-24 12:56:38 +01:00
Tor Harald Sandve
9aa4c415ad
Implement convective dissolution rate
...
The convective DRSDT is activated with DRSDTCON
2021-02-23 12:45:50 +01:00
Markus Blatt
d693c3da42
Merge pull request #3050 from joakim-hove/actionx-welpi
...
Support combination of ACTIONX and WELPI
2021-02-18 22:09:16 +01:00
Joakim Hove
ff51c2d7ee
Handle WELLPI keyword in ACTIONX
...
When an ACTIONX has evaluated to True we inspect the keyword payload and if it
contains WELPI we query the well model for current wellpi values and pass that
along as context to the Schedule::applyAction()
2021-02-18 16:53:50 +01:00