Andreas Lauser
c402ae4854
implement an "ECL output interval"
...
i.e., the ECL restart files are not necessarily updated after each
report step, but only each N-th (where N is the number specified by
the EclOutputInterval parameter). if this value is set to something
smaller than zero, the value which is computed by the EclipseState
object is used.
2018-06-15 20:27:42 +02:00
Andreas Lauser
26e6d56930
do explicit put properties into the the Ewoms::Properties namespace anymore
...
instead, do it implicitly by using the BEGIN_PROPERTIES and
END_PROPERTIES macros.
2018-06-15 20:22:07 +02:00
Andreas Lauser
739a0ef0d0
parameter system: add support for positional parameters
...
further, this cleans up the code of the parameter system and the
startup routines a bit and finally, it adds positional parameters
support to ebos as well as brief descriptions to ebos and the lens
problem.
2018-06-14 11:13:30 +02:00
Andreas Lauser
91c209eb09
some stylistic cleanups of the ECL writer
2018-06-14 11:13:30 +02:00
Joakim Hove
2bd9c0ea78
Rename Completions -> Connections
2018-06-11 14:11:32 +02:00
Joakim Hove
3b5e746702
Load the THPRES values from the restart file
2018-05-31 11:58:27 +02:00
Robert Kloefkorn
3a9b7dc7b5
[bgufix][femcompat] remove operator << and operator >> for __float128
...
that accidentally came into the code again.
2018-05-23 14:50:16 +02:00
Andreas Lauser
1d573e02d5
Merge pull request #322 from dr-robertk/PR/fix-fieldtraits-issue
...
[bugfix][PrimaryVariables] Implement FieldTraits for PrimaryVariables
2018-05-23 11:28:52 +02:00
Robert Kloefkorn
5c19ead909
[bugfix][Ewoms] make compile with dune-fem 2.5
2018-05-22 22:17:04 +02:00
Joakim Hove
a58e7a19d9
Merge pull request #316 from joakim-hove/use-restart-value
...
Use RestartValue when calling Ecl writeTimeStep
2018-05-18 08:57:33 +02:00
Joakim Hove
324a4ad307
Save THPRES values to restart file
2018-05-14 16:13:53 +02:00
Tor Harald Sandve
98c2b03667
change ecl output name from SSOL to SSOLVENT
2018-05-09 14:52:43 +02:00
Andreas Lauser
a53ef08699
ecloutputblackoilmodule.hh: adapt coding style to the rest of eWoms
...
the style was mostly fine, but there were a few leftovers from the
pre-eWoms epoch of that code.
2018-04-30 19:06:07 +02:00
Tor Harald Sandve
91139efa27
Merge pull request #311 from andlaus/fixes
...
ebos fix and compiler workaround
2018-04-13 13:53:43 +02:00
Tor Harald Sandve
a697b523a3
Merge pull request #310 from andlaus/update_changelog
...
Update changelog
2018-04-13 10:46:26 +02:00
Andreas Lauser
f96d553d8e
ebos: salvage temperature from the initial fluid states for isothermal simulations
...
this is required because temperature needs to be always specified. in
the case of isothermal simulations, the temperature is assumed to be
the initial one, i.e., freeing up the initial fluid states also makes
the temperature undefined.
I suspect that the reason why this did not lead to crashes is that for
isothermal `BlackOilFluidState` objects, the temperature is stored in
a static member variable.
thanks to at [at]bska for catching this issue.
2018-04-12 14:22:10 +02:00
Andreas Lauser
ae779f2132
make all headers autonomous again
2018-04-11 13:06:56 +02:00
Andreas Lauser
b64ca374c3
make ebos compile with dune-fem being around for dune 2.6
...
dune 2.6 seems to expect a referenceElement(geo) free function.
2018-04-10 13:31:04 +02:00
Andreas Lauser
ede2ef35af
rename compatibility.hh to ebos/femcpgridcompat.hh
...
the purpose of this seems to be to make 'Opm::CpGrid' usable with
'dune-fem'. This is quite a fringe case, and the code should better go
to opm-grid.
2018-04-10 13:31:04 +02:00
Andreas Lauser
1af2996b2a
move the base class for auxiliary modules to ewoms/disc/common
...
that's where it belonged in the first place.
2018-04-10 10:05:18 +02:00
Andreas Lauser
ffe3914ddd
thermal blackoil: fix a few issues with thermal conductivity
2018-04-05 19:31:55 +02:00
Andreas Lauser
26228ec5f3
fix the issues that emerged in the context of [at]totto82's review
2018-04-05 19:31:55 +02:00
Andreas Lauser
54c96aa1c2
blackoil, ebos: implement non-trivial boundary conditions
...
with this, it is possible do define fluxes of conservation quantities
over the domain boundaries by specifying the thermodynamic state on
the boundary when using the black-oil model. The main motivation is
are thermal fluxes which are required to maintain geothermal
temperature gradients over time.
2018-04-05 19:31:55 +02:00
Andreas Lauser
815be1451b
implement the ebos part of energy conservation
...
I.e. everything which is ECL specific.
2018-04-05 19:31:55 +02:00
Andreas Lauser
4241986e94
equil initializer: use TEMPI to specify the initial temperature
...
this also implicitly takes care of RTEMPVD, RTEMP and all the other
ways of specifying the initial reservoir temperature.
2018-04-05 19:31:12 +02:00
Andreas Lauser
3288548c7e
disable asynchronous output for the ECL output test
...
this leads to crashes deeply inside libecl. My cursory hypotheses are
that this test makes the assumption that the output is written
synchronously (it tries to read back the results from disk
immediately) and/or that libecl is not threadsafe.
2018-03-21 10:31:15 +01:00
Andreas Lauser
ddb6ef2acb
generalize the tasklet mechanism to an arbitrary number of worker threads
...
this has been quite a bit more complicated than I initially thought.
2018-03-15 11:05:10 +01:00
Andreas Lauser
b39b60109d
cosmetic changes to EclWriter
...
this commit does not do any logic changes, just identation, variable
names, etc.
2018-03-12 16:51:30 +01:00
Andreas Lauser
8f61fe03fa
switch the EclWriter to the new tasklet infrastructure
2018-03-12 16:51:30 +01:00
Andreas Lauser
7b56e9e9df
clean up the determination of the directory for output
...
this should be done by the vanguard, not by the problem!
2018-03-12 16:51:30 +01:00
Andreas Lauser
5f8fdb2324
make all headers fully autonomous again
2018-03-12 14:31:37 +01:00
Kai Bao
f071c4c647
changing the PVTO in test_ecl_output
...
to make the table passing the sanity check.
2018-03-08 09:54:08 +01:00
Arne Morten Kvarving
397c69dded
Merge pull request #293 from akva2/adjust_ecl
...
adjustments for eclipse support in opm-common
2018-03-06 15:34:52 +01:00
Arne Morten Kvarving
a1601afd21
adjustments for eclipse support in opm-common
2018-03-06 09:09:17 +01:00
Tor Harald Sandve
6a1f7c8006
BUGfix enableEclOutput false
2018-03-05 14:56:48 +01:00
Andreas Lauser
21cce7514e
fix a few "unused variable" warnings that occur on more uncommon compilers
...
i.e. on ICC. the compiler is right in producing warnings here, though.
2018-03-03 13:27:48 +01:00
Atgeirr Flø Rasmussen
aaf885098d
Merge pull request #288 from totto82/fix_restart_norne
...
Fix restart norne
2018-02-21 11:32:55 +01:00
Tor Harald Sandve
d15a86b039
clean up
2018-02-21 10:41:27 +01:00
Tor Harald Sandve
9372f9d2ca
Make sure the updateMaxOilSaturation_ is called
...
The order of operation is left-to-right.
2018-02-21 10:38:52 +01:00
Tor Harald Sandve
44ab370fae
Make the restart code more robust.
...
Don't assume all needed data is given in the restart file.
i.e. make it possible to run a solvent restart run from a standard
blackoil run.
2018-02-21 10:38:52 +01:00
Tor Harald Sandve
f90e074947
Demand the hystereris values if enalbed.
2018-02-21 10:38:52 +01:00
Tor Harald Sandve
b89a960a50
Fix bug in setting the max oil saturation after restart
2018-02-21 10:38:52 +01:00
Joakim Hove
b6e8e9c6fb
Rename test-deck to get consistent case
2018-02-20 14:34:31 +01:00
Atgeirr Flø Rasmussen
875aafe0f9
Merge pull request #289 from totto82/fix_default_output_dir
...
Fix default output directory
2018-02-19 17:04:41 +01:00
Tor Harald Sandve
afe26e8f12
Split the PackUnPack class
...
into PackUnPackBlockData, PackUnPackCellData and PackUnPackWellData
2018-02-19 13:18:56 +01:00
Tor Harald Sandve
998a6339cb
Rename test_ecl_output.cpp -> test_ecl_output.cc
2018-02-19 13:18:56 +01:00
Tor Harald Sandve
3ede6ecc69
Rename ThreadHandle.hpp -> threadHandle.hh
...
Also adding some comments.
2018-02-19 13:18:56 +01:00
Tor Harald Sandve
76edfa7789
clean up after rebase
2018-02-19 13:18:56 +01:00
Tor Harald Sandve
932527d772
Pass RFT output via data::well
...
With this no cell data is used by the output code in opm-output
2018-02-19 13:18:56 +01:00
Tor Harald Sandve
bbe2ae4a7b
fix rebase failure
2018-02-19 13:18:56 +01:00