Liu Ming
5fff1d25dc
Read keyword PLYSHEAR.
2014-03-14 15:34:38 +08: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
Kristian Flikka
5cc903bbe0
Initializing do_hyst_ to false, this caused random segfaults in sim_fibo_ad
2014-02-06 21:17:36 +01:00
Atgeirr Flø Rasmussen
45b080b5be
Merge pull request #489 from atgeirr/fix-more-warnings
...
Fix more warnings found by clang
2014-02-05 18:26:57 +01:00
Atgeirr Flø Rasmussen
91c1131aff
Merge pull request #487 from atgeirr/fix-warnings
...
Fix some warnings
2014-02-05 18:26:43 +01:00
Atgeirr Flø Rasmussen
d2e1eb8d02
Merge pull request #485 from atgeirr/fix-initial-call-eclipsewriter
...
Fix SimulatorTimer-related bug in EclipseWriter.
2014-02-05 18:25:29 +01:00
Atgeirr Flø Rasmussen
a9bcbd64db
Fix unused argument warning and wrong behaviour.
...
The class WarnAndContinueOnError should write warnings irrespective
of the status of the OPM_VERBOSE symbol.
2014-02-05 15:07:17 +01:00
Atgeirr Flø Rasmussen
9396d8b3ed
Fix unused argument warnings.
2014-02-05 15:04:56 +01:00
Atgeirr Flø Rasmussen
2250d7bb95
Suppressed some unused parameter warnings.
2014-02-05 14:46:22 +01:00
Atgeirr Flø Rasmussen
8ad4dd172f
Moved explicit template instantiation inside namespace.
...
Clang requires this to happen inside the namespace of the class
(which is in the anonymous namespace) and issues an error diagnostic.
2014-02-05 14:44:58 +01:00
Atgeirr Flø Rasmussen
543230c8cf
Suppress warnings in unimplemented functions.
...
This prevents warnings from functions that are right now just
a throw statement. Also cleaned up a few whitespace issues nearby.
2014-02-05 14:27:51 +01:00
Atgeirr Flø Rasmussen
708f9a2fa3
Fix initialisation warning.
2014-02-05 13:05:33 +01:00
Atgeirr Flø Rasmussen
a2b7f0a4e4
Fix SimulatorTimer-related bug in EclipseWriter.
...
Since writeTimeStep() now gets called also before the first timestep is done,
the EclipseWellTotal::update() method was in error, always calling
SimulatorTimer::stepLengthTaken(). That method cannot be called if the
timer's currentStepNum() is 0, so that is checked for and intercepted.
The total rate in that case is of course zero.
2014-02-05 11:28:40 +01:00
Bård Skaflestad
1513712e6b
Merge pull request #481 from atgeirr/fix-summary-output
...
Fix summary output, now contains output for all steps.
2014-01-31 11:49:58 -08:00
Atgeirr Flø Rasmussen
5ea54d7a4a
Merge pull request #478 from osae/endscale
...
Saturation table scaling and hysteresis.
2014-01-31 05:48:56 -08:00
osae
a186c0fb9c
Removed blanks from strings.
2014-01-31 14:35:35 +01:00
Atgeirr Flø Rasmussen
f1ae040aef
Removed erroneous comment.
2014-01-31 14:07:30 +01:00
Atgeirr Flø Rasmussen
9f253eb9ae
Add summary output of bottom hole pressures.
2014-01-30 14:18:09 +01:00
Atgeirr Flø Rasmussen
445800f738
Fix summary output, now contains output for all steps.
...
Previously, the summary output was rewritten for each step,
leaving only the last step's data in the summary data file.
2014-01-30 11:36:31 +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
Atgeirr Flø Rasmussen
ad899fcc10
Now checks for missing TOPS or DEPTHZ in DXV etc. initialization.
2014-01-24 13:55:16 +01:00
Atgeirr Flø Rasmussen
e4e4968d90
Merge pull request #462 from totto82/wetgas
...
Added pvt functionality for wetgas
2014-01-24 04:36:51 -08:00
Tor Harald Sandve
06fbc93fef
Fixing comments
...
The comment now currently say 1/Bg
2014-01-24 10:14:33 +01:00
Arne Morten Kvarving
60d4a02c0b
fix some openmp pragma's
2014-01-21 14:33:14 +01:00
Atgeirr Flø Rasmussen
48f3161a3c
Portability fix: 'uint' is nonstandard.
2014-01-15 12:25:50 +01:00
Tor Harald Sandve
829de25a5a
Phase pressure is used for surface volumes calculations
2014-01-10 16:07:02 +01:00
Tor Harald Sandve
292b74e189
Change the extrapolation in the livegas pvts
...
The special extrapolation for pressure values above
the maximum table value is removed to sync with Mrst
2014-01-10 16:07:02 +01:00
Tor Harald Sandve
ed9e4e376a
Initialization using the RV keyword
...
The initial Rv value is specified using the RV keyword in the Parser.
The Rv values are used in the computation of the initial surface
volumes.
2014-01-10 16:07:02 +01:00
Tor Harald Sandve
598c7a0cb8
Added pvt functionality for wetgas
...
The pvt interface is extended to handle wet-gas systems:
1. rvSat is added as a function in the PVT interface
2. SinglePvtLiveGas computes the pvt values and its derivatives
3. The old rbub variable is changed to rsSat for clearity
4. The new interface is tested in test_blackoilfluid with data from
liveoil.DATA and wetgas.DATA
2014-01-10 16:07:02 +01:00
Joakim Hove
43faea6678
Comparing well names protects againts NULL.
2014-01-08 16:10:43 +01:00
Joakim Hove
dee5c880ea
Removed commented out code.
2014-01-08 15:58:11 +01:00
Joakim Hove
c3b4a95d82
Removed access to internal variabel cpty.
2014-01-08 11:32:00 +01:00
Joakim Hove
28658347db
Using && instead of &= in the functions comparing wells and well_controls.
2014-01-06 19:22:39 +01:00
Joakim Hove
6725740f71
Removed explicit (struct WellControls *) cast to align with the rest of the code.
2014-01-06 19:09:36 +01:00
Joakim Hove
86c9acad5b
Removed temoporary file opm/core/well_control_type.h.
2014-01-06 19:09:01 +01:00
Joakim Hove
38b635a97f
Moved struct WellControls to the implementation file well_controls.c.
2014-01-06 15:13:32 +01:00
Joakim Hove
23b91c5466
Implemented well_controls based on well_controls_get_xxx() functions.
2014-01-06 15:02:19 +01:00
Joakim Hove
57a0ed6d98
Implemented well_controls based on well_controls_get_xxx() functions.
2014-01-06 14:59:11 +01:00
Joakim Hove
dc1935cc77
Implemented well_controls based on well_controls_get_xxx() functions.
2014-01-06 14:51:11 +01:00
Joakim Hove
bb2604a39b
Implemented well_controls based on well_controls_get_xxx() functions.
2014-01-06 14:40:55 +01:00
Joakim Hove
b346845903
Added functions to get type, target and distr of *current* control.
2014-01-06 14:40:03 +01:00
Joakim Hove
a19881f5f4
Implemented well_controls based on well_controls_iset_xxx() functions.
2014-01-06 14:19:09 +01:00
Joakim Hove
57226cde9e
Implemented well_control based on well_controls_iset_xxx() functions.
2014-01-06 12:40:03 +01:00
Joakim Hove
4cfa151e25
Implemented well_controls_add_new() with well_controls_iset_xxx() functions.
2014-01-06 12:24:32 +01:00
Joakim Hove
58ba8f45eb
Added new function well_controls_iset_distr().
2014-01-06 12:22:15 +01:00
Joakim Hove
ad73015cb9
Using new function well_controls_invert_current().
2014-01-06 12:08:29 +01:00
Joakim Hove
fdf7bdba85
Added new functions to set target and type and invert value of current control.
2014-01-06 12:06:36 +01:00
Joakim Hove
1462952511
Using well_controls_get_num() and well_controls_get|set_current() in WellsManager
2014-01-06 10:12:11 +01:00