Commit Graph
58 Commits
Author SHA1 Message Date
osae 6267a3f3e5 Support for equil-initialisation for datum depth outside oil zone. 2015-09-21 18:22:11 +02:00
osae 1fdc4c39dc Assure 4 vertices for each face of the grid. 2015-09-11 11:47:27 +02:00
osae 565fa4278e Add some comments and limit to 3 dimensions. 2015-09-10 18:29:02 +02:00
osae 299aa77e18 Cell center depth also from zcorn average.
There is a sligth difference between the cell depth taken from the
centroid (opm) and a straightforward average of corner coordinates
(ecl). For the initialisation of Norne this causes some differences
when deciding cell center positions relative contact depths.
2015-09-10 18:29:02 +02:00
osae f81a4d62a4 Zero-porosity cells and MINPV.
Model 2 partly uses PORO=0.0 to signal inactive cells. This PR
prevents such cells from causing unwanted zcorn modifications in
the current min-pv algoritm. (The problem is however more general as
zero PORO or NTG should kill a cell whether MINPV is active or not,
refer kw ACTNUM.)
2015-08-27 17:49:10 +02:00
osae b3b15188d9 Made hysteresis variant of gwseg consistent ...
... with the base gwseg behaviour.  Added test.
2014-11-05 17:00:11 +01:00
osae 2b865a992e Consistency between scaled and unscaled gwseg.
Modified the endpoint scaled version of SatFuncGwseg and updated
the tests accordingly.
2014-11-05 16:10:05 +01:00
osae 830273db7a Forgot to list the DATA-files ... 2014-11-05 16:10:05 +01:00
osae 18c8927334 Added some tests for the endpoint scaled relperm.
- satfuncStandard: Unscaled curves, using standard version of the
Gwseg model.
- satfuncEPSBase: Unscaled curves, but using the EPS version of
the Gwseg model.  There are some differences between this and the
standard version of Gwseg for derivatives at critical saturations.
The scheme for calculating the derivatives should be discussed.
(Will file a separate issue on this.)
- satfuncEPS_A: Scaled curves.  Scaling parameters specified via
SWL family.
- satfuncEPS_B: Scaled curves.  Scaling parameters identical to _A
but this time specified via the ENPTVD table.  Test currently
suspended due problems with eclipse-state.
- satfuncEPS_C: Scaled curves.  Scaling parameters identical to _A
but this time specified via Norne-like syntax (EQUALS, COPY etc.).
2014-11-05 16:10:05 +01:00
osae 92ee3cd86b Rename eclState to eclipseState. 2014-11-05 16:10:05 +01:00
osae 8f8450f018 Base initialisation of SWL etc on EclipseState ...
Thus allowing an unmodified Norne deck.
2014-11-05 16:10:05 +01:00
osae ba6de11151 Bugfix: Actually use column index ... 2014-11-05 16:10:05 +01:00
osae 877b501659 Cleaning up and preparation for eclipseState. 2014-11-05 16:10:05 +01:00
osae 96823e04a3 Provide eclipse state to saturation property init. 2014-08-22 15:36:07 +02:00
osae 9b30660d1e Correcting the equil test. 2014-08-11 13:19:17 +02:00
osae 80463a2e40 Included inititalisation of surface volumes. 2014-06-26 15:06:47 +02:00
osae 89137e8cd0 Make use of EclipseState for EQLNUM and SWATINIT. 2014-06-26 14:46:57 +02:00
osae e3b06569e9 Adjustments for vanishing oil phase. 2014-06-25 18:03:17 +02:00
osae d3ee5dc20a SWATINIT: Initialisation and capillary pressure scaling. 2014-06-25 18:03:17 +02:00
osae 6e00befef6 Scaling of capillary pressure. 2014-06-25 18:03:17 +02:00
osae f0069c7868 Removing a few bugs ... 2014-05-06 18:15:03 +02:00
osae 57b694f66a Proper interpretation of ENDNUM and IMBNUM fields.
Made consistent with grid discretization.
2014-05-06 14:41:17 +02:00
osae 6cd46c5585 Initialisation of EGLNUM (analogous to e.g SATNUM) 2014-05-06 12:47:24 +02:00
osae 2beb0631b2 Inserted some documentation. 2014-05-05 11:27:10 +02:00
osae c6a83df998 Fix to make EQLNUM consistent with ACTNUM.
This should eventually be integrated in the parser.
2014-05-05 11:23:43 +02:00
osae 7280ce2517 ENDNUM: changed default value and jtab-logic
Default value changed from 'no scaling' to 'use table 1'.
Range of jtab changed to [-1,#tables-1].
2014-05-05 10:33:04 +02:00
osae 61a52eee2e Reset gwseg as the model for endpoint scaling. 2014-05-05 10:33:04 +02:00
osae 7f04384b10 Make use of keywords SATOPTS and EHYSTR. 2014-05-05 10:33:04 +02:00
osae 003b37ad88 Use ENDNUM and prepare for IMBNUM. 2014-05-05 10:33:04 +02:00
osae f7d2468d79 Added missing line (parser conversion). 2014-05-05 10:33:04 +02:00
osae 498555fcdd New parser; proper handling of ENPTVD/ENKRVD. 2014-04-05 10:56:30 +02:00
osae 04d8322fa0 Some additional tests: live gas, RSVD and RVVD 2014-04-03 09:07:00 +02:00
osae 7d8996acbb Equil regions now internally indexed 0..(NTEQUL-1) 2014-03-31 16:16:45 +02:00
osae d0da7a9437 Update tests and provide some eclipse output. 2014-03-31 15:32:06 +02:00
osae d6a2696cbd New parser included. 2014-03-28 17:35:43 +01:00
osae 34f1209b45 Default equil region should be one not zero ...
Otherwise problems when kw EQLNUM is used.
2014-03-28 17:18:50 +01:00
osae 782a5934c9 Fixed Bg versus 1/Bg issue. 2014-03-28 17:14:16 +01:00
osae 14e271f049 Some adjustments to equil initialisation.
- Saturations, phase pressures, and standard initialsation of RS and RV
   now agree to baseline.
 - Tables of RS and RV versus vertical depth (kw RSVD RVVD) have been
   hardcoded for testing (need new parser) and the calculations agree to
   baseline in the gas and oil zones.  In the water zone there is some
   differences: Our code computes saturated RS and RV using the final
   phase pressures (these are modified to be consistent with saturations
   and capillary pressures) while the baseline uses unmodified phase pressures.
2014-03-26 14:53:47 +01:00
osae 5df819d509 Merge branch 'master' of git://github.com/OPM/opm-core
Conflicts:
	CMakeLists_files.cmake
2014-03-26 14:51:06 +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
osae 25b5f23f37 Added SatFuncBase.hpp to CMakeLists_files.cmake 2014-02-05 12:22:50 +01:00
osae a186c0fb9c Removed blanks from strings. 2014-01-31 14:35:35 +01:00
osae f8696edd7b RV is back in business - a second attempt. 2014-01-29 08:56:07 +01:00
osae 841acacf78 RV is back in business. 2014-01-29 08:42:33 +01:00
osae fa470063ca Saturation table scaling and hysteresis.
This commit implements some additional scaling keywords.  This includes
the ISWL-family that provide hysteresis behaviour via alternative
scaling of the tables.  The old parser has been somewhat extended for
testing purposes.  The commit also includes a slight refactoring of the
SatFunc-family where a new base class has been introduced.
2014-01-28 16:36:55 +01:00
osae d1aada8d81 Support for keywords ENPTVD and ENKRVD. 2012-12-17 14:02:30 +01:00
osae cf5eab8794 Loop index. 2012-12-17 13:58:20 +01:00
osae 7510ded183 Fixed loop index and added parameter check. 2012-12-07 14:52:00 +01:00
osae d5edb42b31 Removed tabs. 2012-12-07 14:52:00 +01:00
osae f41b82da3d Scaling of relperm functions - oil/water systems.
opm/core/eclipse/EclipseGridParser.cpp
opm/core/eclipse/EclipseGridParser.hpp
- New keywords: ENDSCALE SCALECRS SWCR SWL SWU SOWCR KRW KRWR KRO KRORW

opm/core/eclipse/SpecialEclipseFields.hpp
- Parsers for ENDSCALE and SCALECRS.

opm/core/fluid/BlackoilPropertiesFromDeck.cpp
- Consistency check: ENDSCALE implemented for SatFuncSimple only.

opm/core/fluid/SatFuncGwseg.hpp
opm/core/fluid/SatFuncSimple.hpp
opm/core/fluid/SatFuncStone2.hpp
- Accomodate "default" values for scalable parameters.
- For SatFuncGwseg and SatFuncStone2 the associated functionality not
  yet supported and the variables are dummies to satisfy the compiler.

opm/core/fluid/SatFuncSimple.cpp
- Initialisation for scalable parameters.
- Evaluation of relperms: Use (1-so) for evaluation of oil-relperms.
  (For scaled arguments sw and so do not necessarily add to one.)
- TODO: SatFuncGwseg.cpp and SatFuncStone2.cpp for oil-water systems.

opm/core/fluid/SaturationPropsFromDeck.hpp
- Struct to accomodate cell-wise scaling factors.
- Two flags indicating scaling and method.
- Methods for parameter initialisation and scaled relperm computation.

opm/core/fluid/SaturationPropsFromDeck_impl.hpp
- Initialize scaling options and relevant cell-wise scaling factors.
- Relperm evaluation modified for possible end point scaling.
2012-12-07 14:52:00 +01:00
Ove Saevareid d26a9ee4c8 Bugfix: want non-negative cell index 2012-04-24 12:51:24 +02:00
Ove Saevareid cd5cf1d348 Bugfix: face_cells, not cell_faces 2012-04-23 14:00:31 +02:00
Ove Saevareid c7950ff341 Correcting (hopefully:)) compressibility computations. 2011-02-11 11:32:52 +01:00
Ove Saevareid 405900ac39 Bugfix: Correct number of connections also for the last well. 2011-02-07 17:52:32 +01:00
Ove Saevareid 5c358c2de4 MiscibilityLiveOil: Additional undersaturated table entries and a few fixes. 2011-01-25 11:52:50 +01:00
Ove Saevareid 419faa324f BugReport: MiscibilityLiveOil::miscible_oil, several issues here ... 2011-01-18 14:33:55 +01:00
Ove Saevareid f7dc641f4f Bugfix 2011-01-14 17:15:04 +01:00
Ove Saevareid 65a6604112 Oil relperm: krocw_ evaluated at connate water, krow at sw. 2010-11-22 13:07:24 +01:00