Joakim Hove
18c07d5d66
Replaced SimulatorState -> SimulationDataContainer
2016-03-29 10:48:36 +02:00
Liu Ming
17e5eb2dee
rename ParseMode as ParseContext.
2016-03-17 10:02:50 +08:00
Tor Harald Sandve
35b34f1b3a
Add pow() for constant base raised to variable exponent in AutoDiffBlock
...
- associated tests are added
- this PR also contains some clean up
2016-03-08 10:35:29 +01:00
Tor Harald Sandve
b2e02f6d2b
Add power method for general f^g in the AutoDiffBlock
...
A power method where both f and g are ADB variables is added
using the general derivative rule
(f^g)' = f^g * ln(f) * g' + g * f^(g-1) * f'
Tests are added to test_block.cpp
2016-03-07 14:23:45 +01:00
Joakim Hove
a9262e4574
Set abs_diff limit for restart_test to 1e-2
2016-02-19 13:00:27 +01:00
Jørgen Kvalsvik
19e41bd246
Change Deck access methods/types to references
...
opm-parser#677 changes the return types for the Deck family of classes.
This patch fixes all broken code from that patch set.
https://github.com/OPM/opm-parser/pull/677
2016-02-19 11:55:19 +01:00
Joakim Hove
95752bcd97
Added absolute eps for comparison.
2016-02-19 07:42:38 +01:00
Joakim Hove
d1b30f4f48
Changed wording: relative -> absolute
2016-02-19 07:41:53 +01:00
chflo
d7c5c30314
Changed numeric limits for restart test failure
2016-02-19 07:39:41 +01:00
chflo
3fc8ea4c9c
Added restart test
2016-02-10 14:47:56 +01:00
Jørgen Kvalsvik
850f0884f1
Improve includes from opm-parser
...
Adopting to opm-parser PR#661, add previously missing includes.
OPM/opm-parser#661
2016-01-26 13:32:34 +01:00
Jørgen Kvalsvik
087710df7d
Fixes includes wrt opm-parser PR-656
...
Several files stopped compiling due to relying on opm-parser headers doing
includes. From opm-parser PR-656 https://github.com/OPM/opm-parser/pull/656
this assumption is no longer valid.
2016-01-20 15:11:30 +01:00
Atgeirr Flø Rasmussen
d30147abfd
Merge pull request #555 from totto82/residualSaturations
...
Add methods for critial gas and gas in oil saturations
2015-12-11 13:08:54 +01:00
Tor Harald Sandve
4b66b0874e
Add methods for critial gas and gas in oil saturations
...
Methods that returns the scaled critical gas (SGCR) saturation and the
scaled critical gas in oil saturation (SOGCR) is added to
BlackoilPropsAdFromDeck and BlackoilPropsAdInterface
A test is added in test_boprops_ad and fluid.data is modified to make
the test non trivial.
2015-12-11 12:53:54 +01:00
Tor Harald Sanve
650fef5bc2
Add power operator to AutoDiffBlock
2015-12-10 10:30:28 +01:00
Arne Morten Kvarving
3ce3b0aac1
move polymer test to tests directory
2015-12-07 10:46:20 +01:00
Atgeirr Flø Rasmussen
2a0051655c
Merge pull request #520 from totto82/surface_dens
...
Support for non-constant surface densities
2015-11-13 11:40:30 +01:00
Tor Harald Sandve
a47c9add9b
Change interface of surfaceDensity()
...
Add phaseIdx as input and return array of n density values for the
phase. And adapt the usage accordingly.
2015-11-10 14:54:49 +01:00
Atgeirr Flø Rasmussen
a8227f977e
Modify test to trigger on buggy behaviour in AutoDiff.
2015-11-10 13:37:36 +01:00
Tor Harald Sandve
a46b64adcd
Support for non constant surface densities
...
The surface density function returns one value pr cell to allow for non
constant surface densities.
2015-11-10 12:49:19 +01:00
Atgeirr Flø Rasmussen
67f1def789
Add "allow crossflow" argument to add_well() calls.
2015-10-15 09:54:53 +02:00
Joakim Hove
76f674b16b
Updated path to warning suppression header.
2015-10-06 12:11:49 +02:00
Tor Harald Sandve
7bdd91d78f
Allow for different surface densities in well perforations
...
The surface density input in well_perforation_densities() in
WellDensitySegmented.hpp is changed from one value pr. phase to one
value pr phase and perforation. This allow for different densities in
different perforation. The test is changed accordingly.
2015-10-06 10:38:36 +02:00
babrodtk
7f9175e046
Created named constructor for identity matrices
2015-10-02 10:22:05 +02:00
babrodtk
39154f04fe
Added tests for autodiffmatrix
2015-09-07 13:01:31 +02:00
babrodtk
945593295d
Fixed test_autodiffhelpers
2015-09-07 13:00:41 +02:00
babrodtk
3a9a153c22
Fixed test_block
2015-09-07 13:00:41 +02:00
Atgeirr Flø Rasmussen
097542a527
Whitespace fixes.
...
It turns out I accidentally used tabs for a while, this commit
fixes that for all touched files.
2015-09-07 13:00:41 +02:00
Atgeirr Flø Rasmussen
1f32594f79
Fix bug in prodDD(), add test.
2015-09-07 13:00:02 +02:00
Atgeirr Flø Rasmussen
47e7dbe943
New implementation of AutoDiffMatrix, some tests.
...
Compiles and tests successfully, but test coverage very
limited. New approach based on relatively primitive
run-time switching instead of trying to use inheritance.
2015-09-07 12:58:51 +02:00
Atgeirr Flø Rasmussen
6a5a48e728
Work in progress on AutoDiffMatrix (not compiling).
2015-09-07 12:58:51 +02:00
babrodtk
6c590d4bdb
Implemented proper targets for switching to/from THP control
2015-08-19 17:03:41 +02:00
Atgeirr Flø Rasmussen
3c1c3a30ab
Merge pull request #430 from babrodtk/vfpprod
...
Vertical flow performance
2015-08-19 13:27:37 +02:00
babrodtk
f3553313d2
Rewrote function finding interpolation data
2015-08-19 12:37:54 +02:00
babrodtk
b2335ced24
Minor fixes for PR
2015-08-19 11:32:38 +02:00
babrodtk
6b3356e74d
Minor fixes for comments in PR
2015-08-19 08:07:51 +02:00
babrodtk
657a7c58b8
Added hydrostatic correction for vfp table depth
...
Closer to reproducing proper results, but som oscillating
behaviour in plots of actual BHP.
2015-08-14 14:48:15 +02:00
babrodtk
2994d1d932
Refactoring
2015-08-11 12:21:06 +02:00
babrodtk
08dd631a8d
Refactoring/restructuring
2015-08-11 10:24:55 +02:00
babrodtk
5af128bcb6
Refactoring
2015-08-11 09:47:06 +02:00
Atgeirr Flø Rasmussen
9a0ff41221
Silence warnings.
2015-08-11 09:20:35 +02:00
babrodtk
c5c965adec
Fixed bugs in tests for VFP tables
2015-08-10 09:31:25 +02:00
babrodtk
d45543b8fb
Proper integration of derivatives for THP
2015-08-10 08:55:06 +02:00
babrodtk
ff403afb1d
Fixed bug in superset when index list empty
2015-08-10 08:55:06 +02:00
babrodtk
7eb94caeba
Updated integration of VFP tables. Produces almost identical results to bhp control
2015-08-10 08:55:05 +02:00
babrodtk
16a4580219
Implemented test to check derivatives for interpolateplane
2015-08-10 08:55:05 +02:00
babrodtk
34edf3a5b8
Changed API of VFPProperties to take ADBs
2015-08-10 08:55:05 +02:00
André R. Brodtkorb
99c23d3810
Bugfix interpolation
2015-08-10 08:55:05 +02:00
babrodtk
f424a26651
Added initial calculation of derivatives
2015-08-10 08:55:05 +02:00
babrodtk
0d36d81e51
Implemented test for case when bhp(thp) == bhp
2015-08-10 08:55:05 +02:00