Paul Egberts
461694677a
Improved error message
2022-01-24 10:40:19 +01:00
Joakim Hove
fa0b3ef919
Run PYACTION with Schedule::runPyAction() and call simulatorUpdate
2022-01-24 08:27:20 +01:00
Joakim Hove
c1eeb3f18c
Extract functionality to update state after ACTIONX in separate func
2022-01-20 09:05:33 +01:00
Joakim Hove
1642f34f04
Pass matching wells to Schedule::applyAction()
2022-01-20 08:22:59 +01:00
Joakim Hove
8308152e88
Remove unused argument to Schedule::applyAction()
2022-01-20 08:13:12 +01:00
Paul Egberts
ba165838cd
added enable conditions
2022-01-19 16:44:42 +01:00
Paul Egberts
590920db6b
allow for explicit initialization of SALT (salt concentration) and SALTP (precipitated salt)
2022-01-18 11:12:43 +01:00
Paul Egberts
0824ee0694
Initialization of solid salt saturation
2022-01-14 11:46:39 +01:00
Joakim Hove
6b92443cb4
Downstream filesystem reorganisation in opm-common
2022-01-02 14:33:34 +01:00
Tor Harald Sandve
4184b4cbaf
Fix DRSDTDYN
...
Add multiplication of missing reference oil density
2021-12-08 09:05:59 +00:00
Tor Harald Sandve
7467a63656
Merge pull request #3717 from joakim-hove/enable-tracer
...
Suggestion: Remove enable switch for tracer support
2021-12-06 09:10:38 +01:00
Joakim Hove
c49e5838c5
TracerModel prepare batches is called *after* initial values are set
2021-12-01 17:15:14 +01:00
Joakim Hove
8c8b764aa2
Remove enable switch for tracer support
2021-12-01 10:26:41 +01:00
Joakim Hove
609bdbb92b
Pass bool flag rst to Tracer initialization
2021-11-30 11:23:36 +01:00
Joakim Hove
d531dc01f9
Return mutable TracerModel& from EclProblem
2021-11-30 11:23:36 +01:00
Bård Skaflestad
d163bebcdc
Merge pull request #3699 from blattms/man-page-spelling
...
Adds manpage and fixes several spelling issue found by lintian
2021-11-17 09:59:50 +01:00
Markus Blatt
a2246d331b
Spelling fixes
...
Gbp-Pq: Name 0005-Spelling-fixes.patch
2021-11-15 12:06:05 +01:00
Joakim Hove
4fc5d34090
Apply new GEO keywords when ACTIONX has applied geo multiplier
2021-11-12 08:02:52 +01:00
Joakim Hove
86f7a2d332
Use strict SimulatorUpdate as return type from Schedule::applyAction
2021-11-10 15:35:46 +01:00
Joakim Hove
06e71f1345
Broadcast updated transmissibility after runtime updates of MULT?
2021-11-09 14:22:19 +01:00
Joakim Hove
0de04f8c48
Rename EclipseState::apply_geo_keywords -> apply_schedule_keywords
2021-11-07 19:58:20 +01:00
Joakim Hove
fd5640774b
Call SingleWellState::update_targets for ACTIONX affected wells
2021-11-05 09:48:27 +01:00
Joakim Hove
85a103022b
Remove unnecessary call to simulator.setStartTime()
2021-10-19 14:34:36 +02:00
Tor Harald Sandve
70c9d2e237
Merge pull request #3590 from daavid00/micp-2021-10
...
micp
2021-10-14 22:28:28 +02:00
daavid00
48b175904a
first version of micp implementation in flow
2021-10-14 17:44:57 +02:00
Elyes Ahmed
f53c597f90
Replacing use of MPI_COMM_WORLD with a variable communicator.
2021-10-05 13:07:52 +02:00
Markus Blatt
3cda8a2fdb
Added missing parallel try-catch clause for updatePrimaryIntensities.
...
As Problem::updatePrimaryIntensities might throw we need to do this
to prevent dealocks in parallel run in case problem occurs.
2021-09-24 09:25:44 +02:00
Joakim Hove
e16e721003
Eavluate all UDQ ASSIGN statements at the start of report step
2021-09-13 15:18:44 +02:00
Bård Skaflestad
ed3ea9fa49
Don't Assign Restart Rs/Rv Unless O/G Both Active
...
This enables running two-phase oil/water restart cases.
2021-08-19 21:07:05 +02:00
Joakim Hove
0da38ee7d0
Store the action result - when evaluated to true
2021-08-19 15:32:47 +02:00
Torbjørn Skille
4e9a19cf7c
Extra command line argument write-lodsmry for creating LODSMRY file
...
- default is false
- file LODSRMY optimized for fast loading of selected vectors
2021-08-12 20:16:07 +02:00
Paul Egberts
ec4bb5c9c7
set gas saturation for water-gas system
2021-08-01 17:52:33 +02:00
Ove Sævareid
738877fc1b
Default activation of tracer model.
2021-07-06 17:06:10 +02:00
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
Tor Harald Sandve
4ca3c2af72
clean-up commented code
2021-02-18 13:49:35 +01:00
Tor Harald Sandve
1abbd9c776
add diffusivity to eclTranmissibility
2021-02-16 12:21:58 +01:00
Joakim Hove
b15a336341
Add wellpi argument to Schedule::applyAction()
2021-02-10 12:39:25 +01:00
Joakim Hove
4f90eff8d5
Pass simulation time argument to applyAction
2021-02-05 09:39:35 +01:00
Tor Harald Sandve
c145722798
pass CartesianIndexMapper instead of the grid to the RelpermDiagnositics
2021-01-26 14:59:36 +01:00
Joakim Hove
d025f39474
Use ScheduleState to manage Actionx
2021-01-15 07:57:27 +01:00
Joakim Hove
5dd3e308f5
Use ScheduleState to manage well lists
2021-01-12 20:18:40 +01:00
Joakim Hove
237eb2b7ee
Fetch events from ScheduleState
2021-01-11 17:42:30 +01:00
Joakim Hove
1b534dfad7
Use ScheduleState to extract oil vaporization properties
2021-01-07 15:50:31 +01:00
Joakim Hove
fe788cdb05
Access tuning class from ScheduleState
2021-01-06 16:26:13 +01:00
Tor Harald Sandve
6cf91e7f19
Get compressed to cartesian mapping and depths from the vanguard
2020-12-11 12:48:01 +01:00
Cintia Goncalves Machado
c24cd93da5
remove more checks
2020-11-25 22:48:01 +01:00
Cintia Goncalves Machado
76bde77f5c
do not check for saturation for single-phase
2020-11-25 21:46:40 +01:00
Ove Sævareid
0f7e66e151
Alternative solvent extension for the black oil model.
2020-11-17 12:33:19 +01:00
Tor Harald Sandve
fbccdbf68e
Make a flow version that uses the polyhedreal grid
...
Currently the simulator creats the polyhedreal grid from an eclGrid from opm-common
TODO
- make it possible to create the grid directly from DGF or MRST format
- fix issue on norne.
2020-11-10 15:49:59 +01:00
Håkon Hægland
648bab7108
Implements access to the porosity from Python.
...
Implements access (read/write) to the porosity from Python.
2020-11-03 17:18:14 +01:00
Markus Blatt
1109aeecfc
Merge pull request #2825 from blattms/dune-2.7-fixes
...
Fixes compilation with DUNE 2.7
2020-10-01 16:30:18 +02:00
Atgeirr Flø Rasmussen
30cab9dbe6
Merge pull request #2819 from totto82/rocktab
...
Add support for ROCKTAB
2020-10-01 09:32:31 +02:00
Markus Blatt
6e1f729e8d
Work around MPIGuard which is broken in DUNE 2.7.0
...
Otherwise compilation aborts with:
flow_ebos_gasoil.cpp:(.text+0xa5d0): multiple definition of `Dune::GuardCommunicator::create(ompi_communicator_t* const&)';
2020-09-30 20:34:36 +02:00
Atgeirr Flø Rasmussen
0096035a97
Merge pull request #2818 from totto82/updateHystTime
...
Change when hysteresis and vappers are updated
2020-09-29 15:59:56 +02:00
Tor Harald Sandve
4f84ca4716
Add support for ROCKTAB
2020-09-28 20:32:34 +02:00
Tor Harald Sandve
56fc29beb1
move update of hysteresis and vappars from beginEpisode to beginTimestep
2020-09-28 10:02:31 +02:00
Atgeirr Flø Rasmussen
0cdd1eda69
Merge pull request #2812 from totto82/fixBC_2p
...
fix BC code for 2p simulations.
2020-09-28 09:51:01 +02:00
Atgeirr Flø Rasmussen
e8460b384e
Merge pull request #2804 from totto82/updateAndInvalid
...
Invalidate and update the intensive quantities at the same time
2020-09-28 09:02:25 +02:00
Atgeirr Flø Rasmussen
b5c5c28c16
Merge pull request #2788 from alfbr/new-defaults
...
New numerical defaults
2020-09-28 08:57:08 +02:00
Tor Harald Sandve
80fcccdd66
fix 2p BC code
2020-09-25 09:59:45 +02:00
Tor Harald Sandve
85e25f7e0e
Invalidate and update the intensive quantities instead of just invalidate them
2020-09-23 11:39:04 +02:00
Joakim Hove
0565d6f402
Remove unused #include of exceptions
2020-09-21 11:12:15 +02:00
Alf Birger Rustad
345597f5f7
Enable drift compensation
2020-09-16 16:09:14 +02:00
Bård Skaflestad
2bd80947b9
Fix Debug Build
...
Remove left parenthesis character left over from transitioning to
the type-based parameter system. The '(' produced a build failure
which only manifested in debug builds.
Thanks to Håkon Hægland for bringing the issue to our attention.
2020-08-31 16:33:52 +02:00
Arne Morten Kvarving
9a000c6d07
changed: remove SET_TAG_PROP macro usage
2020-08-28 10:44:53 +02:00
Arne Morten Kvarving
3b21a8a481
changed: remove SET_TYPE_PROP macro usage
2020-08-28 10:44:53 +02:00
Arne Morten Kvarving
93a3ebf8f7
changed: remove NEW_PROP_TAG macro usage
2020-08-28 10:44:53 +02:00
Arne Morten Kvarving
941e4916f8
changed: remove SET_PROP macro usage
2020-08-27 14:02:05 +02:00
Arne Morten Kvarving
7d853d2e05
changed: remove SET_SCALAR_PROP macro usage
2020-08-27 13:01:51 +02:00
Arne Morten Kvarving
fca83318aa
changed: remove SET_INT_PROP macro usage
2020-08-27 13:01:51 +02:00
Arne Morten Kvarving
a79c37a041
changed: remove SET_STRING_PROP macro usage
2020-08-27 13:01:51 +02:00
Arne Morten Kvarving
0e71c0e29b
changed: remove SET_BOOL_PROP macro usage
2020-08-27 13:01:51 +02:00
Arne Morten Kvarving
e8248b44ff
changed: remove NEW_TYPE_TAG macro usage
2020-08-27 13:01:51 +02:00
Arne Morten Kvarving
914053ac3c
changed: remove GET_PROP_VALUE macro usage
2020-08-27 13:01:51 +02:00
Markus Blatt
322bc8d9cc
only check deck on process 0
2020-08-27 09:05:09 +02:00
Arne Morten Kvarving
74fac38d85
changed: remove GET_PROP_TYPE / GET_PROP macro usage
2020-08-27 08:19:39 +02:00
Arne Morten Kvarving
70908d9017
changed: remove BEGIN_PROPERTIES/END_PROPERTIES macro usage
2020-08-21 15:50:35 +02:00
Tor Harald Sandve
bd9186b41d
implement Saltvd
2020-08-18 10:55:43 +02:00
Joakim Hove
8f78a15938
Add WListManager argument when constructing ActionContext
2020-07-09 07:30:37 +02:00
Joakim Hove
b52366926a
Add Action::State member to EclPropblem and pass it to io/ActionX
2020-06-17 12:25:03 +02:00
Joakim Hove
5a09624ad6
Add call to evaluate PYACTION in eclproblem::applyActions()
2020-04-14 08:48:32 +02:00
Arne Morten Kvarving
c40c733a57
fixed: build without MPI
2020-03-13 17:52:37 +01:00
Arne Morten Kvarving
51ee5205cb
changed: no need to serialize EclMaterialLawManager any longer
2020-03-09 11:23:12 +01:00
Markus Blatt
8bab43ffbd
Removed now unused variables.
2020-03-08 15:18:55 +01:00
Arne Morten Kvarving
09a7c00ed5
changed: no need to serialize PolymerModule any longer
2020-03-06 20:45:53 +01:00
Arne Morten Kvarving
9413425a78
changed: no need to serialize BrineModule any longer
2020-03-06 20:28:34 +01:00
Arne Morten Kvarving
3a559fb9fb
changed: no need to serialize FoamModule any longer
2020-03-04 15:05:37 +01:00
Arne Morten Kvarving
30892a006e
changed: no need to serialize SolventModule any longer
2020-03-04 10:01:03 +01:00
Arne Morten Kvarving
03a2129df3
changed: no need to serialize the FluidSystem any more
...
setup is now done all from state, which means it can be done
independently on all processes
2020-03-03 14:24:18 +01:00
Bård Skaflestad
8ed3b82c8a
Merge pull request #2385 from akva2/use_compressed_rock
...
use compressed field properties setting up rock parameters
2020-03-02 13:06:29 -06:00
Arne Morten Kvarving
888f0190b7
use compressed field properties setting up rock parameters
2020-03-02 15:34:12 +01:00
Arne Morten Kvarving
da901a1d11
Merge pull request #2379 from akva2/use_compressed_expl_init
...
use compressed field properties setting up explicit initial conditions
2020-03-02 13:01:25 +01:00
Arne Morten Kvarving
766410ff7c
Merge pull request #2378 from akva2/use_compressed_blackoil_ext
...
changed: use compressed field properties for blackoil extension init conds
2020-03-02 11:39:07 +01:00
Markus Blatt
9faf2979b9
Merge pull request #2377 from akva2/use_compressed_numbers
...
changed: use compressed field properties setting up numbers
2020-03-02 11:32:22 +01:00
Arne Morten Kvarving
d5d32e235c
use compressed field properties setting up explicit initial conditions
2020-03-02 11:21:20 +01:00
Arne Morten Kvarving
f0062d5913
changed: use compressed field properties setting up numbers
2020-03-02 11:20:26 +01:00
Arne Morten Kvarving
8d528daaa5
changed: use compressed field properties for blackoil extension intial conditions
2020-03-02 10:32:40 +01:00
Arne Morten Kvarving
ef27c1d110
use compressed field properties setting up ThermalLawManager
2020-02-28 12:31:14 +01:00
Arne Morten Kvarving
3c050f4dda
use compressed field properties setting up MaterialLawManager
2020-02-28 12:31:14 +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
Arne Morten Kvarving
ef89d656fb
communicate global size setting up blackoil extension boundary conditions
2020-02-28 10:24:00 +01:00