Kai Bao
19eb0d96c8
adding applyVREPGroupControl() to StandardWellsDense.
2017-01-25 14:11:27 +01:00
Kai Bao
f53bf6f957
adding a pointer to rate_converter in BlackoilModelEbos
...
in StandardWellsDense.
2017-01-25 14:11:27 +01:00
Kai Bao
af26b70fc9
adding a rate converter to BlackoilModelEbos
...
and also function updateRateConverter() to update its state.
2017-01-25 14:11:27 +01:00
Andreas Lauser
7d5c5f8acc
Merge pull request #1029 from totto82/bugfix_swatinit
...
BUGFIX Pass solution from flowEbos to ebos initially
2017-01-20 15:02:50 +01:00
Tor Harald Sandve
ce2aa77cbd
BUGFIX Pass solution from flowEbos to ebos initially
...
The initial solution in ebos and in flowebos are different in cases where
swatinit is present. Pass the initial solution and recalculate the
intensive quantities make sure that the flowEbos initial solution is
used.
2017-01-19 09:18:55 +01:00
Kai Bao
9e93ebcc64
check whether the group targets are converged.
2017-01-16 16:18:35 +01:00
Andreas Lauser
d87b788d09
BlackoilModelEbos: make computeFluidInPlace() work unconditionally
...
i.e. it now works regardless of whether the cache for intensive
quatities is available or not.
2017-01-16 12:42:35 +01:00
Atgeirr Flø Rasmussen
0028b35e03
Merge pull request #1018 from andlaus/simplify_isParallel
...
simplify BlackoilModelEbos::isParallel()
2017-01-12 10:41:15 +01:00
Tor Harald Sandve
28bbe20344
Merge pull request #1012 from andlaus/cleanup_StandardWellsDense
...
small improvements to StandardWellsDense
2017-01-12 10:27:18 +01:00
Andreas Lauser
3a9146866a
simplify BlackoilModelEbos::isParallel()
2017-01-11 18:57:47 +01:00
Andreas Lauser
f2115b44ac
BlackoilModelEbos: remove the last traces of "SolutionState"
...
it was not used for real for a while anyway.
2017-01-11 17:07:08 +01:00
Andreas Lauser
b324d17003
small improvements to StandardWellsDense
...
the most significant change is that only a "PhaseUsage" object must be
passed to its constructor instead of a full "fluid object". also, the
pointers to the vector of "active" phases has been converted into a
full object. (this helps to avoid potential use-after-free errors.)
2017-01-11 17:02:20 +01:00
Markus Blatt
aacbdb1777
Switch off non-owner entries during accumulation.
...
Previously entries attached to cells that are present
on multiply processes were acumulated several times.
2017-01-11 12:20:32 +01:00
Andreas Lauser
ef731672c9
remove the BlackoilPropsAdInterface abstraction layer
...
instead, directly use BlackoilPropsAdFromDeck.
2017-01-02 13:19:23 +01:00
Atgeirr Flø Rasmussen
ae1d78f505
Remove unused argument, silence warnings.
2016-12-29 14:34:16 +01:00
Atgeirr Flø Rasmussen
3e120d6e33
Merge pull request #964 from totto82/reuse_cache2
...
Reuse cache revisited
2016-12-20 14:46:00 +01:00
Atgeirr Flø Rasmussen
45fed6d591
Merge pull request #975 from totto82/clean_up_2p
...
Use templates to avoid hardcoded typedef
2016-12-19 13:01:05 +01:00
Tor Harald Sandve
4fdf57db04
Consider the timestep converged only when number of iteration > minIter
2016-12-19 10:55:28 +01:00
Tor Harald Sandve
a4bc2d455e
Fix rebase
2016-12-19 10:55:28 +01:00
Tor Harald Sandve
ae5d812bc5
BUGFIX cache reuse.
...
invalidate cachedQuantities when updated and when timestep fails
2016-12-19 10:55:28 +01:00
Tor Harald Sandve
ad6b3f995f
BUGFIX pass pvtnum to density in convertResults() in FlowEbos
2016-12-15 13:20:09 +01:00
Tor Harald Sandve
2bfa96fddf
Templatize to avoid hardcoded typedef
...
Prepare for changing the size of the blocks by templatize BVectors and
Evalution
2016-12-12 14:52:30 +01:00
Andreas Lauser
ef15d76831
Merge commit 'refs/pull/947/head' of https://github.com/OPM/opm-simulators into no_opm-parser_pointers
...
* https://github.com/OPM/opm-simulators :
[bugfix] add defunct_well_names to BlackoilModelEbos.
[bugfix] fix ownerMask for parallel FIP code.
flow_ebos: tell the ebos in ourselves to not handle SWATINIT
[bugfix] Make initialization work in parallel for flow_ebos.
[bugfix] make flow_ebos work when no wells are present.
flow_ebos: only instantiate the grid once
2016-12-06 19:43:47 +01:00
Andreas Lauser
f7910af7d7
flow_ebos: do not use (smart) pointers for opm-parser objects anymore
...
this patch also includes code to make FlowMainEbos more autonomous
(i.e. it does not derive from FlowMainBase anymore). this allows more
flexibility how and what stuff gets created.
2016-12-05 20:11:43 +01:00
Robert Kloefkorn
2eca5d71e6
[bugfix] fix ownerMask for parallel FIP code.
2016-12-01 22:25:46 +01:00
Andreas Lauser
e6acf888cc
flow_ebos: tell the ebos in ourselves to not handle SWATINIT
...
because the flow part also wants to do this. (and it is quite a bit
more stubborn!)
2016-12-01 16:50:31 +01:00
Robert Kloefkorn
1c2a2c417c
[bugfix] make flow_ebos work when no wells are present.
2016-12-01 16:50:28 +01:00
Atgeirr Flø Rasmussen
63b0498843
Merge pull request #951 from andlaus/improve_SimulatorReport
...
extend and clean up the SimulatorReport
2016-11-30 19:34:11 +01:00
Andreas Lauser
5bb23cfe9d
Merge pull request #946 from andlaus/implement_two-phase_blackoil
...
Implement two phase blackoil
2016-11-28 15:16:19 +01:00
Andreas Lauser
8c5f92dbc4
extend and clean up the SimulatorReport
2016-11-25 21:19:57 +01:00
Tor Harald Sandve
d23270c98f
Fix the 2p simulator
...
Only tested for oil+water case
The blockmatrix and vectors are hardcoded to be 3
and a trivial equation is used for the Gas phase.
2016-11-22 15:01:48 +01:00
Andreas Lauser
5e0804b39f
some twophase fixes for flow_ebos
...
this changes the conversion of the results to hopefully make it work
with twophase simulations. Note that flow_ebos still does not work
because there is a crash in the well model that I don't understand
(and also, I've disabled an assertation in the well model plus I'm not
completely sure if the conversion code need to do something about the
primary variables in the twophase case).
2016-11-22 15:01:48 +01:00
Markus Blatt
a16bce8785
Fixes unsused parameter warnings for ebos stuff
2016-11-21 15:23:12 +01:00
Robert Kloefkorn
59f40ba14e
[cleanup][WellModelMatrixAdapter] use only one implementation of the matrix
...
adapter to avoid confusion.
2016-11-18 12:47:54 +01:00
Robert Kloefkorn
a0da20378c
[bugfix][WellModelMatrixAdapter] fix applyscaleadd method.
2016-11-18 12:47:54 +01:00
Robert Kloefkorn
439a084508
[bugfix][BlockoilModelEbos] fix invalidation of intensive quantities after
...
linear solver failure.
2016-11-18 12:47:54 +01:00
Andreas Lauser
293f7ca1c7
Merge pull request #916 from totto82/frankenstein_fix_appleyard2
...
Improvments in convergence for flow_ebos
2016-11-14 15:02:00 +01:00
Andreas Lauser
4271da8d84
flow_ebos: fix the build
...
mainly, the "linsolver_" attribute is called "istlSolver_" in the
BlackoilModelEbos class. Also, this problem possibly only occured if
MPI was enabled...
2016-11-14 13:36:01 +01:00
Tor Harald Sandve
739c0906ef
Improvments in convergence for flow_ebos
...
- restrict pressure changes. Set default to 1.0 (this also effects flow)
- change default number of linear iterations to 150
- tell stabilized newton the residual occilates even if it occilates in
only one phase (this also effects flow)
- avoid problems realated to division on small numbers
Tested on SPE9, norne and Model 2 with significant improvments.
2016-11-14 13:26:38 +01:00
Tor Harald Sandve
5a917a4828
Output FIP in flow_ebos
2016-11-14 09:34:40 +01:00
Andreas Lauser
5c67d79c72
adapt to the rename of "applications/ebos" to "ebos" inside eWoms
2016-11-11 15:05:13 +01:00
Andreas Lauser
42e55ee38b
fix the build if MPI is not available
...
I'm not really sure if the fix is semantically correct (Dune
communicators are strange beasts if you're new to them), but at least
this patch fixes the build without MPI and the resulting flow_ebos
binary seems to work fine.
2016-11-11 14:25:19 +01:00
Robert Kloefkorn
90247a02b2
[feature] make convergenceReduction work in parallel (needs testing).
2016-11-02 17:44:06 +01:00
Robert Kloefkorn
4ff23191eb
[feature] make flow and flow_ebos use the same linear solver setup.
2016-11-02 16:41:11 +01:00
Robert Kloefkorn
01bb7ee4d7
[cleanup] only print first letter of phaseName in iteration output.
2016-11-02 11:25:43 +01:00
Tor Harald Sandve
362968c315
New WellStateFullyImplicitBlackoilDense
...
The WellStateFullyImplicitBlackoil is reverted to master and all
extentions moved to WellStateFullyImplicitBlackoilDense
2016-11-01 13:44:38 +01:00
Andreas Lauser
a773fd4c85
use accessor methods to access the value and derivatives of Evaluation objects
2016-11-01 13:30:41 +01:00
Robert Kloefkorn
31724030c9
Merge branch 'frankenstein' into PR/remove-Eigen-from-BMEbos
2016-10-21 14:13:58 +02:00
Robert Kloefkorn
c8374a4b95
[cleanup] Remove Eigen from BlackoilModelEbos.
2016-10-21 13:26:48 +02:00
Andreas Lauser
6754bad00b
Merge branch 'master' into frankenstein
...
* master:
Update to shared_ptr-less parser interface.
2016-10-20 20:16:42 +02:00