Commit Graph

22 Commits

Author SHA1 Message Date
Andreas Lauser
b974549f05 re-add the emacs and vim modelines to all source files
this makes things easier and IMHO these two lines do not cause any
disturbance.
2015-06-18 13:43:59 +02:00
Andreas Lauser
aab270e5b5 ebos: get rid of some Dune 2.4 deprecation warnings
they haven't been noticed yet because CpGrid does not feature them.
2015-06-14 21:35:02 +02:00
Andreas Lauser
2428ff41ae make ebos AD aware 2015-05-21 16:18:45 +02:00
Andreas Lauser
eba7e06bed use the infrastructural code using its new locations 2015-04-28 13:38:28 +02:00
Andreas Lauser
12dc2c6447 ebos: fix the restart mechanism 2015-04-08 14:25:23 +02:00
Andreas Lauser
7a729e73ac ECL peaceman well: replace std::unordered_map by std::map
say 99.95% of all time: premature optimization is the root of all
evil.

in this case it turned out that iterating over a std::unordered_map is
very slow and that this is a quite common operation in
ebos. Fortunately the fix for this problem is very simple: use the
tree-based std::map instead of the hash function based
std::unordered_map.

on SPE9 this yielded a performance improvement of about 10% on my
machine...
2015-02-12 12:26:03 +01:00
Andreas Lauser
a320dd0fa7 adapt to the new PVT API of the black oil fluid system 2015-02-05 16:14:07 +01:00
Andreas Lauser
a4f1aa95cc ebos/black oil model: make the restart work
only the restart from ERS files, using ECL restart files (i.e.,
*.UNRST) is still unsupported (but should not be much work).
2015-01-21 15:56:08 +01:00
Andreas Lauser
c4f169e01e ECL peaceman well: use the grid to get an initial estimate of the BHP
more concretely, we now use the pressure of an arbitrary phase of an
arbitrary DOF contained in the well.
2015-01-21 15:56:08 +01:00
Andreas Lauser
0baa3f23a7 ECL peaceman well: reduce the epsilon value used to calculate the bottom hole pressure 2015-01-21 15:56:08 +01:00
Andreas Lauser
85af98dd95 ECL peaceman well: also use the replacement DOF variables to convert reservoir to surface rates 2015-01-21 15:56:08 +01:00
Andreas Lauser
e7a80216e8 ECL peaceman well: fix sign error in gravity correction 2015-01-21 15:56:08 +01:00
Andreas Lauser
1233e12e76 ECL peaceman well: use the reservoir cell's phase density for injected fluids
(instead of calculating it from the hole pressure. this seems "less
correct" but the way Eclipse does things...)
2015-01-21 15:56:08 +01:00
Andreas Lauser
a9e40ce36a ECL peaceman well: retrieve the gravity constant from the problem
this makes things consistent if gravity is disabled...
2015-01-21 15:56:08 +01:00
Andreas Lauser
deb10b7524 ECL peaceman well: don't do manual updates of the DOF variables
use the update() method instead. Also, add an updateBeginTimestep()
method to the DOF variables which only need to be updated once per
timestep...
2015-01-21 15:56:08 +01:00
Andreas Lauser
11b77029cf ECL peaceman well: rename "bottom depth" to "reference depth"
this is because the "bottom hole pressure" by default is the the
presssure at the center of the _topmost_ cell penetrated by the
well. (The terminology keeps getting more weird the longer you look at
it.)

this patch also changes the default way to calculate the reference
depth from the center of the deepest to the center of the highest cell
and makes the reference depth settable in the deck.
2015-01-21 15:56:08 +01:00
Andreas Lauser
006a3324b2 fix a dune 2.4 deprecation warning
this only occured in debugmode...
2015-01-21 15:56:08 +01:00
Andreas Lauser
3f69e827be doxygen: add a separate group for the ECL black-oil simulator application
note: the doxygen groups are quite a bit behind the curve and should
be overhauled soon. (e.g. now there's not only the vertex centered
finite volume space discretization anymore...)
2014-12-22 19:19:03 +01:00
Andreas Lauser
ce38b6bb9e ebos: reduce the tax rate
first, it's not a good idea to go over the whole grid for each well at
the beginning of a time step, second the Jacibian matrix of the
linearization only needs to be recreated if the well completions have
changed...
2014-12-22 17:31:33 +01:00
Andreas Lauser
b84bcedb27 ECL peaceman well: use total mobility for injectors instead of 1/mu
SPE is closer, but not close enough. Note that the using total
mobility is probably "more wrong" than the previous approach (i.e.,
lambda = 1/viscosity of the injected phase)
2014-12-16 19:24:45 +01:00
Andreas Lauser
c1a7dd53f0 rename "top hole pressure" to "tubing head pressure"
"BHP" stands for "bottom hole pressure" so it sounded logical that
"THP" is an acronym for "top hole pressure". It isn't but the quantity
in question is still the pressure which is seen at the top of the
well's bore hole...
2014-12-15 18:09:29 +01:00
Andreas Lauser
47eafa47f4 move everything which is ECL specific to applications/ebos
this helps to keep the core blackoil model code lean and mean and it
is also less confusing for newbies because the ECL blackoil simulator
is not a "test" anymore.

in case somebody wonders, "ebos" stands for "&eWoms &Black-&Oil
&Simulator". I picked this name because it is short, a syllable, has
not been taken by anything else (as far as I know) and "descriptive"
names are rare for programs anyway: everyone who does not yet know
about 'git' or 'emacs' and tells me that based on their names they
must be a source-code managment system and an editor gets a crate of
beer sponsored by me!
2014-11-28 13:01:32 +01:00