Tor Harald Sandve
380fe6e2fd
Timestepper based on userInput
...
A new timestepper that reads timesteps from a file generated using
ecl_summary "DECK" TIME
and applies it to the simulator
Also a parameter timestep.initial_step_length (default 1 day) is added
to controll the frist timestep.
2016-09-21 09:39:36 +02:00
Atgeirr Flø Rasmussen
fe53c5f917
Merge pull request #1060 from babrodtk/output_writer_celldata
...
Output writer cell data
2016-09-08 09:55:14 +02:00
Joakim Hove
5aa2b97c31
shared_ptr<EclipseGrid> -> const EclipseGrid&
2016-09-03 17:49:46 +02:00
babrodtk
63da817852
Initial version for outputting cell data
2016-09-01 14:37:41 +02:00
Pål Grønås Drange
9579e4acd8
transmult and initconfig are ref's, use ref for EclipseState constructor
2016-08-08 10:02:53 +02:00
Atgeirr Flø Rasmussen
d31081992b
Merge pull request #1052 from andlaus/pass_timer_instead_of_dt
...
pass the timer object instead of the time step size to the simulators
2016-08-02 11:05:33 +02:00
Liu Ming
61889dafbd
fix indentation.
2016-07-14 10:30:20 +08:00
Liu Ming
62134b4a0f
drop useage of std::numeric_limits
2016-07-14 10:27:13 +08:00
Andreas Lauser
0dda8d49c5
pass the timer object instead of the time step size to the simulators
2016-07-05 12:23:55 +02:00
Kai Bao
02a3ba39b5
adding a initialStep() function to SimulatorTimer
...
to indicate if the current step is the inital step.
2016-07-04 11:12:53 +02:00
Liu Ming
b8ef9cb630
output well iterations if it is a valid number.
2016-06-30 09:03:30 +08:00
Liu Ming
30d9c34481
Add space.
2016-06-28 15:26:06 +08:00
Liu Ming
b1b464535a
output well iterations and non-linear iterations.
2016-06-28 13:40:32 +08:00
Liu Ming
6097a14b0e
get current date time.
2016-06-21 11:25:05 +08:00
Liu Ming
63f244a36d
mark time stepping messages type as OpmLog::note
2016-06-21 08:44:32 +08:00
Jørgen Kvalsvik
18fda2d7f0
WellState::report() to make opm-output Well data
2016-06-06 12:40:44 +02:00
Liu Ming
248ea780b3
add missing braces.
2016-05-16 09:04:54 +08:00
Liu Ming
a4dc135045
use OpmLog only for error messages.
2016-05-10 14:13:33 +08:00
Liu Ming
40dbcc496a
output timer messages for terminal and log file.
2016-05-09 13:31:04 +08:00
Liu Ming
cabfffe25d
use ostream not std::cout directly.
2016-05-09 13:30:28 +08:00
Pål Grønås Drange
938e6119f4
Using getInputGrid API from Parser, changed GridManager to no longer accept Deck in constructor
2016-04-20 08:51:10 +02:00
Joakim Hove
e843461b37
Merge pull request #962 from joakim-hove/remove-simulator-state
...
Replaced SimulatorState -> SimulationDatacontainer
2016-03-29 13:16:19 +02:00
Joakim Hove
b42700c6a8
Replaced SimulatorState -> SimulationDatacontainer
...
Have removed the SimulatorState base class, and instead replaced with
the SimulationDatacontainer class from opm-common. The SimulatorState
objects were typcially created with a default constructor, and then
explicitly initialized with a SimulatorState::init() method. For the
SimulationDataContainer RAII is employed; the init( ) has been removed -
and there is no default constructor.
2016-03-29 10:44:49 +02:00
Robert Kloefkorn
65d4127f4e
SimulatorTimerInterface: include missing header for unique_ptr.
2016-03-29 10:42:03 +02:00
Robert Kloefkorn
f9f13143a2
SimulatorTimers: added method clone to allow for copying of the objects.
2016-03-29 10:34:16 +02:00
Liu Ming
8cd08728f7
rename ParseMode as ParseContext.
2016-03-17 09:57:59 +08:00
Atgeirr Flø Rasmussen
cb41a45687
Remove unused 'restart' parameter from SimulatorTimer::init().
2016-02-29 11:03:08 +01:00
Jørgen Kvalsvik
e8c6c3102f
Improve includes from opm-parser
...
Adopting to opm-parser PR#661, add previously missing includes.
https://github.com/OPM/opm-parser/pull/661
2016-01-26 13:30:58 +01:00
Jørgen Kvalsvik
98190eceb1
Fixes includes wrt opm-parser PR-656
...
Several files stopped compiling due to relying on opm-parser headers
doing includes. From opm-parser PR-656
https://github.com/OPM/opm-parser/pull/656 this assumption is no longer
valid.
2016-01-21 09:42:51 +01:00
chflo
d43f109770
OPM-251: Support for restart
2016-01-04 16:11:21 +01:00
Atgeirr Flø Rasmussen
0de2cff986
Follow class renaming.
2015-11-13 11:37:53 +01:00
Robert Kloefkorn
d3af817ff2
timeError --> relativeChange.
2015-11-10 09:53:40 -07:00
Robert Kloefkorn
005a0c2930
AdaptiveTimeStepping: pass object to compute time error to time step control. This
...
allows us to shift the computation of the error to the physical model.
2015-11-10 09:45:07 -07:00
Andreas Lauser
2399629ebc
use the error macros from opm-common
2015-10-08 11:42:15 +02:00
Robert Kloefkorn
4f8906c5fc
AdaptiveTimeStepping: also apply terminal output to solver_verbose.
2015-09-16 15:19:19 +02:00
Robert Kloefkorn
8c93936fd5
AdaptiveTimeStepping: pass variable terminal output to avoid multiple outputs in
...
parallel.
2015-09-16 14:33:35 +02:00
Tor Harald Sandve
6d28f19009
Change default values
...
- use time stepping algorithm pid instead of pid + iter
Adjusting the time-steps on the number of linear iterations does
currently not give any improvents on the time-stepping.
- Change the pid tolerance. The time-stepper will take longer time-steps
and thus reduce the simulation time significantly. The Norne and the SPE
results does not degrade
- Less aggressive reduction of time-steps after convergence problems
2015-09-08 10:56:58 +02:00
Tor Harald Sandve
dbce88aa2c
Limit the timestep growth for all timestepping algorithm
...
The time step restriction is moved to AdaptiveTimeStepping_impl.hpp to
make it apply to all time-stepping algorithms.
2015-09-03 12:52:47 +02:00
Markus Blatt
4c0189f917
[bugfix] Allow querying the current time step even if we are done.
...
Previously there was an assertion whether the time stepping is still
running when querying the time step. After commit 5af794cfd588b this
triggered an assertion for Norne. As there is no reason to limit querying
the current time step in this way. This commit simply removes the assertion
in AdaptiveSimulatorTimer::currentStepLength.
This closes OPM/opm-autodiff#446
2015-09-01 19:34:30 +02:00
Tor Harald Sandve
0227165bd5
Rename last_timestep_ to suggested_next_timestep_
2015-08-25 11:16:36 +02:00
Tor Harald Sandve
81b8b631a6
Use estimated time-step instead of average in next report step
2015-08-25 06:32:39 +02:00
Atgeirr Flø Rasmussen
42464cbcb7
Match init order to member order.
...
In a constructor initialisation list, the order should be the same
as the order in which the variables actually are initialised, which
is given by the order they are declared in the class and not by the
order in the initialisation list.
2015-08-19 11:33:29 +02:00
Kai Bao
a7f177e35e
adding command line option full_timestep_initially_
...
when the option is true, for each report step, the size of the adaptive
time step always beginning with the size of the report step.
2015-08-17 15:56:31 +02:00
Atgeirr Flø Rasmussen
2dfbb4ed82
Correct comment.
2015-08-17 13:02:37 +02:00
Atgeirr Flø Rasmussen
e41b766780
Catch MatrixBlockError in the adaptive time stepper.
...
This can be thrown by the ILU0 preconditioner when using the
interleaved solver approach.
2015-08-17 12:59:31 +02:00
chflo
b3b0b427ab
Reverse changes that should not have been merged into master
2015-08-10 14:17:59 +02:00
Joakim Hove
b94d5a135d
Updated to use ParseMode.
2015-08-06 15:56:51 +02:00
chflo
bfa1d476e3
OPM-218: Write restart files at same interval as eclipse
2015-08-05 13:38:52 +02:00
chflo
84934d0c1f
OPM-218: Fix Flow vs Eclipse restart interval write differences: Override method from SimulatorTimerInterface
2015-07-27 13:26:28 +02:00
chflo
d0af851f8e
OPM-218: Fix Flow vs Eclipse restart interval write differences: Added new method to SimulatorTimerInterface
2015-07-27 13:25:33 +02:00