Kai Bao
4f3ce37b8e
correcting one not helpful comments.
...
which results from the re-organization of the code.
2016-12-16 08:56:35 +01:00
Kai Bao
894bffd1b3
handling the injection mobility when mixing paramter not 1
...
The treatment with shear-thinning is not well tested yet.
2016-12-16 08:56:35 +01:00
Kai Bao
4f8ae4be73
putting the re-calculating wellflux inside if plyshlog
...
it only happens when shear effect calculation is needed. No point to
re-calculate the well flux when no shear thinning needed.
2016-12-16 08:56:35 +01:00
Kai Bao
9307a41fd5
using the polymer concentration in the polymer transport
...
since we already introduce the polymer viscosity there, we should apply
the water and polymer viscosity ratio again.
2016-12-16 08:56:35 +01:00
Atgeirr Flø Rasmussen
67374531e3
Merge pull request #880 from totto82/appelyard_fixes
...
Fixes in the Appelyard in updateState and updateWellState
2016-12-15 21:24:11 +01:00
Tor Harald Sandve
d856510b74
Merge pull request #980 from totto82/bugfix_flowebos_density
...
BUGFIX pass pvtnum to density in convertResults() in FlowEbos
2016-12-15 15:26:47 +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
5cf9cf5c65
Merge pull request #979 from andlaus/flow_ebos-fix-initial-output
...
FlowMainEbos: fix the output of the initial condition
2016-12-15 12:26:23 +01:00
Andreas Lauser
2761df3791
FlowMainEbos: fix the output of the initial condition
...
I probably did not see this warning when testing f7910af7d7
because
I'm currently flooded by deprecation warnings stemming from
Eigen. (these warnings are caused because I use Ubuntu 16.04 and an
old version of Eigen is cloned by the build system that is not system
installed.)
2016-12-15 09:57:53 +01:00
Atgeirr Flø Rasmussen
381c1cfbd6
Merge pull request #971 from totto82/solvent_fixes3
...
Fixes in solvent model related to handling vapoil in the well model
2016-12-14 15:31:26 +01:00
Andreas Lauser
1510db4bf6
Merge pull request #974 from andlaus/fix_assert
...
StandardWellsDense: fix assert for the 2p case
2016-12-12 19:20:43 +01:00
Andreas Lauser
34c4053c65
StandardWellsDense: fix assert for the 2p case
...
this wasn't noticed earlier because it only bites in the water-oil
case and only if NDEBUG is not defined.
2016-12-12 14:26:34 +01:00
Tor Harald Sandve
4ac69d51d1
Don't force rs<rsSat and rv<rvSat in updateState
2016-12-12 12:54:57 +01:00
Tor Harald Sandve
4f052e466b
Fixes in solvent model related to handling vapoil in the well model
...
Tested on SPE5 and Model2
2016-12-12 10:12:39 +01:00
Andreas Lauser
c7807a99a2
Merge pull request #969 from andlaus/reset_locale
...
flow*: reset the locale settings on startup
2016-12-08 18:02:47 +01:00
Andreas Lauser
3fb55f06e5
flow*: reset the locale settings on startup
2016-12-08 12:17:36 +01:00
Andreas Lauser
d9c01406ea
Merge pull request #967 from andlaus/no_opm-parser_pointers
...
flow_ebos: do not use (smart) pointers for opm-parser objects anymore
2016-12-08 10:03:24 +01:00
Robert Kloefkorn
bf18ee7fb9
fix the merge fallout
2016-12-06 20:05:24 +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
jokva
efc2a79540
Merge pull request #898 from joakim-hove/remove-stale-output
...
Removed all calls to writeECLData.
2016-12-06 16:06:15 +01:00
Joakim Hove
15108f3499
Merge pull request #968 from atgeirr/add-vtk-writing
...
Re-add vtk writing functionality
2016-12-06 11:09:48 +01:00
Atgeirr Flø Rasmussen
508da6689f
Change include path for writeVtkData.hpp, or remove include.
2016-12-06 09:48:03 +01:00
Atgeirr Flø Rasmussen
14ab6b6810
Add writeVtkData(), including version for UnstructuredGrid.
2016-12-06 09:26:45 +01:00
Joakim Hove
7ef40b3512
Removed all calls to writeECLData.
2016-12-06 08:34:17 +01:00
Atgeirr Flø Rasmussen
6237e957d7
Merge pull request #966 from OPM/revert-965-polymer_production_concentration
...
Revert "changing polymer production concentration to be the grid block concnetration."
2016-12-06 06:11:25 +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
Kai Bao
8148105ae3
Revert "changing polymer production concentration to be the grid block concnetration."
2016-12-05 15:05:56 +01:00
Atgeirr Flø Rasmussen
f9deaadcd1
Removed tabs.
2016-12-05 14:58:47 +01:00
Atgeirr Flø Rasmussen
5730e4f56a
Merge pull request #965 from GitPaean/polymer_production_concentration
...
changing polymer production concentration to be the grid block concnetration.
2016-12-05 14:11:41 +01:00
Tor Harald Sandve
e614c42818
Avoid hard-coded appelyard parameter in flow_ebos
...
Start using the parameters in the parameter file instead of the hard-
coded ones.
Unify the restriction of the drs and drv in black-oil and black-oil-
solvent updateState
2016-12-05 13:44:33 +01:00
Tor Harald Sandve
6e03b9706f
Apply Appleyard fixes to solven model
...
Tested on SPE5 and Model2 + co2
2016-12-05 13:44:33 +01:00
Tor Harald Sandve
294ca31fc8
Fixes in the Appelyard in updateState and updateWellState
...
1) changes dp_max_rel default to 0.2
2) introduces a dbhp_max_rel paramter to restrict the bhp update in the
updateWellState() (instead of using the dp_max_rel) Default is set to
1.0
3) Restrict rs and rv between 0,and the satruation value
4) Set rs and rv to zero for the water only cases
5) Guard against zero rs and rv when calcuating the maximum allowed rs
and rv change.
Tested on norne, model 2 and model 2.2
Number of problems for the different models with and without this fix
Case
this PR master
Norne
10
45
Model 2
21
78
Model 2.2
200
248
2016-12-05 13:44:33 +01:00
Kai Bao
81a73650de
polymer production concentration to be the grid block concnetration.
...
To be more consistent with the injection well.
2016-12-05 12:52:21 +01:00
Robert Kloefkorn
42ab4d133f
[bugfix] add defunct_well_names to BlackoilModelEbos.
2016-12-02 11:13:06 +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
c5ca9649d7
[bugfix] Make initialization work in parallel for flow_ebos.
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
Andreas Lauser
5ebed2f500
flow_ebos: only instantiate the grid once
...
it now uses the grid object which gets created by ebos for everything
which should make the parallelization efforts easier. I also tried to
cut back the use of the legacy property objects (i.e., for the fluid,
geologic and rock properties), but this effort ran aground because of
the initialization and output code. (also, if those two were fixed,
there would probably be issues with the Newton update.)
I ran Norne with this and there did not seem to be any notable
performance regressions or benefits.
2016-12-01 16:50:06 +01:00
Jørgen Kvalsvik
28c36ef949
Mini deck is reference, not pointer
2016-12-01 16:18:04 +01:00
Atgeirr Flø Rasmussen
2abb2c8144
Merge pull request #914 from GitPaean/test_iterative_wellcontrol
...
[WIP] making the updateWellControls an iterative process for StandardWells
2016-12-01 10:52:03 +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
Arne Morten Kvarving
f6cf4bfc56
Merge pull request #956 from akva2/multiple_norne_runs
...
changed: use a separate output dir for each simulator in norne integration test
2016-11-30 10:46:45 +01:00
Atgeirr Flø Rasmussen
1ea5440c40
Merge pull request #959 from akva2/update_jenkins_grid
...
update jenkins upstream list
2016-11-29 22:50:06 +01:00
Arne Morten Kvarving
cefc1bb92f
update jenkins upstream list
...
opm-grid moved in the dependency graph
2016-11-29 21:47:42 +01:00
Bård Skaflestad
6281d1f090
Merge pull request #958 from andlaus/fix_asserts
...
StandardWellsDense: fix two assertations
2016-11-29 15:05:32 +01:00
Andreas Lauser
69240fe435
StandardWellsDense: fix two assertations
...
the compiler suggested braces around the conditions, and by look of
it, it was right: these asserts most likely want express that only the
threephase case or the twophase case without gas are handled...
2016-11-29 14:29:51 +01:00
Andreas Lauser
eb4e2c9548
Merge pull request #957 from andlaus/flow_ebos-fix-debug-build
...
flow_ebos: fix build with debugging flags
2016-11-29 11:41:18 +01:00
Andreas Lauser
fdb01cb9a3
flow_ebos: fix build with debugging flags
...
once more, it seems like we became a victim of the combinatorial
explosion of possibilities.
2016-11-29 11:36:30 +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