HardcodedTimeStepControl Input generated from summary file using the ert application:. More...
#include <TimeStepControl.hpp>
Public Member Functions | |
HardcodedTimeStepControl (const std::string &filename) | |
constructor | |
double | computeTimeStepSize (const double dt, const int, const RelativeChangeInterface &, const double simulationTimeElapsed) const |
Protected Attributes | |
std::vector< double > | subStepTime_ |
HardcodedTimeStepControl Input generated from summary file using the ert application:.
ecl_summary DECK TIME > filename
Assumes time is given in days
Opm::HardcodedTimeStepControl::HardcodedTimeStepControl | ( | const std::string & | filename | ) | [explicit] |
constructor
filename | filename contaning the timesteps |
double Opm::HardcodedTimeStepControl::computeTimeStepSize | ( | const double | dt, | |
const | int, | |||
const RelativeChangeInterface & | , | |||
const double | simulationTimeElapsed | |||
) | const [virtual] |
compute new time step size suggestions based on the PID controller
dt | time step size used in the current step | |
iterations | number of iterations used (linear/nonlinear) | |
timeError | object to compute || u^n+1 - u^n || / || u^n+1 || |
Implements Opm::TimeStepControlInterface.