Arne Morten Kvarving
f9fa1a6a8c
fixed: use correct indices for well state completion data
2016-11-04 16:40:09 +01:00
Atgeirr Flø Rasmussen
4aa14a4dcb
Adapt to changed data::Wells API.
2016-10-25 10:41:16 +02:00
Atgeirr Flø Rasmussen
de1e3327d2
Merge pull request #1075 from jokva/output-data-wells-sans-vectors
...
WIP: Restore from data::Wells without vector dumps
2016-10-21 14:58:10 +02:00
Jørgen Kvalsvik
486223f958
Restore from data::Wells without vector dumps
...
opm-output's data::Wells interface changed to no longer just accept a
dump of opm-core's WellState object. Update WellState to restore itself
from this new interface rather than reading the dumped vectors as-is.
2016-10-20 16:36:47 +02:00
Joakim Hove
8c55e258c7
Header file moved in opm-output.
2016-10-06 14:23:47 +02:00
Atgeirr Flø Rasmussen
2cc3be1629
Forward declare structs as same to avoid warning.
2016-09-23 15:14:36 +02:00
Markus Blatt
2d115888de
Zero initialize wells with no perforations.
...
For these wells access its well_cells might read of the bounds
an array if they are the last wells in the struct. Therefore
we cannnot initialiue first_cell and the well control is uninitialized,
to.
With this commit theses wells are now detected and theor bhp, thp, and well_rates
are initialized to zero.
2016-09-21 12:23:34 +02:00
Anders Matheson
c89b84eeed
Remove unused parameter warning
2016-09-20 10:00:50 +02:00
Anders Matheson
afaa3c5669
Pass PhaseUsage to WellState::report
2016-09-20 09:41:20 +02:00
Jørgen Kvalsvik
254bb2e1e6
Make struct wells unique member of WellState
2016-06-06 12:42:54 +02:00
Jørgen Kvalsvik
ec28c46842
WellState::report() to make opm-output Well data
2016-06-06 12:40:44 +02:00
Robert Kloefkorn
8163137b2c
WellState: move typedefs into public section and include string.
2015-09-16 12:36:05 +02:00
Robert Kloefkorn
50bf1d7e62
WellState: add assertion on wells->name[].
2015-09-16 09:48:43 +02:00
Robert Kloefkorn
14d7ce43a6
WellState: move mapping from well name to well index to here from autodiff's WellStateFullyImplicitBlackoil.
2015-09-16 09:48:43 +02:00
babrodtk
6365579866
Fixed whitespace
2015-08-19 13:20:58 +02:00
Atgeirr Flø Rasmussen
68428ad856
Do thp init() differently.
2015-08-19 13:12:15 +02:00
babrodtk
60a66165f5
Minor fixes
2015-08-19 13:12:14 +02:00
babrodtk
9458fcc498
Fixed several compiler warnings
2015-08-19 13:12:14 +02:00
babrodtk
9d602f0cd0
Update support for VFP tables: Now produces almost identical results to BHP for 'identity' table'
2015-08-19 13:12:14 +02:00
babrodtk
25155aefbb
More integration of VFP tables
2015-08-19 13:12:03 +02:00
babrodtk
92628187b0
Initial integration of VFP
2015-08-19 13:11:41 +02:00
babrodtk
c6311decdc
Fixed warning
2015-08-19 13:10:48 +02:00
babrodtk
ffac75a873
Update support for VFP tables: Now produces almost identical results to BHP for 'identity' table'
2015-08-19 13:10:48 +02:00
babrodtk
83f6b02941
More integration of VFP tables
2015-08-19 13:10:48 +02:00
babrodtk
f320b04c4d
Initial integration of VFP
2015-08-19 13:10:48 +02:00
Atgeirr Flø Rasmussen
e8dc0a7148
Add missing include statement.
2015-06-22 13:04:14 +02:00
Edvin Brudevoll
b4e01187ff
OPM-188: Fixup after review
2015-06-17 09:41:00 +02:00
Tor Harald Sandve
880026e893
Fix comments.
2015-01-09 09:10:10 +01:00
Tor Harald Sandve
82eafbb510
Renaming well is shut to well is stopped.
...
Rename the the meaning for shut as whats used in Eclipse.
STOP: Well stopped off above the formation. I.e. allow for flow in the
well.
SHUT: Well completely isolated from the formation. The well is removed
from the well list.
2015-01-09 09:10:10 +01:00
Andreas Lauser
64107ecc1b
PVT properties: allow them to be temperature dependent
...
Note that this patch does not introduce any real temperature
dependence but only changes the APIs for the viscosity and for the
density related methods. Note that I also don't like the fact that
this requires so many changes to so many files, but with the current
design of the property classes I cannot see a way to avoid this...
2014-12-01 20:06:31 +01:00
Atgeirr Flø Rasmussen
a13f7b990f
Fix logic related to open/shut wells initialisation.
2014-03-14 11:27:20 +01:00
Atgeirr Flø Rasmussen
c0fd117103
Bugfix: || -> &&
2014-03-11 12:54:04 +01:00
Atgeirr Flø Rasmussen
a592a23153
Assert to avoid future surprises.
...
Well types must be either INJECTOR or PRODUCER for now, if
we change this in the future, we should check this part of
the code as well.
2014-03-11 12:51:49 +01:00
Atgeirr Flø Rasmussen
db6a36d1fd
Commented choices in initialisation of well rates.
2014-03-11 12:50:58 +01:00
Atgeirr Flø Rasmussen
c0ddb9707e
Initialize well rates better.
...
Instead of making well rates zero for wells that are not controlled by
surface volume, we initialize them to a small value with the correct
sign (positive for injectors, negative for producers).
2014-03-10 13:30:43 +01:00
Joakim Hove
8be1f0e8d3
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
Joakim Hove
027ffb3c5a
Implemented well_controls based on well_controls_get_xxx() functions.
2014-01-06 14:40:55 +01:00
Joakim Hove
17b800796f
Temporarily added symbol HAVE_WELLCONTROLS before including well_controls.h - to get acces to the internal elements in struct WellControls.
2014-01-05 16:25:31 +01:00
Joakim Hove
0450e1bb77
Extracted everything related to well controls to separate header well_controls.h - to simplify introducing new parser.
2014-01-03 16:04:12 +01:00
Atgeirr Flø Rasmussen
5d457ff708
Ensures well rate initialization actually happens.
...
Do not use the well's comp_frac member, only rely on the control's distr
member for initialization. This forced a change to WellsManager's
initialization of the distr member.
2013-06-02 23:30:43 +02:00
Atgeirr Flø Rasmussen
175cecacda
Bugfix in well rate init.
...
Do not always try to initialize, also initialize proper phase rates.
2013-06-02 22:19:43 +02:00
Atgeirr Flø Rasmussen
ad4c9a47e0
Refined well state initialization.
...
For SURFACE_RATE controlled wells, initialize wellRates() to match.
2013-06-02 21:58:30 +02:00
Atgeirr Flø Rasmussen
c280f2b0dd
Initialize rate-controlled well bhp with safety factor.
...
Safety factor is 1.01 (INJECTOR) or 0.99 (PRODUCER), similar to
mrst's ad-fi/utils/initWellSolLocal.m > initialize().
2013-05-30 11:03:08 +02:00
Atgeirr Flø Rasmussen
8592ca825a
Added wellRates() member.
2013-05-21 23:54:30 +02:00
Atgeirr Flø Rasmussen
c78b7de680
Renamed newwells.h -> wells.h.
...
Also moved implementation file to subdir.
2013-03-18 10:33:34 +01:00
Bård Skaflestad
d0fa32011b
Opm::WellState::init(): Handle shut wells
...
This is a minor bugfix to account for the presence of shut wells
(characterised by "ctrls[w]->current < 0"). The existing code would
lead to indexing outside the "ctrls" array in the context of a shut
well.
2013-01-18 13:23:37 +01:00
Atgeirr Flø Rasmussen
0eb54ca90a
Added perfPress() to WellState.
2012-10-01 16:39:35 +02:00
Atgeirr Flø Rasmussen
fa6b772972
Changed well initialization and property calculation.
...
Bhp is now initialized to bhp target for bhp-controlled wells.
Mobilities and pvt properties are now calculated from
well perforation pressure and injection specifications for
injectors, producers still use cell properties as before.
2012-09-14 09:53:11 +02:00
Atgeirr Flø Rasmussen
63bc18a4cc
Added some documentation.
2012-06-06 13:42:25 +02:00
Atgeirr Flø Rasmussen
611cd53380
Reorganized, added opm/core/wells/ and opm/core/simulator/.
2012-06-05 15:42:49 +02:00