Kai Bao
820e65e772
Merge remote-tracking branch 'atgeirr/spe9-fixes'
2014-04-28 14:09:06 +02:00
Atgeirr Flø Rasmussen
17400cebaf
Fix bug in use of capillary pressure.
...
Pcow must be subtracted, not added to oil pressure to obtain water pressure.
2014-04-28 13:19:18 +02:00
Atgeirr Flø Rasmussen
4b4bb07d71
Changed the well control equations for dead wells.
...
This is now done in the same way as in MRST.
Also added a minor debugging macro, and (commented out) uses of it.
2014-04-24 18:50:49 +02:00
Bård Skaflestad
15a585106b
Merge pull request #124 from atgeirr/well-variable-updating
...
Changed well variable updating
2014-04-24 13:32:43 +02:00
Atgeirr Flø Rasmussen
939489a534
Use v.data() instead of &v[0].
2014-04-23 13:05:51 +02:00
Atgeirr Flø Rasmussen
ca8115c532
Add missing #include.
...
While version.hh is included transitively via other dune includes,
this may change. So for future-proofing we include it here.
2014-04-23 12:26:07 +02:00
Atgeirr Flø Rasmussen
57a5b4bc02
Use #if guards to handle different dune versions.
2014-04-23 11:12:55 +02:00
Atgeirr Flø Rasmussen
d7ba3b0fbc
Merge branch 'master' into suppress-warnings
...
Conflicts:
cmake/Modules/UseWarnings.cmake
2014-04-22 14:50:15 +02:00
Atgeirr Flø Rasmussen
9e5d98dddd
Make updateWellControls() update well variables, too.
...
Formerly only the control was changed. Now both well state and primary variables
will be modified to match control targets that were switched to (bhp or rates).
2014-04-22 13:52:42 +02:00
Kai Bao
3bdfbfd78c
Merge remote-tracking branch 'upstream/master'
2014-04-22 09:27:50 +02:00
Atgeirr Flø Rasmussen
e9d6a0e8e0
Fix bugs relating to misused face_cells variable.
2014-04-15 20:49:47 +02:00
Atgeirr Flø Rasmussen
e4a6ab1c86
Use non-deprecated leafGridView() method.
2014-04-15 20:49:17 +02:00
Atgeirr Flø Rasmussen
b0b206e9b8
Remove unused variable.
2014-04-15 20:48:50 +02:00
Atgeirr Flø Rasmussen
7a1d221da3
The reference phase is always the oil phase. Removed explicit warning.
2014-04-15 20:48:15 +02:00
Atgeirr Flø Rasmussen
1e75efd097
Add generation and use of warning-suppressing headers.
2014-04-15 20:46:45 +02:00
Atgeirr Flø Rasmussen
dc622c6a7a
Add forgotten #include <config.h>.
2014-04-15 12:10:43 +02:00
Atgeirr Flø Rasmussen
9ae24f9380
Merge branch 'master' into cpr-preconditioning-again
...
Conflicts:
CMakeLists_files.cmake
examples/test_implicit_ad.cpp
2014-04-15 11:48:36 +02:00
Bård Skaflestad
03218f5470
Merge pull request #100 from blattms/master-refactor-for-cpgrid-support
...
Adds fully implicite black oil solver working with CpGrid
2014-04-15 00:03:16 +02:00
Andreas Lauser
e92cac6d0c
fix typo: it's PVCDO, not PVDCO
2014-04-11 11:54:56 +02:00
Atgeirr Flø Rasmussen
148e6e78cb
Fix typo in #include (Autodiff -> AutoDiff).
2014-04-10 09:37:52 +02:00
Bård Skaflestad
c3bb686600
Annotate end of namespace and "#if"
...
This commit adds a few annotations to closing braces on namespaces
and one "#ifdef" conditional. This is an aid to (hopefully) avoid
the problem fixed in commit 688d65e
.
2014-04-09 23:53:20 +02:00
Bård Skaflestad
11e6bc4ad2
Bring a definition of OPM_THROW into scope.
...
The template version of outputStateMatlab() uses OPM_THROW so we need
a definition of the macro.
2014-04-09 16:33:24 +02:00
Bård Skaflestad
688d65e7ef
GridHelpers: Fix build when !HAVE_DUNE_CORNERPOINT
...
This commit fixes an incorrectly nested "#ifdef..#endif" block that
leads to build failures when opm-autodiff is being used without
dune-cornerpoint.
2014-04-09 16:07:59 +02:00
Markus Blatt
327f1b003d
Merge branch 'tester' into master-refactor-for-cpgrid-support
...
Resolved conflicts:
examples/sim_fibo_ad.cpp
opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp
2014-04-09 14:39:19 +02:00
Markus Blatt
42fbe3b612
Revert "Activate paralle istl solvers if there is more than one process computing."
...
This reverts commit 9598a990df
.
The commit slipped in by accident and should be part of a separate branch.
2014-04-09 13:32:28 +02:00
Markus Blatt
bccc7c1350
Updates interface to fix issues not resolved in the latest merge.
...
Namely the template parameter was missing for the added methods.
In addition there were still various instances where the grid was
used directly rather than via the functions in GridHelpers.hh.
2014-04-09 12:16:33 +02:00
Kai Bao
84b98d5f31
add some breakpoints for debug
2014-04-09 09:45:59 +02:00
Bård Skaflestad
a784d50f1e
Merge branch 'master' into blattms-master-refactor-for-cpgrid-support
...
Conflicts:
examples/sim_fibo_ad.cpp
opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp
This brings the "CpGrid support" branch up to date with respect to
recent changes in opm-autodiff master.
2014-04-08 16:31:17 +02:00
Atgeirr Flø Rasmussen
9fec84312f
Rename method linearSolve()->computeNewtonIncrement().
2014-04-08 16:16:54 +02:00
Atgeirr Flø Rasmussen
bd44127bd6
Renamed more classes.
...
FullyImplicitSystemSolver{Interface, Simple} -> NewtonIterationBlackoil{Interface, Simple}.
Change suggested by B. Skaflestad.
2014-04-08 16:11:08 +02:00
Atgeirr Flø Rasmussen
9e7ab6d1d2
Renamed class {FullyImplicit->Linearised}BlackoilResidual.
2014-04-08 15:56:08 +02:00
Atgeirr Flø Rasmussen
a19344efa9
Changed docs/comments after review suggestions.
...
Suggestions from B. Skaflestad and A. Lauser.
2014-04-08 15:28:10 +02:00
Atgeirr Flø Rasmussen
f1956f05f9
Merge branch 'cpr-preconditioning' into cpr-preconditioning-again
...
Conflicts:
examples/sim_fibo_ad.cpp
examples/test_implicit_ad.cpp
opm/autodiff/FullyImplicitBlackoilSolver.cpp
opm/autodiff/SimulatorFullyImplicitBlackoil.cpp
opm/autodiff/SimulatorFullyImplicitBlackoil.hpp
2014-04-08 15:06:01 +02:00
Atgeirr Flø Rasmussen
e699f9e135
Remove unnecessary argument, and minor formatting corrections.
2014-04-05 00:12:03 +02:00
Tor Harald Sandve
a905eade7a
Use preferred phase to compute wellbore mix for dead wells
...
The wellmore mix is set to preferred phase for dead wells, where the
total volumetric rates are zero. This sets the phase of the flow out of
perforations in dead wells and thus avoids zero volumerats for injecting
preforations in dead wells.
2014-04-04 11:36:02 +02:00
Atgeirr Flø Rasmussen
6c4114ea69
Add more options for Selector class.
...
You can now choose which comparison to do for the indicator vector
to find when to choose the left argument. Only >= before (still default).
2014-04-01 15:49:01 +02:00
Markus Blatt
46f3607641
Merge remote-tracking branch 'upstream/master' into master-refactor-for-cpgrid-support
...
Resolved conflicts:
opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp
2014-03-31 11:39:37 +02:00
Atgeirr Flø Rasmussen
4b53f88685
Fix timer usage.
...
This makes the simulator produce proper summary output again.
2014-03-28 14:31:30 +01:00
Atgeirr Flø Rasmussen
faba01f917
Merge pull request #112 from GitPaean/fix_using_new_timer
...
A small fix to make sim_fibo_ad use the new SimulatorTimer.
2014-03-28 13:51:22 +01:00
Atgeirr Flø Rasmussen
9d9576c955
Merge pull request #110 from atgeirr/new_well_formulation
...
New well formulation
2014-03-28 12:47:29 +01:00
Markus Blatt
b279a174db
Merge remote-tracking branch 'upstream/master' into master-refactor-for-cpgrid-support
...
Conflicts:
examples/sim_fibo_ad.cpp
opm/autodiff/FullyImplicitBlackoilSolver_impl.hpp
2014-03-27 16:17:44 +01:00
Markus Blatt
9598a990df
Activate paralle istl solvers if there is more than one process computing.
2014-03-27 11:31:17 +01:00
Kai Bao
0914841823
A small fixing to make the sim_fibo_ad using the new timer.
2014-03-27 11:15:55 +01:00
Atgeirr Flø Rasmussen
d4f1a89370
Merge pull request #111 from andlaus/FullyImplicitBlackoilSolver_throw_exception_uppon_non-finite_residual
...
FullyImplicitBlackoilSolver: Throw an exception uppon encountering a non-finite residual
2014-03-26 15:29:34 +01:00
Andreas Lauser
8cd93bf70a
FullyImplicitBlackoilSolver: cleanup the residualNorm() method
2014-03-26 15:16:43 +01:00
Atgeirr Flø Rasmussen
2db726268b
Merge pull request #108 from andlaus/FullyImplicitBlackoilSolver_unify_state_conversion
...
FullyImplicitBlackoilSolver: unify the state conversion routines
2014-03-26 14:29:08 +01:00
Atgeirr Flø Rasmussen
8663c5b604
Merge branch 'FullyImplicitBlackoilSolver_unify_state_conversion' of https://github.com/andlaus/opm-autodiff into test_andlaus
...
Conflicts:
opm/autodiff/FullyImplicitBlackoilSolver.cpp
Resolved by using the new, reduced version of constantState().
2014-03-26 14:21:23 +01:00
Andreas Lauser
2f84156b91
FullyImplicitBlackoilSolver: Throw an exception uppon encountering a non-finite residual
2014-03-26 12:54:46 +01:00
Atgeirr Flø Rasmussen
3bc57780aa
Fix bug in -= operator.
2014-03-26 11:44:49 +01:00
Atgeirr Flø Rasmussen
5e4dff401c
Merge branch 'master' into new_well_formulation
...
Needed to avoid compile errors with updated opm-core.
2014-03-26 11:02:52 +01:00