Kai Bao
d38a6eb459
adapting the change of the function findWellNode().
2016-11-16 14:28:35 +01:00
Kai Bao
f85da3768e
cleaning up and updating MultisegmentWells
2016-11-16 13:27:30 +01:00
Kai Bao
002439c5b1
WIP in testing new group update strtegy.
...
results with min_iter=2 works okay, while not min_iter=1.
It means the iteration stop at the wrong situation.
2016-11-16 13:26:28 +01:00
Kai Bao
a5aaf9b802
easier way to update whether the well under group control
...
potentially can be more consistent way.
It does not change the result.
2016-11-16 13:25:35 +01:00
Kai Bao
8a1e1e010a
using findWellNode() to avoid dynamic_casting
...
form WellGroupInterface* to WellNode*.
2016-11-16 13:25:35 +01:00
Kai Bao
0f3e34bb25
cleaning up some comments.
2016-11-16 13:25:35 +01:00
Kai Bao
e65d24aa16
removing outdated log ouptut code about control switching
...
Which results from the rebasing process.
2016-11-16 13:25:35 +01:00
Kai Bao
e13cf827b5
applying the efficiency factors to the multi-segment wells.
2016-11-16 13:25:35 +01:00
Kai Bao
623ef3850e
applying the efficiency factor to flow
2016-11-16 13:25:35 +01:00
Kai Bao
aca587b76b
calculate efficiency factor in StandardWells
...
which will be used to scale the perforation flow rate when entering the
matrial balance equations.
2016-11-16 13:25:35 +01:00
Kai Bao
ac67a10316
removing one updateWellControls from solveWellEq
...
not recalling why adding it in the first place.
And correcting some comments for clarification.
2016-11-16 13:25:35 +01:00
Kai Bao
0df52603d7
fixing the interface of wellModel constructors
...
to make all the simulators compile.
2016-11-16 13:25:35 +01:00
Kai Bao
26b16c1050
cleaning up the output and adding more comments.
2016-11-16 13:25:11 +01:00
Kai Bao
d992161b82
output cleaning up and add more comment.
2016-11-16 13:24:39 +01:00
Kai Bao
e323f15d2f
putting more things in the prototyping test.
2016-11-16 13:23:55 +01:00
Kai Bao
e0dd9bfabd
keeping putting group control in.
2016-11-16 13:22:52 +01:00
Kai Bao
f62d40fc05
adding a pointer to the well_collection of WellsManger
...
might change to reference later. Using pointer now is trying to keep the
WellModel constant.
2016-11-16 13:22:52 +01:00
Jørgen Kvalsvik
1c6a4b34da
Update to shared_ptr-less parser interface.
2016-10-20 14:08:04 +02:00
Markus Blatt
828f118801
Do not store collective communication in the wells object.
...
Instead of this we rely on the default constructor of
WellSwitchingLogger. This finally fixes the compile
issues with DUNE 2.3.
2016-10-07 10:46:54 +02:00
Markus Blatt
07318edfa1
Added a parallel aware logger for switching wells.
...
It will collect all the switches. Afterwards they are collect on
the root process and logged there.
This commit includes a small test program.
2016-10-05 10:33:15 +02:00
Kai Bao
399298be21
using mapentry_t instead of iterator.
2016-07-05 15:28:02 +02:00
Kai Bao
a8c2626e5a
fixing comments.
...
no functional change.
2016-07-05 13:02:28 +02:00
Kai Bao
4dad47f90d
adding warning tags to all the WECON related warnings.
2016-07-05 13:02:28 +02:00
Kai Bao
ddec62288a
fixing the warning messages.
2016-07-05 13:02:28 +02:00
Kai Bao
8e52e71993
changing shutted to shut.
2016-07-05 13:02:28 +02:00
Kai Bao
cc957a77fe
some well will go to stopped list and infomation output.
2016-07-05 13:02:27 +02:00
Kai Bao
e817719d48
When last connection is closed, the well is shut done.
2016-07-05 13:02:27 +02:00
Kai Bao
109b55f61c
using OpmLog to give warning.
2016-07-05 13:02:27 +02:00
Kai Bao
41b9fca434
implementing checkRatioEconLimits
2016-07-05 13:02:27 +02:00
Kai Bao
9220a2bbaf
refactoring updateListEconLimited based on new functions.
2016-07-05 13:02:27 +02:00
Kai Bao
dd59762c0b
adding checkMaxWaterCutLimit to StandardWells.
2016-07-05 13:02:27 +02:00
Kai Bao
c77aa5af09
adding checkRateEconLimited to StandardWells
...
to check rate related to economic limits.
2016-07-05 13:02:27 +02:00
Kai Bao
d48399ac3a
WIP for handling the water cut ecnomic limit
2016-07-05 13:02:27 +02:00
Kai Bao
a019460268
warning if requesting opening a new well after closing a well
...
it is not supported yet.
2016-07-05 13:02:27 +02:00
Kai Bao
e903690107
giving a warning if the WECON request ending running
...
It is not supported yet to stop the whole program after a well is closed
due to economic limits.
2016-07-05 13:02:27 +02:00
Kai Bao
53490270e1
adding updateListEconLimited to StandardWells
2016-07-05 13:02:27 +02:00
Atgeirr Flø Rasmussen
5e18aab106
Merge pull request #744 from blattms/fix-wells-for-null-pointers
...
Fix wells for null pointers
2016-06-27 16:24:01 +02:00
Atgeirr Flø Rasmussen
bcf210c03e
Merge pull request #711 from blattms/print-all-well-switching-in-parallel
...
Print all well switching in parallel.
2016-06-27 16:22:02 +02:00
Markus Blatt
90132a3bc5
Removed trailing underscore for local variable.
2016-06-27 14:40:14 +02:00
Markus Blatt
a1832f2e5e
Make numWellVars work for null well pointers.
2016-06-27 13:06:16 +02:00
Markus Blatt
f04eec04ba
Set wellsActive to false for null well pointers.
2016-06-27 13:05:37 +02:00
Markus Blatt
c20620534a
Allow access to wells pointer for wells.
...
Using &stdwells.wells() throws an assertion for null pointers
without -DNDEBUG, but was used nevertheless. That prevented running
models without wells.
2016-06-27 13:03:30 +02:00
Markus Blatt
9a7b77af9c
Do not store number of phases in StandardWells.
...
The wells pointer might be null and we need to access its number of
phases in the constructor to store it. With this commit we prevent that
storage and simply ask the well struct whenever we need the number of
phases. Of course the code using it needs to check that there are wells
but that is done in most parts of the opm-simulators currently
(MultiSegmentWells and Solvent are/might be an exception).
2016-06-27 12:14:17 +02:00
Atgeirr Flø Rasmussen
ba9e599ec7
Use 'Vector' in place of 'V'.
2016-06-20 14:08:00 +02:00
Atgeirr Flø Rasmussen
9c0ffee8e9
Changes to well model for supporting sequential approach.
...
The changes are:
- Make the WellOps struct public (needed by transport solver).
- Make it possible to store and retrieve total reservoir volume
perforation fluxes with getStoredWellPerforationFluxes(), controlled
by a flag set by setStoreWellPerforationFluxesFlag(), defaulting to
false (needed by pressure solver).
2016-06-20 11:02:49 +02:00
Markus Blatt
d170bbb109
Print all well switching in parallel.
...
As for each well only one process is responsible, the output process
does not see all wells. Ergo some well switching information was never
printed in a parallel run.
Therefore with this commit the well switching
message is printed regardless on which process it appears.
2016-06-07 16:56:37 +00:00
Atgeirr Flø Rasmussen
cf5dbf292a
Log well control switching message.
...
Instead of writing to std::cout.
2016-05-30 10:26:20 +02:00
Kai Bao
879f127ae8
moving variableStateExtractWellsVars() from models to Well Models.
2016-05-23 15:11:52 +02:00
Kai Bao
846ff890de
refactoring the interface of computeWellPotentials()
...
to reduce the cost of makeConstantState when not calculating the
potentials.
2016-05-23 15:11:52 +02:00
Kai Bao
19a256dce0
some pure cleaning up.
2016-05-23 15:11:52 +02:00