Atgeirr Flø Rasmussen
6a61b90524
Add initStateEquil() function.
...
It is not quite complete yet for the following reasons:
- it does not compute state.surfacevol(),
- the InitialStateComputer class does not compute Rs or Rv,
- it has not been verified.
2014-02-27 10:40:14 +01:00
Atgeirr Flø Rasmussen
e1feaf9345
Added Rv field to InitialStateComputer.
...
It is currently not computed, as for Rs.
2014-02-27 10:39:18 +01:00
Atgeirr Flø Rasmussen
818d79adc7
Moved implementation of phaseSaturations() to _impl file.
2014-02-27 09:37:48 +01:00
Atgeirr Flø Rasmussen
c9c34f63a3
Refactor copying of region to global data.
2014-02-27 09:31:48 +01:00
Atgeirr Flø Rasmussen
036ab95da2
Rename PhasePressureSaturationComputer -> InitialStateComputer.
...
Also add (unused so far) rs_ field to class.
2014-02-27 09:08:39 +01:00
Atgeirr Flø Rasmussen
283dc96776
Added size() method to CellRange inner class.
2014-02-27 08:58:38 +01:00
Atgeirr Flø Rasmussen
7cc0802f3e
Add test for live oil initialisation.
...
The test is not finished or verified yet.
2014-02-27 08:31:51 +01:00
Atgeirr Flø Rasmussen
5a00d85467
Enable live oil in initialisation.
2014-02-27 08:31:03 +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
Atgeirr Flø Rasmussen
db06c2eb80
Removed redundant calcPressII() method.
...
Pressure is also calculated in the calcPressSat() method.
2014-02-26 14:49:06 +01:00
Atgeirr Flø Rasmussen
8ef54b7c64
Made phase mixing functors a class hierarchy.
...
In summary:
- added RsFunction (base class),
- made NoMixing, RsVD, RsSatAtContact inherit RsFunction,
- RS and RV are no longer template arguments for EquilReg class,
- EquilReg constructor now takes two shared_ptr<Miscibility::RsFunction>,
- use of constructor updated, mostly using make_shared.
2014-02-26 14:47:24 +01:00
Atgeirr Flø Rasmussen
75ca41805e
Made NoMixing a class.
...
For uniformity with its sibling classes.
2014-02-26 14:16:51 +01:00
Joakim Hove
5a6883c71b
Merge pull request #500 from flikka/add-WGRUPCON
...
Add handling of WGRUPCON to new-parser friendly WellsManager constructor
2014-02-26 12:28:41 +01:00
Markus Blatt
fa5060c6c8
Refactored EclipseWriter to make it possible to support CpGrid.
2014-02-26 10:53:31 +01:00
Markus Blatt
5199f784d7
Added new implementation header to list of header files.
2014-02-25 17:54:21 +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
Atgeirr Flø Rasmussen
c80ffbefbb
Prune includes.
2014-02-24 16:11:50 +01:00
Atgeirr Flø Rasmussen
4a8c0dd955
Moved equilibration utilities to separate file.
2014-02-24 16:09:04 +01:00
Atgeirr Flø Rasmussen
14276f9175
Capitalize nested namespace names.
...
equil -> Equil
miscibility -> Miscibility
2014-02-24 15:55:14 +01:00
Kristian Flikka
7e29a9ea45
Add handling of WGRUPCON to new-parser friendly WellsManager constructor
2014-02-24 15:24:33 +01:00
Atgeirr Flø Rasmussen
34595ae225
Move RegionMapping class to its own header, add test.
...
Class now resides in opm/core/utility/RegionMapping.hpp.
2014-02-24 15:19:04 +01:00
Atgeirr Flø Rasmussen
2caf790c29
Added class RsSatAtContact (not tested).
2014-02-24 13:47:03 +01:00
Atgeirr Flø Rasmussen
2b8deb20fd
Add test case with overlapping transitions.
...
Capillary pressure functions and contact depths
have been modified to ensure a large overlap.
2014-02-21 14:50:45 +01:00
Atgeirr Flø Rasmussen
f9195b8243
Fix bug in saturation initialisation.
...
We shall only use gas-water capillary to initialise when we would get
unphysical saturations otherwise.
2014-02-21 14:47:14 +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
Bård Skaflestad
2a2d6264ed
Merge pull request #497 from atgeirr/no-spline-default
...
Make linear interpolation default for saturation and some pvt properties.
2014-02-21 11:16:29 +01:00
Atgeirr Flø Rasmussen
2fefe256a4
Merge branch 'no-spline-default' into initialisation.
...
Necessary since test case behaviour depends on changes in
BlackoilPropertiesFromDeck class.
2014-02-21 11:01:44 +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
Atgeirr Flø Rasmussen
c7af2aa8ca
Add test case with capillary transition region.
2014-02-21 08:55:15 +01:00
Atgeirr Flø Rasmussen
e6d21e31d3
Add saturation computation to and rename computer class.
...
Opm::equil::DeckDependent::PhasePressureComputer ->
Opm::equil::DeckDependent::PhasePressureSaturationComputer
2014-02-21 08:52:25 +01:00
Atgeirr Flø Rasmussen
5e1ad40afd
Add test case for capillary inversion.
2014-02-21 08:32:15 +01:00
Atgeirr Flø Rasmussen
4408ea669b
Add another test deck for initialisation.
...
This deck includes capillary functions.
2014-02-20 15:39:15 +01:00
Atgeirr Flø Rasmussen
c4b3bcae41
Fix bugs in saturation initialisation and helpers.
2014-02-20 15:24:27 +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
Atgeirr Flø Rasmussen
71245ded79
Add saturation init facilities.
...
This adds the function phaseSaturations() and some helpers:
satFromPc() and satFromSumOfPcs().
2014-02-19 13:42:07 +01:00
Atgeirr Flø Rasmussen
e81aa92c03
Complete pressure test for dead-oil deck.
2014-02-19 13:41:20 +01:00
Atgeirr Flø Rasmussen
f6f4a1a0da
Modify test data.
2014-02-19 13:40:02 +01:00