dune-fem 2.8.0
|
PID time step control. More...
#include <dune/fem/solver/rungekutta/timestepcontrol.hh>
Public Types | |
typedef Dune::Fem::TimeProviderBase | TimeProviderType |
typedef BaseType::ParameterType | ParameterType |
Public Member Functions | |
PIDTimeStepControl (TimeProviderType &timeProvider, const ParameterType ¶meters) | |
PIDTimeStepControl (TimeProviderType &timeProvider, const Dune::Fem::ParameterReader ¶meter=Dune::Fem::Parameter::container()) | |
bool | computeError () const |
template<class Monitor > | |
void | timeStepEstimate (double helmholtzEstimate, double sourceTermEstimate, const Monitor &monitor) |
template<class Monitor > | |
double | pidTimeStepControl (const double dt, const Monitor &monitor) |
double | time () const |
double | timeStepSize () const |
void | initialTimeStepSize (double helmholtzEstimate, double sourceTermEstimate) |
template<class Monitor > | |
void | reduceTimeStep (double helmholtzEstimate, double sourceTermEstimate, const Monitor &monitor) |
Protected Member Functions | |
const ParameterType & | parameters () const |
Protected Attributes | |
std::vector< double > | errors_ |
double | tol_ |
TimeProviderType & | timeProvider_ |
std::shared_ptr< const ParameterType > | parameters_ |
double | cfl_ |
double | cflMax_ |
int | verbose_ |
bool | initialized_ |
PID time step control.
See also: D. Kuzmin and S.Turek. Numerical simulation of turbulent bubbly flows. Techreport Uni Dortmund. 2004
and the original article: Valli, Coutinho, and Carey. Adaptive Control for Time Step Selection in Finite Element Simulation of Coupled Viscous Flow and Heat Transfer. Proc of the 10th International Conference on Numerical Methods in Fluids. 1998.
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineprotectedinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |