HardcodedTimeStepControl Input generated from summary file using the ert application:
More...
#include <TimeStepControl.hpp>
|
|
static constexpr TimeStepControlType | Type = TimeStepControlType::HardCodedTimeStep |
| |
|
|
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
◆ HardcodedTimeStepControl()
| Opm::HardcodedTimeStepControl::HardcodedTimeStepControl |
( |
const std::string & |
filename | ) |
|
|
explicit |
constructor
- Parameters
-
| filename | filename contaning the timesteps |
◆ computeTimeStepSize()
compute new time step size suggestions based on the PID controller
- Parameters
-
| dt | time step size used in the current step |
| iterations | number of iterations used (linear/nonlinear) |
| relativeChange | Relative change handler |
| substepTimer | Sub step timer |
- Returns
- suggested time step size for the next step
- Parameters
-
| dt | Time step length |
| substepTimer | Sub step timer |
Implements Opm::TimeStepControlInterface.
◆ timeStepAccepted()
For the general 3rd order controller, the internal shifting of errors and time steps happens here, and hence this method needs to be called for (after) each time step.
Implements Opm::TimeStepControlInterface.
The documentation for this class was generated from the following files:
- opm/simulators/timestepping/TimeStepControl.hpp
- opm/simulators/timestepping/TimeStepControl.cpp