Arne Morten Kvarving
f1e0dc0acb
use compressed indices setting up transmissibilities
2020-03-03 08:43:50 +01:00
Arne Morten Kvarving
5a9340b5b1
use compressed field property for fipnum
2020-03-03 08:40:48 +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
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
888f0190b7
use compressed field properties setting up rock parameters
2020-03-02 15:34:12 +01:00
Arne Morten Kvarving
ca91b61bc7
use compressed properties setting up permeabilities
2020-03-02 15:12:26 +01:00
Arne Morten Kvarving
b031f6d4cf
Merge pull request #2382 from akva2/use_compressed_thpressure
...
use compressed indices setting up ThresholdPressures
2020-03-02 15:02:18 +01:00
Arne Morten Kvarving
9f00c3dfe1
Merge pull request #2381 from akva2/use_compressed_ntg
...
use compressed field properties applying NTG
2020-03-02 14:49:59 +01:00
Arne Morten Kvarving
ff559fd1c9
use compressed indices setting up ThresholdPressures
2020-03-02 13:42:27 +01:00
Arne Morten Kvarving
373588dd04
use compressed field properties applying NTG
2020-03-02 13:02:10 +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
Markus Blatt
396f84b764
Merge pull request #2372 from akva2/compressed_props_material
...
Use compressed properties in material law setup
2020-03-02 09:47:09 +01:00
Arne Morten Kvarving
293612265e
fix build without MPI
2020-02-28 13:03:16 +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
05c0c4b6e8
Use the ParallelEclipseState and ParallelFieldPropsManager
...
with these in place, we now only parse the deck on the root process.
2020-02-28 10:26:55 +01:00
Arne Morten Kvarving
68a9d17de1
changed: pass/store deck as a pointer
...
and remove asserts for null-ptr. preparatory step for only
having deck on root mpi process
2020-02-28 10:26:55 +01:00
Arne Morten Kvarving
4904f09d4d
changed: avoid use of EclipseGrid outputting RFT data
2020-02-28 10:24:00 +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
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
Markus Blatt
22d4e784d3
Merge pull request #2356 from akva2/boost_prune
...
Lessen boost usage
2020-02-21 13:15:03 +01:00
Joakim Hove
d3bfa83c7c
Merge pull request #2343 from joakim-hove/move-rstconfig
...
RestartConfig has moved from EclipseState to Schedule
2020-02-20 07:07:37 +01:00
Arne Morten Kvarving
e262cf8d51
changed: use internal function to uppercase string
2020-02-19 11:20:16 +01:00
Joakim Hove
5ad4936025
RestartConfig has moved from EclipseState to Schedule
2020-02-17 21:48:12 +01:00
Tor Harald Sandve
76682497e8
Merge pull request #2318 from akva2/fix_brine_module_init
...
fixed: call initFromDeck for Brine module
2020-02-17 14:17:17 +01:00
Tor Harald Sandve
7ed2bbed3f
Merge pull request #2313 from totto82/lab_bc
...
Lab bc
2020-02-14 09:24:02 +01:00
Arne Morten Kvarving
04812f32fb
remove boost::filesystem as dependency
2020-02-12 15:03:18 +01:00
Atgeirr Flø Rasmussen
5fe48dab8b
Merge pull request #2327 from akva2/bump_dune
...
Bump required dune version to 2.6
2020-02-11 09:41:44 +01:00
Robert Kloefkorn
526f1f9bb1
[bugfix][AsyncOutput] Restore asynchronicity for output and make sure
...
that all output is written before the simulator is finalized.
2020-02-10 12:11:30 +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
Arne Morten Kvarving
403a78e1cf
fixed: call initFromDeck for Brine module
2020-02-05 09:14:47 +01:00
Arne Morten Kvarving
df62305673
update for simplified Tuning data structure in opm-common
2020-01-31 13:45:05 +01:00
Tor Harald Sandve
1d061c681f
fix index issue for boundary conditions
2020-01-30 10:03:22 +01:00
Markus Blatt
daa8f778bb
Merge pull request #2310 from akva2/noecl_small_stuff
...
Preparatory changes for single-process parsing
2020-01-30 09:13:14 +01:00
Arne Morten Kvarving
39492fdaf4
only calculate ACTNUM on root-process
2020-01-29 15:30:55 +01:00
Arne Morten Kvarving
d91155738f
avoid dereferencing eclGrid and FieldProps on non-root processes setting up grids
...
these only used on root process in any case
2020-01-29 15:30:55 +01:00
Joakim Hove
fcdd5874a3
Use RockConfig in eclproblem
2020-01-29 15:06:53 +01:00
Bård Skaflestad
645b07bf7f
Merge pull request #2305 from akva2/fix_thermal
...
Parallel thermal simulations
2020-01-29 13:27:45 +01:00
Arne Morten Kvarving
35a085fe0d
changed: adjust to ThermalLawManager initialization changes
2020-01-29 08:54:50 +01:00
Arne Morten Kvarving
e2862a3a4d
avoid deck usage on non-root processes checking for TRACERS
2020-01-28 15:55:58 +01:00
Arne Morten Kvarving
b5cd80c232
Merge pull request #2304 from akva2/hide_fprops_ifaces
...
don't use templated get and has interface from fieldpropsmanager
2020-01-28 15:34:12 +01:00
Arne Morten Kvarving
6cb300c0f9
initialize variable to avoid warning spew
2020-01-28 14:09:53 +01:00
Joakim Hove
bc718bafc8
Use BCConfig when setting up boundary conditions
2020-01-27 15:55:04 +01:00
Arne Morten Kvarving
7dfb45067b
don't use templated get and has interface from fieldpropsmanager
...
it is now private
2020-01-27 15:33:18 +01:00
Joakim Hove
2cfe1dce7f
Merge pull request #2295 from akva2/noecl_flush_matman
...
Avoid deck usage on non-root processes setting up MaterialLawManager
2020-01-22 15:09:57 +01:00
Arne Morten Kvarving
b7a2612ecf
avoid deck usage on non-root processes checking for EQUIL
...
this is achieved by using the InitConfig member from EclipseState
instead
2020-01-22 12:57:25 +01:00
Arne Morten Kvarving
7f9f65811f
changed: avoid deck usage on non-root processes setting up gravity
...
this is achieved by using the InitConfig member from EclipseState
instead
2020-01-22 12:57:25 +01:00
Arne Morten Kvarving
db2ad1587d
fixed: mark constructor explicit
2020-01-22 11:36:02 +01:00
Arne Morten Kvarving
60f3fea67a
avoid deck usage on non-root processes setting up MaterialLawManager
2020-01-22 11:35:55 +01:00
Arne Morten Kvarving
3396b31852
changed: add helper template to serialize and broadcast static types
2020-01-22 00:32:46 +01:00
Arne Morten Kvarving
02ce13c800
Merge pull request #2291 from akva2/reorganize_matlaw
...
changed: adjust to split of initFromDeck in EclMaterialManager
2020-01-21 12:59:29 +01:00
Bård Skaflestad
570cf08fc4
Merge pull request #2290 from akva2/noecl_flush_fluidsystem
...
Avoid deck usage on non-root processes setting up FluidSystem
2020-01-21 10:47:44 +01:00
Arne Morten Kvarving
f57a2bf089
changed: adjust to split of initFromDeck in EclMaterialManager
2020-01-20 15:33:45 +01:00
Arne Morten Kvarving
c3ecedadb1
avoid deck usage on non-root processes setting up FluidSystem
2020-01-20 11:17:31 +01:00
Joakim Hove
d1085466e0
Remove #include GridProperty
2020-01-20 09:00:48 +01:00
Bård Skaflestad
d42bbbe15a
Merge pull request #2286 from akva2/avoid_deck_unitsystem
...
changed: avoid deck usage
2020-01-17 15:52:09 +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
Arne Morten Kvarving
cfc9cb3513
changed: avoid near-duplicate code
2020-01-17 14:55:36 +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
Atgeirr Flø Rasmussen
9d8d4921b8
Pass EnableBrine flag to BlackOilFluidState used for equilibration.
...
Gave compile error on clang due to narrowing (the int 3 -> bool).
Bug did not cause trouble because default number of phases in
the fluid state (3) was sufficient.
2020-01-13 11:00:33 +01:00
Tor Harald Sandve
ada7c9d90b
fix various extentions
2020-01-09 14:14:38 +01:00
Trine S. Mykkeltvedt
99e7785fb5
renamed saltwater-->brine and removed keywords from missingFeatures
2020-01-09 14:14:38 +01:00
Trine S. Mykkeltvedt
5749615bd8
addd simple salt/brine implementation
2020-01-09 14:14:38 +01:00
Bård Skaflestad
646e7d4eb1
Merge pull request #2265 from akva2/fix_serial_build
...
fix build without mpi
2020-01-06 17:02:08 +01:00
Arne Morten Kvarving
bd9ca91df2
fix build without mpi
2020-01-06 15:43:16 +01:00
Bård Skaflestad
dfb4946f13
Restart: Don't Access Solvent Saturation Unless Active
...
This commit ensures that the previous solvent restart fix (commit
afba6c8e8
, PR #2023 ) does not attempt to index into the data member
solventSaturation_ unless solvent is activated.
2020-01-06 14:11:11 +01:00
Arne Morten Kvarving
e5c44ce1f2
avoid usage of deck on all processes setting up EclFoamModule
2020-01-06 11:20:46 +01:00
Arne Morten Kvarving
777d38e550
avoid usage of deck on all processes setting up EclPolymerModule
2020-01-06 11:20:02 +01:00
Arne Morten Kvarving
3b27df91b4
avoid usage of deck on all processes setting up EclSolventModule
2020-01-06 11:19:12 +01:00
Markus Blatt
68272d5861
Merge pull request #2243 from blattms/construct-cpgrid-from-eclgrid-pointer
...
Pass a pointer to the EclipseGrid to CpGrid::processEclipseGrid.
2019-12-19 11:40:23 +01:00
Markus Blatt
ecfbb0e491
Pass a pointer to the EclipseGrid to CpGrid::processEclipseGrid.
...
... instead of a reference This is needed as we only want to read the
full deck and construct the EclipseGrid only on the master process
with rank 0. Hence all other ranks will pass a nullptr to this
function. This will be possible with this move from a reference to a
pointer.
2019-12-18 21:39:08 +01:00
Robert Kloefkorn
2fa90d24f6
[bugfix][ebos] Make compile with PolyhedralGrid again.
2019-12-18 11:03:42 +01:00
Markus Blatt
d255e1cad6
Merge pull request #2215 from dr-robertk/PR/fix-compile-dune27
...
Fix compilation with DUNE 2.7
2019-12-18 08:56:51 +01:00
Joakim Hove
d4890f81f5
Use Dune communicator instead of raw MPI call
2019-12-14 13:54:06 +01:00
Joakim Hove
f4aa118cc4
Update the internal ACTNUM in the FieldPropsManager
2019-12-12 12:00:51 +01:00
Robert Kloefkorn
8b09030139
[bugfix] Make compatibility code compile with DUNE 2.7
2019-12-11 11:22:28 +01:00
Markus Blatt
e7f7ad2ddc
Use ActiveGridCells instead of EclipseGrid when filtering connections.
...
The function signature has changed upstream.
2019-12-10 11:50:07 +01:00
Robert Kloefkorn
44e4ea3cdf
[feature][ebos] Adding oil-water-polymer option of ebos.
2019-12-09 18:16:23 +01:00
Joakim Hove
dc5340046a
Call applyActions at the end of every timestep
2019-12-06 13:18:49 +01:00
Bård Skaflestad
ce1e0691a8
Aquifer Restart: Address Review Comments
...
Mostly 'throw'ing in the case of unsupported operations. While
here, also remove an unused header.
2019-12-05 13:41:05 +01:00
Bård Skaflestad
143b45ed52
EclWriter: Initialize Aquifers From Restart Data
...
This commit calls the aquifer model's 'initFromRestart' function if
the loadParallelRestart() function happens to return any aquifer
data from the restart file. Such data is currently limited to two
items of information for analytic aquifers (from XAAQ vector), but
future extensions are likely.
2019-12-05 09:41:21 +01:00
Bård Skaflestad
8a764568e1
EclProblem: Provide Mutable Access to Aquifer Model Object
...
This commit adds a new public member function,
EclProblem::mutableAquiferModel()
that returns a read/write reference to the contained EclAquiferModel
object. The immediate use-case is initializing analytic aquifers
from restart data.
2019-12-05 09:41:21 +01:00
Bård Skaflestad
4c4a893781
Aquifer Model: Add Initialization from Restart Data
...
This commit adds a new member function,
initFromRestart()
to the EclBaseAquiferModel and the BlackoilAquiferModel. The former
does nothing, the latter calls AquiferInterface::initFromRestart()
on the contained analytic aquifer objects.
2019-12-05 09:41:21 +01:00
Joakim Hove
ad00a3a891
SummaryState is updated at the end of simulator timestep
2019-12-03 15:52:47 +01:00
Joakim Hove
deb397cf0e
Update output from applyActions() to show date
2019-12-03 00:44:08 +01:00
Joakim Hove
f97b76a9b5
List the matching wells for Action eval
2019-11-29 19:18:38 +01:00
Arne Morten Kvarving
79dc067eb1
changed: nncdata() has been renamed to data()
2019-11-26 13:29:40 +01:00
Markus Blatt
bc98b20118
Only filter in filterConnections_ on root process.
...
When filterConnections_ is called the grid is not load
balanced, yet. Currently that means that grid() will also return the
unbalanced grid and all processes will see the whole global grid.
We will change semantics of the unbalanced grid soon: Only the root
process will see the whole grid and the others will see an empty
partition of it. Hence filtering on this partition will remove all
connections on all wells in the schedule for non-root processes and
produce wrong results.
For non-root process the filtering needs to be done on the load
balanced grid. This is accomplished by this commit.
2019-11-14 23:41:17 +01:00
Joakim Hove
fce5d2f369
Rename Well2 -> Well and Group2 -> Group
2019-11-13 23:18:01 +01:00
Atgeirr Flø Rasmussen
415f4adcef
Merge pull request #2151 from joakim-hove/skip-processing
...
Skip processing of filename if external deck already exists.
2019-11-08 09:08:54 +01:00
Michael Sargado
e1e1efbaaf
Skip processing of filename if external deck already exists.
2019-11-07 21:03:30 +01:00
Bård Skaflestad
55a49b8146
Merge pull request #2073 from goncalvesmachadoc/goncalvesmachadoc-addProdInjReportPRT
...
Add Production and Injection Reports to PRT
2019-11-06 08:09:19 -06:00
Cintia Goncalves Machado
003fa994db
Update ecloutputblackoilmodule.hh
2019-11-06 13:25:04 +01:00
goncalvesmachadoc
8efae16087
çonverted tabs to spaces
2019-11-01 12:56:20 +01:00
goncalvesmachadoc
9982ddf3fb
fix
2019-10-30 17:51:49 +01:00
goncalvesmachadoc
2082641074
fix
2019-10-30 15:27:41 +01:00
goncalvesmachadoc
6f2adff3d7
added groups to reports
2019-10-30 14:09:51 +01:00
Markus Blatt
a597539342
Filter connections on non-IO ranks, too.
...
This removes a deadlock experienced for some models
where we have specified connections to non-active cells.
On non-IO ranks we are using the local grid since in the
future there will be no global grid available. Wells connecting
cells not on these processors are neglected anyway.
Closes #2101
2019-10-30 13:46:43 +01:00
goncalvesmachadoc
03433997b9
Changes revised by Bard
2019-10-29 11:46:26 +01:00
goncalvesmachadoc
18b5ad2bf8
changed as revised by OPMUsers
2019-10-26 13:13:44 +02:00
Markus Blatt
608b317ecc
Allow different ElementMapper types in ElementIndexScatterHandle.
...
This is needed to support dune-fem where the local mapper might
be
`MultipleCodimMultipleGeomTypeMapper<GridView<GridPart2GridViewTraits<AdaptiveLeafGridPart<CpGrid, (PartitionIteratorType)4,
false> > >, Dune::Impl::MCMGFailLayout>`
as opposed to the global one being
`MultipleCodimMultipleGeomTypeMapper<GridView<DefaultLeafGridViewTraits<CpGrid>>, Dune::Impl::MCMGFailLayout>`.
Closes #2095 .
2019-10-22 14:49:55 +02:00
Markus Blatt
9751984021
Merge pull request #2033 from blattms/avoid_equil_grid-rebased
...
Avoid using global grid (equilGrid) on non-IO processes.
2019-10-21 11:47:17 +02:00
Bård Skaflestad
a4eaf07243
Merge pull request #2071 from totto82/fix_restart
...
Always allocate buffers when restarting
2019-10-18 18:09:48 -05:00
Tor Harald Sandve
cf7c8552a5
Always allocate buffers when restarting
2019-10-18 09:07:06 +02:00
dr-robertk
18c31bda0b
Merge pull request #2047 from totto82/enableRockcompFlow
...
enable rockcomp in flow
2019-10-17 14:12:35 +02:00
Tor Harald Sandve
8c7d7e3d2e
enables rockcomp in flow
2019-10-17 12:44:49 +02:00
dr-robertk
abf793726d
Merge pull request #2046 from totto82/sync_logging
...
Add logging in ebos
2019-10-15 14:19:34 +02:00
Markus Blatt
0bc1630cc9
CollectToIORank: Made localIdxToGlobalIdx lookup working.
...
Since the indexMaps do not contain the global element index anymore
(but the global id). The old code did not work anymore.
Unfortunately, we are using CpGrid specific functions (scatterData)
to get the mapping. Therefore this might be broken if other grids are
used.
2019-10-15 14:03:24 +02:00
Markus Blatt
9735bdadfc
Load restart with global grid only available on one processor.
...
For this the master (IO) rank loads the RestartValue and then
broadcasts it to the other ranks.
2019-10-15 14:03:24 +02:00
Joakim Hove
1777fc5a03
Merge pull request #2028 from joakim-hove/rm-props-iget
...
Adapt to removal of GridProperty::iget()
2019-10-15 07:54:03 +02:00
Markus Blatt
7784d53198
Fix wrong globalSize.
...
That has gotten a little to big and hence the vector
globalCartesianIndex_ and DistributedIndexMapping::ranks_ ,too.
2019-10-14 14:32:22 +02:00
Markus Blatt
1124b82f05
Move translation of global cartesian index of global grid to IoRank.
...
Previously, it was still assumed that all ranks knew the global grid
and each map on CollectDataToIORank::indexMaps_ was a mapping of
send/receive index to the index of the cell using the mapper of the
corresponding global grid.
With this patch inside of CollectDataToIORank::DistributeIndexMapping
indexMaps is a mapping from send/receive index to global cartesian
index until the destructor is run. Inside of the destructor of the
iorank the remapping to mapped index of the global grid happens and
the ranks array is computed.
2019-10-14 14:32:22 +02:00
Markus Blatt
39979ad3f7
Only access globalTransmissibility on IO rank in EclWriter.
...
For other ranks this will not be available in the future.
2019-10-14 14:32:22 +02:00
Markus Blatt
5812b767ef
Always initialize mpiRank in constructor and use it consistently.
...
We cannot use grid->comm().rank() to check whether we are an
IORank since for an unbalanced grid this will always be zero in the
master branch.
2019-10-14 14:32:22 +02:00
Markus Blatt
cb396dfac6
Make sure subclass functions are not called before subclass is initialized.
...
This at least slightly improves the old design. In that design the
subclass had no own constructor but inherited the one of the base class.
That base class constructor called certain subclass
functions (createGrids_, filterConnections_, updateOutputDir_, and
finalizeInit_)that would initialize raw pointers of the
subclass. Hence subclasses where not allowed to have non-pod members
and those used later (e.g. deleted in the destructor) had to be
initialized in these functions.
The new (still ugly) design introduces constructors into the
subclasses and skips inheriting constructors. Now one must call a base
class function classImplementationInit which will still call the
functions createGrids_, filterConnections_, updateOutputDir_, and
finalizeInit_, but at least at this point the baseclass is fully
constructed and the subclass is constructed as much as
possible/needed (non-pod types will be initialized now.)
2019-10-14 14:32:22 +02:00
Markus Blatt
4e6bbddbf5
Use global grid only on IO process in EclWriter
2019-10-14 14:32:22 +02:00
Markus Blatt
bcff77fb4a
Construct and ECLTranmissibility only on IO process,
2019-10-14 14:32:22 +02:00
Markus Blatt
42c20171eb
make and use equilGrid only on IO process.
...
With the change of CPgrid to only holding the grid on one process
it will be an empty grid on all other processes. This has really
strange side effects like Schedule::filterConnections removing all
well perforations on theses processes.
2019-10-14 14:32:22 +02:00
Markus Blatt
5001645d6a
Make code compile without MPI.
2019-10-14 14:32:22 +02:00
Arne Morten Kvarving
7efbee9fb0
changed: avoid usage of equilGrid on non-root processes
2019-10-14 14:32:22 +02:00
Joakim Hove
1d9a3e3d35
Adapt to removal of GridProperty::iget()
2019-10-14 13:31:11 +02:00
Atgeirr Flø Rasmussen
40f91b0e32
Merge pull request #2034 from totto82/sync_restart
...
sync restart
2019-10-14 13:26:57 +02:00
Tor Harald Sandve
86ef30950d
Add logging in ebos
...
With this .PRT and .DBG files are created also for ebos
2019-10-14 10:39:10 +02:00
Halvor M. Nilsen
d873ae165d
Enable single-phase runs.
2019-10-11 08:19:18 +02:00
Markus Blatt
e4e8425bad
Merge pull request #1858 from dr-robertk/PR/cleanup-sparsematrixadapter
...
Cleanup SparseMatrixAdapter.
2019-10-09 12:44:52 +02:00
Bård Skaflestad
1b610f06a4
Prepare for Making Summary Writing Independent of LibECL
...
This commit adds requisite libecl includes that are needed as an
intermediate steps for enabling new summary writing independent of
libecl.
2019-10-04 20:32:09 +02:00
Atgeirr Flø Rasmussen
2b9e30df33
Merge pull request #2036 from blattms/improve-vanguard-layering-violation
...
Make sure subclass functions are not called before subclass is initia…
2019-10-02 14:57:00 +02:00
Robert Kloefkorn
28cf1c17be
[bugfix][EclWriter] GlobalGrid and GridView can potentially differ and
...
that is why types should be extracted from the structures that provide the objects.
2019-10-02 12:48:12 +02:00
Markus Blatt
a0fa87e81f
Make sure subclass functions are not called before subclass is initialized.
...
This at least slightly improves the old design. In that design the
subclass had no own constructor but inherited the one of the base class.
That base class constructor called certain subclass
functions (createGrids_, filterConnections_, updateOutputDir_, and
finalizeInit_)that would initialize raw pointers of the
subclass. Hence subclasses where not allowed to have non-pod members
and those used later (e.g. deleted in the destructor) had to be
initialized in these functions.
The new (still ugly) design introduces constructors into the
subclasses and skips inheriting constructors. Now one must call a base
class function classImplementationInit which will still call the
functions createGrids_, filterConnections_, updateOutputDir_, and
finalizeInit_, but at least at this point the baseclass is fully
constructed and the subclass is constructed as much as
possible/needed (non-pod types will be initialized now.)
2019-10-01 21:18:17 +02:00
Atgeirr Flø Rasmussen
96af6ca5f0
Merge pull request #2023 from totto82/fix_solvent_restart
...
Fix solvent restart
2019-10-01 15:35:22 +02:00
Tor Harald Sandve
f83e99c6aa
sync restart
2019-10-01 14:30:11 +02:00
Tor Harald Sandve
afba6c8e8e
Fix solvent restart
2019-10-01 13:07:29 +02:00
Bård Skaflestad
d979fb0fae
Blackoil Output: Chase API Change in SummaryNode Class
...
In particular, the .type() function is renamed to .category(), and
it no longer returns a LibECL type. Similarly, the .num() function
has been renamed to .number().
2019-09-30 15:00:05 +02:00
Bård Skaflestad
fabc067b5e
Blackoil Output: Don't Include "eclwriter.hh"
...
The EclWriter class depends on the EclOutputBlackOilModule, not the
other way around. This removes a cyclic include.
2019-09-30 14:47:50 +02:00
Tor Harald Sandve
dfede36018
Make is possible to test driftCompensation i Flow, Default is still false
2019-09-25 09:03:32 +02:00
Joakim Hove
06107450d6
Uuse new EquilRecord from opm-common
2019-09-23 21:42:41 +02:00
Joakim Hove
bbb9cd3483
Pass sim start argument to SummaryState constructor
2019-09-20 07:40:04 +02:00
Arne Morten Kvarving
8d78334e21
changed: ewoms/io -> opm/models/io
2019-09-19 11:17:12 +02:00
Arne Morten Kvarving
1aba020ea3
changed: ewoms/disc -> opm/models/discretization
2019-09-19 11:16:26 +02:00
Arne Morten Kvarving
d3d9831fc3
changed: ewoms/common -> opm/models/utils
2019-09-19 11:14:36 +02:00
Arne Morten Kvarving
7048589ec1
changed: ewoms/models/blackoil -> opm/models/blackoil
2019-09-19 11:12:45 +02:00
Arne Morten Kvarving
681672660a
changed: ewoms/parallel -> opm/models/parallel
2019-09-16 09:52:49 +02:00
Arne Morten Kvarving
5599bb6d8c
changed: namespace Ewoms -> namespace Opm
2019-09-05 17:14:38 +02:00
Atgeirr Flø Rasmussen
aff158566e
Merge pull request #1990 from akva2/use_opm_grid_region_mapping
...
changed: remove duplicated regionmapping class
2019-09-05 12:39:33 +02:00
Joakim Hove
ef3a159e89
Merge pull request #1986 from joakim-hove/enum-refactor
...
Adapt to enum changes
2019-09-04 16:29:32 +02:00
Arne Morten Kvarving
e1696e6d5b
changed: remove duplicated regionmapping class
...
use version from opm-grid
2019-09-04 15:47:52 +02:00
Joakim Hove
3d36565db7
Adapt to enum changes
2019-09-03 22:18:34 +02:00
Joakim Hove
750184cdf6
Add reportStep argument to Schedule::actions()
2019-08-29 19:38:27 +02:00
Joakim Hove
9b4c9e7dae
Add applyActions() to Simulator
2019-08-19 16:26:22 +02:00
Andreas Lauser
993f1133c8
enable the foam extension for ebos/mebos
2019-08-09 11:04:45 +02:00
Atgeirr Flø Rasmussen
12032203b3
Improve out-of-range check for extra components.
2019-08-07 12:03:43 +02:00
Atgeirr Flø Rasmussen
dd612c58a2
Make ebos variants compile.
2019-08-07 10:39:16 +02:00
Franz G. Fuchs
7fb90bff47
Use foam module.
2019-08-07 10:39:16 +02:00
Andreas Thune
e4098df759
Allow for different edge weight methods during load balancing
2019-07-23 10:41:27 +02:00
Arne Morten Kvarving
911727527b
quell some unused parameter warnings
2019-07-08 12:14:24 +02:00
Andreas Lauser
c67b9e66d3
ebos: by default, do not abort the simulation as quickly
2019-06-27 15:51:40 +02:00
Tor Harald Sandve
e2420a4361
Merge pull request #1916 from andlaus/abort_on_unknown_parameters
...
mebos, flow: adapt to the eWoms changes in handling unknown parameters
2019-06-27 14:59:35 +02:00
Tor Harald Sandve
fd26b61599
Merge pull request #1907 from andlaus/improve_time_integration
...
Improve time integration
2019-06-27 14:08:07 +02:00
Andreas Lauser
1bbf18d7c8
mebos, flow: adapt to the eWoms changes in handling unknown parameters
...
for `flow`, there's no change compared to the current behavior, `ebos`
and its variants will complain when it encounters unused parameters.
2019-06-27 11:51:28 +02:00
Kai Bao
9a2fcdbfd5
fixing warnings in other folder under opm-simulators
2019-06-26 10:48:41 +02:00
Andreas Lauser
c2aebbb5da
EclProblem: use the generic time integration mechanism
...
i.e., the EclProblem does no longer need to implement the
`timeIntegration()` method itself. since `flow` does not use this code
path, it is unaffected.
2019-06-25 12:39:00 +02:00
Andreas Lauser
626e8dd243
ebos: set the default for the number of threads to 2 if openMP is available
...
this value is was chosen to exactly replicate `flow`'s behavior. IMO,
it would be less surprising to set the default to `1`, i.e., the user
needs to specify `--threads-per-process=$N` explicitly if
multithreaded linearization ought to be used.
2019-06-24 14:23:55 +02:00
Andreas Lauser
c0b48e28c3
Merge pull request #1902 from totto82/fix_ebos_ecl_tuning2
...
Only apply timestep after event at the beginning of an episode
2019-06-21 11:02:56 +02:00
Tor Harald Sandve
4b1544469d
Only apply timestep after event at the beginning of an episode
2019-06-21 08:43:13 +02:00
Arne Morten Kvarving
76eab9e160
fixed: unused variable warning without MPI
2019-06-19 11:57:56 +02:00
Joakim Hove
2950faece0
Extract the Summary::eval() call from the output call
2019-06-19 09:51:46 +02:00
Joakim Hove
24e3afc544
Merge pull request #1887 from joakim-hove/remove-unused-args
...
Remove unused arguments from write task
2019-06-14 16:05:56 +02:00
Joakim Hove
e5d2d70ee5
Remove unused arguments from write task
2019-06-14 14:44:06 +02:00
Tor Harald Sandve
ba3598a6ae
Let the output writer determine what to write in ebos
2019-06-14 13:57:41 +02:00
Tor Harald Sandve
edbc28f46c
Merge pull request #1879 from andlaus/mebos
...
add `mebos`, a multiplexed ebos variant
2019-06-13 11:03:38 +02:00
Andreas Lauser
ca8ea76818
add mebos
, a multiplexed ebos variant
...
`mebos` works similarly as `flow`, but in contrast to `flow`, `mebos`
only creates the deck in the common code path whilst the
'EclipseState' and the other higher-level parser objects are always
created internally by the vanguard. this approach avoids code
duplication and the worst effects of parser API creep.
to avoid having to compile non-trivial compile units multiple times,
the actual code of the variants is moved into `ebos_$VARIANT.{hh,cc}`
files and the respective compile units are each put into a small
static library whilst the main function of said libraries are invoked
by either the multiplexed or the respective specialized simulator's
`main()`. This is also somewhat similar of how `flow` works, with the
difference that `mebos` uses the blackoil variant to determine the
parameters it needs to know for parsing the deck instead of
introducing a "fake" type tag for this. The rationale is to reduce
compile time compared to the "fake type tag" approach and -- to a
lesser extend -- avoid unnecessary copy-and-pasting of code. In
particular, this means that for the vast majority of cases, only one
place needs changed in the code for all `ebos` variants if, for
example, the parser API requires further objects in the future.
2019-06-11 10:27:47 +02:00
Joakim Hove
1790910269
Call Summary::eval() and ::add_timestep separately
2019-06-06 12:14:46 +02:00
Joakim Hove
47f4e750d2
Merge pull request #1865 from joakim-hove/use-shared-summarystate
...
Use shared summarystate
2019-06-04 09:49:56 +02:00
Tor Harald Sandve
9d6f20b172
Merge pull request #1870 from andlaus/ebos_cleanups
...
Ebos cleanups
2019-06-03 14:32:17 +02:00
Tor Harald Sandve
2df734f00e
output .INIT and .GRID also on restart
2019-06-03 12:21:34 +02:00
Andreas Lauser
f5e26df6af
ebos: tell the parser not to bail out if it encounters superfluous records
...
this makes slightly incorrect decks usable with `ebos`. since the
common `flow` variants use a different code path to parse the deck,
they are unaffected. (as far as I can see, the only variant which
might be affected is `flow_ebos_oilwater_polymer_injectivity` and even
for it `flow`'s multiplexing code will abort the run before the
vanguard is even called.)
2019-06-03 11:20:41 +02:00
Andreas Lauser
c315a9a473
ebos: make it possible to disable aquifiers
...
for now, disabling aquifers is an experimental feature...
2019-06-03 11:20:41 +02:00
Andreas Lauser
ef74025523
ebos: tone down the warning in the startup message slightly
...
The intend is to make the purpose of `ebos` clearer: while it can be
used in production, the stability guarantees are somewhat lower than
for `flow` and testing is a bit less rigorous (most of the time).
2019-06-03 11:11:41 +02:00
Andreas Lauser
c86470e768
tracer model: fix a few output messages
...
fixes some typos, adds better wording and fixes some duplication
issues on parallel runs.
2019-06-03 11:11:41 +02:00
Andreas Lauser
b699f40cee
fix "checking conservativeness" debug message for parallel runs
2019-06-03 11:11:41 +02:00
Andreas Lauser
c0a2fdf5c6
fix a few harmless compiler warnings
2019-06-03 11:11:41 +02:00
Andreas Lauser
18d989c394
ebos: replace tabs with spaces and remove trailing white space
...
for some reason this keeps creping back in...
2019-06-03 11:11:41 +02:00
Tor Harald Sandve
8f60a5f9fc
Merge pull request #1841 from andlaus/remove_isSubstep
...
EclProblem: remove the isSubstep parameter from writeOutput()
2019-06-03 10:41:12 +02:00
Andreas Lauser
80238d9940
Merge pull request #1863 from totto82/fix_init
...
Make it possible to restart without computing initial conditions
2019-05-29 12:23:40 +02:00
Atgeirr Flø Rasmussen
f3b21f8ead
Merge pull request #1861 from totto82/fixFPRP
...
Fix FPRP output
2019-05-29 09:59:46 +02:00
Joakim Hove
6edba5d94e
Use shared SummaryState in eclwellmanager
2019-05-29 07:45:58 +02:00
Joakim Hove
dc4f57f7eb
Merge pull request #1831 from joakim-hove/use-wells2-controls
...
Use wells2 controls
2019-05-29 06:46:58 +02:00
Tor Harald Sandve
ae78cb86df
Make it possible to restart without computing initial conditions
2019-05-28 13:04:28 +02:00
Tor Harald Sandve
e8db16554f
Fix FPRP output
2019-05-27 11:24:55 +02:00
Joakim Hove
511645d12c
Use InjectionControls and ProductionControls data classes
2019-05-23 16:27:17 +02:00
Bård Skaflestad
a618a1a777
Merge pull request #1857 from totto82/fix_fip_seg_fault
...
fix typo in fip output
2019-05-23 10:38:07 +02:00
Joakim Hove
b6840db604
Use new well implementation Well2 from opm-common
2019-05-22 21:47:45 +02:00
Tor Harald Sandve
dbf7efa6cb
fix typo in fip output
2019-05-22 15:39:57 +02:00