Atgeirr Flø Rasmussen
27c0430932
Change include paths for moved headers.
2017-02-10 16:07:25 +01:00
Andreas Lauser
ef731672c9
remove the BlackoilPropsAdInterface abstraction layer
...
instead, directly use BlackoilPropsAdFromDeck.
2017-01-02 13:19:23 +01:00
Andreas Lauser
c880efae5b
mostly eliminate Eigen in the FIP and VFP code
...
this code mostly used the Eigen vectors as arrays anyway, so let's use
`std::vector`.
also, this patch only "mostly eliminates" Eigen from from these parts
of the code because the source files of the VFP code still use
AutoDiffBlock; Unfortunately this cannot easily be changed because
`flow_legacy` depends on these methods. (`flow_ebos` does not use the
incriminating methods.)
2016-12-30 11:46:27 +01:00
babrodtk
5923f64322
Removed unused variable (which gave me compilation errors)
2016-12-22 13:00:51 +01:00
babrodtk
8ff349253c
Fixed uninitialized bug, and added logging/comment
2016-10-07 15:11:59 +02:00
babrodtk
739976535f
Added rs and rv output capabilities
2016-09-07 14:55:53 +02:00
babrodtk
40b2b95d87
Extended the support for keywords for restart file output
2016-09-07 14:55:53 +02:00
Liu Ming
4b88d4edd1
use PV weighted pressure when HCPV is zero.
2016-09-07 14:00:30 +08:00
Liu Ming
1943978dbd
update PAV formulation.
2016-09-05 10:38:57 +08:00
Atgeirr Flø Rasmussen
b5e986df5f
Remove well state argument from computeFluidInPlace().
2016-08-30 13:34:18 +02:00
Liu Ming
056708574c
compute fluid in place by regions.
2016-08-30 10:30:25 +02:00
Liu Ming
28583e4237
Add computeFluidInPlace function.
2016-08-30 10:30:25 +02:00
Andreas Lauser
bec3ce31fd
distinguish between the number of non linear iterations and the number of linearizations
...
while the printed number of "Non linear iterations" was correct in a
strict sense, it was very confusing if one was working on the
linearization code because the last Newton iteration of each time step
was linearized but not solved for (and the solution was thus not
updated hence it does not count as a "non linear iteration"). This
makes sense for large problems were the total runtime is completely
dominated by the performance of the linear solver, but smaller
problems exhibit the opposite behavior (i.e., for them, runtime is
typically dominated by the linearization proceedure), so one is more
interested in the number of linearizations, not the number of linear
solves.
2016-08-02 12:14:10 +02:00
Andreas Lauser
5410d97701
pass the simulation timer object instead of the time step size
...
models may need a more detailed picture of where they are in the
simulation. Note that since the timer objects are available at every
call site, this is also not a very deep change.
2016-07-12 15:55:12 +02:00
Liu Ming
d13d21231d
keep the unity of the API.
2016-06-21 08:36:15 +08:00
Kai Bao
30774d8309
correcting buggy visc pointer usage in effective viscosity calculation
2016-04-14 14:52:00 +02:00
Joakim Hove
18c07d5d66
Replaced SimulatorState -> SimulationDataContainer
2016-03-29 10:48:36 +02:00
Andreas Lauser
7c3020822a
properly create state.temperature in the FullyImplicitCompressiblePolymerSolver class
2016-02-22 15:16:44 +01:00
Robert Kloefkorn
743fad877a
remove unused typedef.
2016-02-16 10:25:57 +01:00
Robert Kloefkorn
4111797822
BlackoilModelBase: added parameter singlePrecision and print residual to large at right
...
place.
2016-02-12 12:14:02 +01:00
Atgeirr Flø Rasmussen
e3a5e1682d
Adapt to refactored/renamed NonlinearSolver (was NewtonSolver).
2015-11-18 10:19:32 +01:00
Atgeirr Flø Rasmussen
b918f20771
Add model() and relativeChange() methods.
2015-11-13 13:58:41 +01:00
Atgeirr Flø Rasmussen
bbf1862023
Update for new surfaceDensity() interface.
2015-11-13 13:30:01 +01:00
Atgeirr Flø Rasmussen
b2bf88e689
Silence warning about missing initializer.
2015-11-13 13:29:32 +01:00
Andreas Lauser
651bd91482
use the error macros from opm-common
2015-10-12 15:24:59 +02:00
Atgeirr Flø Rasmussen
b324606084
Update to work with AutoDiffBlock::M now being AutoDiffMatrix.
2015-09-08 09:57:17 +02:00
Atgeirr Flø Rasmussen
6c00cddb35
Whitespace fix.
...
Made as a separate commit in order to make the next commit diff understandable.
2015-09-08 09:36:42 +02:00
Atgeirr Flø Rasmussen
79b861db10
Silence multiple warnings.
2015-05-29 16:31:32 +02:00
Andreas Lauser
2b085e0062
fully implicit simulators: various cleanups
...
these are mostly stylistic: the function bodies of most new methods
have been moved to the _impl.hpp file and the Simulator classes are
now templated on the grid type, so it should be not too hard to switch
them to Dune::CpGrid.
2015-05-29 12:59:40 +02:00
Andreas Lauser
01555da823
remove the run() method from SimulatorFullyImplicitCompressiblePolymer
...
With this the simulator is basically done, but since
FullyImplicitCompressiblePolymerSolver has not yet been converted to
the NewtonSolver plus Model approach, the solver cannot be removed and
thus still contains quite a bit of copy-and-pasted code.
2015-05-28 13:56:07 +02:00
Atgeirr Flø Rasmussen
aff268dbdb
Adapt to API change for AutoDiffBlock class.
2015-03-16 16:49:12 +01:00
Liu Ming
4d1f364a40
fix cmax issues.
2014-12-08 13:45:30 +08:00
Andreas Lauser
d36d7e81cb
allow temperature dependent PVT properties
...
this has the nice side effect that non-uniform temperature fields also
become supported as long as they are "impressed" externally...
2014-11-20 19:25:18 +01:00
Liu Ming
c605a22c14
add config.h
2014-11-18 09:47:51 +08:00
Liu Ming
58bdc701e3
since two phase polymer simulator support EclipseWriter, need to remove historical
...
files for outputing water cut.
2014-10-29 13:38:15 +08:00
Liu Ming
3102c4dab2
use WellStateFullyImplicitBlackoil instead of WellState.
2014-10-29 10:25:06 +08:00
Liu Ming
979c2dc0f7
use Newton iteration solver interface from opm-autodiff, prepare for CPR supporting.
2014-09-26 14:54:57 +08:00
Liu Ming
ca70d67d83
some changes, mostly of them are API changes from opm-autodiff and opm-parser.
2014-09-26 14:06:01 +08:00
Liu Ming
ca6baf7c73
use phase pressure to compute FVF and density.
2014-09-25 15:14:40 +08:00
Liu Ming
12f1342870
use phasePress to compute viscosity, density.
2014-09-25 14:23:21 +08:00
Liu Ming
219f46a406
update compurePressure().
2014-09-25 11:24:59 +08:00
Liu Ming
aa30b4567c
add phaseCondition for new API of class BlackoilAdInterface
2014-09-25 11:16:56 +08:00
Liu Ming
06bed8d945
fix copyright statement.
2014-03-17 10:54:29 +08:00
Liu Ming
84fab85860
Remove opm/autodiff/ files, fix header files.
2014-03-14 14:12:26 +08:00
Liu Ming
979d503b7d
Add license and documentation.
2014-02-25 09:52:10 +08:00
Liu Ming
075e16dc36
add capillary pressure for incom solver.
2014-01-27 16:26:48 +08:00
Liu Ming
c4d567c5e4
add capPress functionality for PEDs, just use phase pressure to compute
...
laplace term, all the properties are computed by reference pressure
which maybe oil pressure in OPM.
2014-01-27 14:48:26 +08:00
Liu Ming
12318fe754
output watercut by using utilities.cpp/computeInjectedProduced function.
2014-01-22 14:17:04 +08:00
Liu Ming
8987a4c1d7
write max concentration to PolymerBlackoilState.
2014-01-21 13:45:02 +08:00
Liu Ming
f762684564
computing adsorption using last time step's value of cmax, fix the
...
bug that the front cells' concentrations is negative.
2014-01-20 16:25:30 +08:00