Commit Graph

5360 Commits

Author SHA1 Message Date
Andreas Lauser
71bbc01fdf SaturationPropsFromDeck: fix some array index screw-ups in the twophase case
I don't think the code gets more beatiful because of this, but it
seems like it does not crash anymore.
2015-09-02 12:29:18 +02:00
Andreas Lauser
92c7fa46ed "fix" the satfunc unit test
the derivatives changed in some instances compared to the old
implementations. this patch updates them to the new versions.

thanks to [at]atgeirr for discovering this.
2015-09-02 12:29:18 +02:00
Andreas Lauser
faadeaa0aa use a .cpp instead of an _impl.hpp file for SaturationPropsFromDeck
this avoids having to include the "Evaluation.hpp" file as the first
thing in the morning.
2015-09-02 12:29:18 +02:00
Andreas Lauser
bc9ab3862b InitStateEquil: fix valgrind complaint about uninitialized values
it seems that it was pure luck that this worked so far!
2015-09-02 12:29:18 +02:00
Andreas Lauser
a1eb108528 remove the now obsolete SatFunc* classes 2015-09-02 12:29:18 +02:00
Andreas Lauser
921f377a1d SaturationPropsFromDeck: add the code to calculate all saturation properties using opm-material
also remove the now obsolete code in that class.
2015-09-02 12:29:11 +02:00
Andreas Lauser
f32ab0e4e3 add a fluid state where scalars include the derivatives w.r.t. the saturations 2015-09-02 12:23:24 +02:00
Andreas Lauser
919ba96c09 ExplicitArraysFluidState: always make it appear threephase to the exterior, but also accept twophase arrays 2015-09-02 12:23:24 +02:00
Andreas Lauser
28c47461c6 redhat specfile: add opm-material as build dependency 2015-09-02 12:23:24 +02:00
Andreas Lauser
8c2b764cd0 debian control file: add opm-material as build time dependency 2015-09-02 12:23:24 +02:00
Andreas Lauser
e5fe7e4c6c add opm-material to the dependencies specified by dune.module 2015-09-02 12:23:24 +02:00
Joakim Hove
34e90a0a30 Merge pull request #865 from joakim-hove/table-refactor
Using TableManager to get tables.
2015-09-02 11:57:53 +02:00
Atgeirr Flø Rasmussen
bf7276280a Merge pull request #866 from blattms/fixes-getting-next-timestep
[bugfix] Allow querying the current time step even if we are done.
2015-09-01 23:10:00 +02:00
Markus Blatt
31617da382 [bugfix] Allow querying the current time step even if we are done.
Previously there was an assertion whether the time stepping is still
running when querying the time step. After commit 5af794cfd5 this
triggered an assertion for Norne. As there is no reason to limit querying
the current time step in this way. This commit simply removes the assertion
in AdaptiveSimulatorTimer::currentStepLength.

