Markus Blatt
eeb0039683
Merge branch 'refactor-for-cpgrid-support' into master-refactor-for-cpgrid-support
...
Manually resolved conflicts in:
opm/core/props/BlackoilPropertiesFromDeck.cpp
opm/core/wells/WellsManager.cpp
2014-03-13 13:41:45 +01:00
Kari B. Skjerve
c34d7a40fc
Added support of SWCR and SOWCR in CornerpointChopper
2014-03-11 14:51:23 +01:00
Bård Skaflestad
e2d5aafb56
Merge pull request #506 from atgeirr/suppress-warnings
...
Suppress warnings
2014-03-06 11:37:17 +01:00
Atgeirr Flø Rasmussen
9edbe36b58
Remove extra semicolon.
2014-03-06 08:24:00 +01:00
Atgeirr Flø Rasmussen
ec22c9b491
Remove warning pragmas.
...
They are only available on gcc 4.6 and newer, and clang.
2014-03-05 08:41:53 +01:00
Joakim Hove
ae4738f5e7
Changed open / close behaviour of well_controls: 1) well_controls has an explicit open_close flag. 2) Will NOT flip current value to change open|close status
2014-03-04 20:23:19 +01:00
Atgeirr Flø Rasmussen
f35c193b38
Suppress unused argument warnings.
2014-03-04 11:32:32 +01:00
Atgeirr Flø Rasmussen
97328b5a17
Suppress warnings from included istl code.
...
This is done using #pragma GCC and works also in clang.
2014-03-04 11:31:16 +01:00
Atgeirr Flø Rasmussen
73926a1b21
Merge pull request #495 from osae/endscale
...
Endpoint scaling and hysteresis for gwseg.
2014-03-04 10:29:50 +01:00
Atgeirr Flø Rasmussen
0eb32276fb
Allow direct interpolation of props with new parser.
...
After transitioning to use the new parser, the SinglePvtDead class was never
used even when the 'samples' argument used to control usage was zero or negative.
The resulting construction of SinglePvtDeadSpline objects was then failing.
This change adds a new constructor to SinglePvtDead, and restores the ability
to control spline usage with the samples argument.
2014-03-03 09:17:11 +01:00
Andreas Lauser
20e21b7892
SimulatorTimer: make it possible to base it on opm-parser's TimeMap
...
Since SimulatorTimer is a fairly shallow shim if using the TimeMap, it
can also be removed relatively easily. Having said this, that would
trigger _many_ changes in _a lot_ of places and I'm not motivated at
all to fight that battle as long as the old parser needs to be
supported. I thus decided that the best way is to add a "wrapper mode"
to SimulationTimer...
2014-02-27 12:56:23 +01:00
Markus Blatt
baa0261132
[bugfix] Take normalized face normals into account when calculating tpfa.
...
At least for Cpgrid the face normal is normalized which has to be taken into
account in tpfa_htrans_compute.
We therefore multiply the facenormal with the face area in cases (read Cpgrid)
where this needed.
2014-02-27 12:28:22 +01:00
Joakim Hove
77bf601d6b
Merge remote-tracking branch 'upstream/master' into opm-parser-integrate
2014-02-26 23:16:10 +01:00
Markus Blatt
45edfc8848
[bugfix] Fixed imcrementing the cell centroid.
...
Imcrementation should be done at the end of the loop body as otherwise
the first cell is skipped and we are out of bounds for the last iteration.
This patch move the increment to the correct location.
2014-02-26 16:01:32 +01:00
Markus Blatt
9cd515cb91
[bugfix] Fixed error in initialization of cartdims during non-UG constructor.
2014-02-26 16:00:58 +01:00
Markus Blatt
fa5060c6c8
Refactored EclipseWriter to make it possible to support CpGrid.
2014-02-26 10:53:31 +01:00
Markus Blatt
7e57971140
Refactored WellsManager to partial use without UnstructuredGrid.
2014-02-25 17:52:51 +01:00
Markus Blatt
38ab6e7f78
Remove ambiguous functions increment and getCoordinate from unnamed namespace in favor to those from namespace UgGridHelpers
2014-02-25 15:45:50 +01:00
Markus Blatt
921c452e5c
Added suport for grid apart from UG for BlackoilPropertiesFromDeck
2014-02-25 15:45:15 +01:00
Markus Blatt
c82ed437ce
Added support for computePoreVolume for grids apart from UnstructuredGrid.
2014-02-25 15:12:16 +01:00
Markus Blatt
3d4cc78e72
Added missing namespace qualifiers.
2014-02-25 15:10:46 +01:00
Markus Blatt
9d6e424eb5
Fixed unused parameter warning in initBlackoilStateFromDeck.
2014-02-25 15:10:18 +01:00
Markus Blatt
02847f06c1
Made trans_tpfa usable with grids apart from UnstructuredGrid.
2014-02-25 15:05:30 +01:00
Markus Blatt
aafe9147eb
Added documentation for FaceCellTraits
2014-02-25 15:03:01 +01:00
Markus Blatt
b0ac1572e1
Added traits classes for the type of cell and face centroids.
2014-02-25 15:01:22 +01:00
Markus Blatt
a0253e8e0f
Added method to access face normals.
2014-02-25 14:59:53 +01:00
Kristian Flikka
7e29a9ea45
Add handling of WGRUPCON to new-parser friendly WellsManager constructor
2014-02-24 15:24:33 +01:00
Markus Blatt
842667eab2
Added free method to get the sum of the the faces that are attached to every cell.
2014-02-21 11:50:36 +01:00
Atgeirr Flø Rasmussen
a953ba8659
Make linear interpolation default for saturation properties.
...
This includes relative permeability and capillary pressure functions.
The default has been to make a monotone spline from the given table
values and use a fine, uniform sampling of that. Now the default
is to use the tables as-is. It is still possible to use the spline
approach. For example in the class BlackoilPropertiesFromDeck one
may pass nonzero values for the 'pvt_tab_size' and 'sat_tab_size'
parameters, corresponding to how fine the spline will be sampled.
2014-02-21 09:54:47 +01:00
Markus Blatt
e5b1feb2d5
Assume begin_cell_centroid to what the name tells us: an iterator over then centroids.
...
Therfore we do not need to call center() in getCoordinate. This is done in the iterator
class returned from CpGrid.
2014-02-20 10:45:08 +01:00
Markus Blatt
b164f4ba95
Fix doxygen documentation.
2014-02-20 10:44:43 +01:00
Markus Blatt
3aad1a6cc5
Merge remote-tracking branch 'origin/opm-parser-integrate' into refactor-for-cpgrid-support
...
Resolved Conflicts:
opm/core/props/BlackoilPropertiesFromDeck.cpp
opm/core/props/rock/RockFromDeck.hpp
opm/core/props/satfunc/SaturationPropsFromDeck.hpp
opm/core/props/satfunc/SaturationPropsFromDeck_impl.hpp
2014-02-19 15:22:18 +01:00
osae
dbe6d2911d
Endpoint scaling and hysteresis for gwseg.
...
Activation of eps and hysteresis treatment for gwseg. Also some
additional initialization.
2014-02-18 13:49:35 +01:00
Markus Blatt
8da99e11c5
Refactored parts needed for Blackoil in autodiff to get rid of UG dependency.
...
This patch refactors (hopefully) all parts of opm-core that are needed
by the fully implicite black oil solver in opm-autodiff and that inherently
relied on UnstructuredGrid.
We added a new simple grid interface consisting out of free functions
that will allow us to use CpGrid without copying it to an UnstructuredGrid
by the means of the GridAdapter. Using this interface we have add methods that
allow specifying the grid information (global_cell, cartdims, etc.) wherever
possible to prevent introducing grid parameters for the type of the grid.
Unfortunately this was not possible everywhere.
2014-02-17 13:23:01 +01:00
Kristian Flikka
8eaea50e17
Removed old EclipseGridParser from WellsManager constructor, WGROUPCON still missing
2014-02-14 15:36:32 +01:00
Joakim Hove
f13b7ffc40
Merge pull request #493 from flikka/wellsmanager-group-refactor
...
Adding support for creation of groups from "new style" Wells and Groups (new parser)
2014-02-14 13:54:24 +01:00
Kristian Flikka
a5144288a3
Removed the previously introduced getAndUnRootChild method
2014-02-14 13:46:54 +01:00
Kristian Flikka
9b6430f907
Added building of WellsCollection group structure from new opm-parser objects
2014-02-14 13:43:25 +01:00
Kristian Flikka
501467a1e3
Added an else to avoid unnecessary checking.
2014-02-14 09:01:21 +01:00
Kristian Flikka
15a7255f30
Changed the WellCollection addChild functions to be more specific, and strict
2014-02-13 16:00:39 +01:00
Kristian Flikka
663eb5a56d
Extracted common functionality from the three create functions
2014-02-12 15:45:06 +01:00
Kristian Flikka
36348a8f8a
Create WellsGroupInterface from opm-parser Well/Group objects
2014-02-12 15:39:57 +01:00
Andreas Lauser
3163865b2e
add back a newline which went MIA
...
this confused the heck out of us during review. thanks to @bska for
stumbling over it...
2014-02-12 15:06:46 +01:00
Andreas Lauser
0addefc311
add variants of all methods which take a deck of the new parser to the BlackOilPropertiesFromDeck
2014-02-12 15:06:46 +01:00
Joakim Hove
4c16af4ab8
Merge pull request #467 from andlaus/parser-integrate_rock_properties
...
add variants of all methods which take a deck of the new parser to the rock properties
2014-02-11 18:13:07 +01:00
Joakim Hove
5f8f8b6a66
Merge pull request #468 from andlaus/parser-integrate_pvt_properties
...
add variants of all methods which take a deck of the new parser to the PVT properties
2014-02-11 18:11:24 +01:00
Kristian Flikka
6a1183dc33
Added support for creation of WellsGroup objects from new parser Well and Group objects
2014-02-11 14:12:36 +01:00
Andreas Lauser
88541d8762
make the saturation functions work with opm-parser
2014-02-10 14:50:37 +01:00
Andreas Lauser
7f9e689547
more typos
...
thanks to @bska
2014-02-10 14:49:58 +01:00
Andreas Lauser
927530a26a
handle the ROCK keywords using the new opm-parser utility class
2014-02-10 14:49:58 +01:00