Atgeirr Flø Rasmussen
566f6813dd
Created gatherConvergenceReport() function and test.
2018-11-13 10:30:32 +01:00
Atgeirr Flø Rasmussen
48b0024855
Refactor BlackoilModelEbos::getConvergence().
...
The loop over elements to extract data has been moved to a separate
function localConvergenceData().
2018-11-13 10:19:15 +01:00
Atgeirr Flø Rasmussen
576852b299
Remove cell_index from ReservoirFailure struct.
2018-11-13 10:19:15 +01:00
Atgeirr Flø Rasmussen
58eedf0d65
Merge pull request #1615 from GitPaean/using_events_for_well_states_2
...
detecting whether some well control events happens to a well
2018-11-13 07:42:19 +01:00
Kai Bao
eb86404934
addressing review comments of PR #1615
2018-11-12 15:20:23 +01:00
Atgeirr Flø Rasmussen
d562df9d8a
Merge pull request #1597 from GitPaean/avoiding_overshoot_fractions
...
relaxation to avoid overshoot of fractions of StandardWell
2018-11-12 14:20:52 +01:00
Andreas Lauser
781825121d
some cleanups
2018-11-12 12:48:33 +01:00
Robert Kloefkorn
cfcf04ed00
add an abstraction layer for the matrix between the linearizer and linear solver
...
this allows to assemble the Jacobian matrices directly into the native
format expected by linear solver. So far, only backends using
Dune::BCRSMatrix are provided, but there are work-in-progress patches
for dune-fem, vienna-CL and PETSc backends.
2018-11-12 12:48:22 +01:00
Kai Bao
5e736fc4c7
decoupe the rate and fraction relaxation
...
the relaxation for these two have different goals and problems, it is
wise to decuple them.
2018-11-09 14:28:44 +01:00
Kai Bao
179a505b83
addressing the review comments #1597
2018-11-09 14:28:44 +01:00
Kai Bao
7e17a60c58
relaxation to avoid overshoot during Newton update in StandardWell
...
Solvent model is not handled yet.
2018-11-09 14:28:44 +01:00
Kai Bao
73f8ed912e
detecting whether some well control events happens to a well
...
When there is some events happen to a well, we use the control mode
from the DECK, and update the WellState based on the new control model.
Otherwise, we can use the control mode from the previous well state,
and keep the values from the previous well state as an intial guess.
2018-11-09 13:36:49 +01:00
Atgeirr Flø Rasmussen
19e89b470b
Merge pull request #1555 from totto82/use_ewoms_well_api
...
Use ewoms well api for the well model
2018-11-09 08:35:53 +01:00
Tor Harald Sandve
8dc874dda4
Make the computation of the productivity index only when asked for
2018-11-08 13:28:52 +01:00
Tor Harald Sandve
3bc292d168
Store well potential in well_state and pass it for output if asked for
...
A zero well potential is passed if the computation fails or
if it is a multisegmented well.
2018-11-08 13:28:24 +01:00
Andreas Lauser
11fb836432
Merge pull request #1613 from andlaus/cleanup_schedule_management
...
flow: do not pass the schedule and summaryConfig objects anymore
2018-11-08 13:14:43 +01:00
Andreas Lauser
a5493919da
ecl base vanguard: make the schedule and summaryConfig objects user-replaceable
...
thanks to [at]atgeirr for the suggestion.
2018-11-08 11:32:56 +01:00
Tor Harald Sandve
7ccce99e1c
Do the schur complement after calling the getConvergence method
2018-11-08 10:41:41 +01:00
Tor Harald Sandve
5edd63c554
flow: let the wells be managed by EclProblem
2018-11-08 10:40:28 +01:00
Tor Harald Sandve
19622dab57
start the execution timer when creating the eWoms simulator object
...
this provides accurate performance timings from within eWoms
code. For example, this is useful for output of TCPU.
2018-11-08 10:26:02 +01:00
Atgeirr Flø Rasmussen
8f62670c1e
Merge pull request #1611 from totto82/productivity_index
...
Compute well productivity index and pass it to the output
2018-11-08 09:30:46 +01:00
Tor Harald Sandve
8fe2be3b7f
Compute well productivity index and pass it to the output
2018-11-07 15:36:31 +01:00
Andreas Lauser
e5fb6cf83c
flow: do not pass the schedule and summaryConfig objects anymore
...
they are now always created internally by the vanguard.
2018-11-07 12:34:54 +01:00
Andreas Lauser
868c4b1cc5
ebos: clean up the mess that is the schedule and summaryConfig objects a bit
...
IMO the simulator should not be in the business of managing low-level
parser objects in the first place, because that's what EclipseState is
supposed to do?!
anyway, since these objects are not needed to decide which simulator
to use, they are now always managed internally by the vanguard, i.e.,
setExternalDeck() does not take them anymore.
2018-11-07 12:31:20 +01:00
andrthu
a969fd198a
Ignoring overlap cells in parallel ILU factorization ( #1610 )
...
* fixed the issue of including ghost cells in preconditioning, by zeroing out ghost rows and setting the diagonal to a large value.
* move altering of matrix to a function
* blockwise modification of matrix
* add findOverlapRowsAndColumns in BlacoilDetail. Add call to findOverlapRowsAndColumns in constructor of BlacoilModelEbos. Change makeOverlapRowsInvalid, by looping over precalculated inddies instead of grid
* Better formatting
2018-11-06 14:14:50 +01:00
Tor Harald Sandve
38dd81ba7e
Avoid output of trivial fipnum regions
2018-11-06 09:02:30 +01:00
Joakim Hove
6c5b540eaf
Merge pull request #1605 from totto82/drsdtr
...
Adapt to changes in schedule interface
2018-11-06 08:21:03 +01:00
Tor Harald Sandve
513b0b462f
Add support for drsdtr and drvdtr
...
This PR also adds possibility for schedule dependent drsdt values
2018-11-05 13:50:44 +01:00
Tor Harald Sandve
fad7c68446
Add support for region DR[SV]DTR
2018-11-05 13:40:23 +01:00
Tor Harald Sandve
eff1c21bb3
Merge pull request #1609 from GitPaean/refactoring_well_test
...
Refactoring well test to prepare for Physical limit related well test.
2018-11-02 10:40:59 +01:00
Atgeirr Flø Rasmussen
9d6a9b4aa2
Merge pull request #1604 from andlaus/ebos_aquifers
...
let aquifers be managed by core ebos
2018-11-02 10:33:13 +01:00
Andreas Lauser
848a65c1c8
BlackoilAquiferModel: move the function bodies to the _impl.hpp file
...
... to make it more consistent with the existing code.
2018-11-01 15:19:33 +01:00
Andreas Lauser
6a929ca797
try to fix subtle lifetime bug
...
it is possible that a dune entity vanishes if its iterator gets out of
scope. Whether this is a problem or not seems to be be highly depend
on the used configuration...
2018-11-01 15:13:28 +01:00
Kai Bao
0c24a30459
some cleaning up
...
no funtionality changes.
2018-10-31 15:32:50 +01:00
Andreas Lauser
46b52448aa
fix a few review comments
2018-10-31 15:20:56 +01:00
Andreas Lauser
339c76bcac
make aquifers work again, quite a few cleanups
2018-10-31 15:20:56 +01:00
Andreas Lauser
805eec9566
make the CT aquifiers code do something
2018-10-31 15:20:56 +01:00
Andreas Lauser
7c81dbdaab
let the aquifiers be managed by core ebos
...
also, clean them up a bit:
- do not use the intensive quantities cache directly anymore. (i.e.,
that code should now work if the IQ cache is disabled)
- do not fiddle with the global Jacobian matrix and residual vector
directly. Instead, implement the water fluxes to the reservoir as a
source term like wells.
one thing that did not become fully clear to me is if each aquifer
ought to be assumed to be in contact with the whole reservoir or just
a few cells on the boundary. The current implementation goes down the
former path, while, without any deeper knowledge, I would rather
suppose that the latter applies. maybe my understanding of this is
just too limited, though.
2018-10-31 15:20:56 +01:00
Atgeirr Flø Rasmussen
985b1b17f0
Merge pull request #1608 from andlaus/fix_2p_wells
...
well model: fix valgrind complaints if either oil or gas are disabled
2018-10-31 15:16:56 +01:00
Kai Bao
702c6e7b1f
refactoring the wellTesting in BlackoilWellModel
...
so that we can do well test for different closing reason.
2018-10-31 15:00:21 +01:00
Andreas Lauser
b04c82a64e
well model: fix valgrind complaints if either oil or gas are disabled
2018-10-31 13:18:10 +01:00
Kai Bao
4d58b9c34d
splitting updateWellTestState to be two functions
...
one testing physical limits, and the other testing economic limits.
2018-10-31 12:54:39 +01:00
Tor Harald Sandve
3185e8662b
Merge pull request #408 from andlaus/aquifer_api_v2
...
extend the aquifer model so that it can initialize itself
2018-10-31 12:47:54 +01:00
Andreas Lauser
1f28aba47e
Merge pull request #404 from totto82/speedup2p
...
Blackoil: Prepare for 2p conditional storage of fluidstate
2018-10-30 12:39:05 +01:00
Andreas Lauser
ea67829e4d
Merge pull request #1606 from totto82/fix2pSpecialization
...
use specialized fluidstate in the aquifer model
2018-10-30 12:38:47 +01:00
Andreas Lauser
ec898fa8c2
extend the aquifer model so that it can initialize itself
...
nothing is perfect on first try...
2018-10-30 11:22:26 +01:00
Tor Harald Sandve
52475eeea6
use specialized fluidstate in the aquifer model
2018-10-29 13:03:53 +01:00
Tor Harald Sandve
08c4a4857b
Adapt to changes in schedule interface
2018-10-29 10:39:14 +01:00
Andreas Lauser
7fd640bb9e
make all header files includeable on their own right again
...
some property definitions and includes were missing.
2018-10-29 10:05:46 +01:00
Andreas Lauser
1d16dfc3fa
fix some warnings produced by clang 6
...
they are all harmless.
2018-10-29 10:05:46 +01:00