This closes OPM/opm-autodiff#446
2015-09-01 19:34:30 +02:00
Joakim Hove
f3151a9abe Using TableManager to get tables. 2015-09-01 12:58:09 +02:00
Atgeirr Flø Rasmussen
943a5d1e4c Merge pull request #861 from osae/zero_poro_hack
Zero-porosity cells and MINPV.
2015-08-31 13:35:19 +02:00
osae
f81a4d62a4 Zero-porosity cells and MINPV.
Model 2 partly uses PORO=0.0 to signal inactive cells. This PR
prevents such cells from causing unwanted zcorn modifications in
the current min-pv algoritm. (The problem is however more general as
zero PORO or NTG should kill a cell whether MINPV is active or not,
refer kw ACTNUM.)
2015-08-27 17:49:10 +02:00
Joakim Hove
6579a150f3 Merge pull request #860 from joakim-hove/THPRES
Using map base ThresholdPressure implementation.
2015-08-25 16:23:56 +02:00
Joakim Hove
c03d6f0b4b Ensure that thresholdPressure.hpp is compiled.
Added a test to ensure that thresholdPressure is compiled; however the
test is deactivated because it requires the GridHelpers from opm-autodiff.
2015-08-25 16:22:38 +02:00
Joakim Hove
f8fb0ab7ab Using map base ThresholdPressure implementation. 2015-08-25 16:22:37 +02:00
Atgeirr Flø Rasmussen
78e30cc7e0 Merge pull request #859 from totto82/time-stepping
Use estimated time-step instead of average in next report step
2015-08-25 13:50:10 +02:00
Tor Harald Sandve
b318686df1 Rename last_timestep_ to suggested_next_timestep_ 2015-08-25 11:16:36 +02:00
Tor Harald Sandve
5af794cfd5 Use estimated time-step instead of average in next report step 2015-08-25 06:32:39 +02:00
Joakim Hove
9ad6e59ee7 Merge pull request #857 from iLoop2/ThresholdPressure
Threshold pressure
2015-08-24 16:54:07 +02:00
Fredrik Gundersen
352a5d826b Updated as needed by new opm-parser functinality 2015-08-24 15:37:49 +02:00
Fredrik Gundersen
3d90a918d5 Merge remote-tracking branch 'upstream/master' 2015-08-24 08:35:58 +02:00
Joakim Hove
352f6bc26e Merge pull request #854 from chflo/OPM-215
Opm 215 EclipseReader restart file read of solution data
2015-08-23 23:09:32 +02:00
chflo
48c17ebd86 OPM-215: Added fault handling 2015-08-21 13:25:34 +02:00
Fredrik Gundersen
09aa2b7bf7 Added suport for new Threshold Pressure behavior 2015-08-20 13:00:01 +02:00
chflo
1739deb849 OPM-215: Added test 2015-08-20 12:42:12 +02:00
chflo
9d723ab071 OPM-215: Added method restoreSOLUTIONData() to EclipseReader, and helper methods 2015-08-20 12:37:06 +02:00
chflo
c5383bc576 OPM-215: Created EclipseIOUtil.hpp file 2015-08-20 10:06:48 +02:00
Atgeirr Flø Rasmussen
eac0e84f0f Merge pull request #844 from babrodtk/vfpprod
Vertical flow performance tables
2015-08-19 13:26:37 +02:00
babrodtk
3bca45883a Fixed whitespace 2015-08-19 13:20:58 +02:00
Atgeirr Flø Rasmussen
eba000bf17 Do thp init() differently. 2015-08-19 13:12:15 +02:00
Atgeirr Flø Rasmussen
7a76766f79 Fix bug in test program. 2015-08-19 13:12:14 +02:00
babrodtk
12afe501fc Fixed warning, double=>int 2015-08-19 13:12:14 +02:00
babrodtk
104159af15 Minor fixes 2015-08-19 13:12:14 +02:00
babrodtk
761973b01e Fixed several compiler warnings 2015-08-19 13:12:14 +02:00
babrodtk
a103c59f3f Bugfix with THP for injection wells 2015-08-19 13:12:14 +02:00
babrodtk
5fb364a48b Removed superfluous line 2015-08-19 13:12:14 +02:00
babrodtk
ac0e72ea1d Refactoring 2015-08-19 13:12:14 +02:00
babrodtk
c7a66bf595 Update support for VFP tables: Now produces almost identical results to BHP for 'identity' table' 2015-08-19 13:12:14 +02:00
babrodtk
5913535396 More integration of VFP tables 2015-08-19 13:12:03 +02:00
babrodtk
88c3596535 Initial integration of VFP 2015-08-19 13:11:41 +02:00
babrodtk
53413e9318 Fixed warning 2015-08-19 13:10:48 +02:00
babrodtk
c4aae4440e Update support for VFP tables: Now produces almost identical results to BHP for 'identity' table' 2015-08-19 13:10:48 +02:00
babrodtk
e05b7778d7 More integration of VFP tables 2015-08-19 13:10:48 +02:00
babrodtk
1dab5351c2 Initial integration of VFP 2015-08-19 13:10:48 +02:00
Atgeirr Flø Rasmussen
11062bf13a Merge pull request #853 from atgeirr/fix-init-order
Match init order to member order.
2015-08-19 11:36:10 +02:00