Base for a set of schemes which integrate simple ODEs which arise from semi-implcit rate expressions. More...
Public Member Functions | |
TypeName ("integrationScheme") | |
declareRunTimeSelectionTable (autoPtr, integrationScheme, word,(),()) | |
integrationScheme () | |
virtual autoPtr< integrationScheme > | clone () const =0 |
virtual | ~integrationScheme () |
template<class Type > | |
Type | delta (const Type &phi, const scalar dt, const Type &Alpha, const scalar Beta) const |
template<class Type > | |
Type | partialDelta (const Type &phi, const scalar dt, const Type &Alpha, const scalar Beta, const Type &alphai, const scalar betai) const |
virtual scalar | dtEff (const scalar dt, const scalar Beta) const =0 |
virtual scalar | sumDtEff (const scalar dt, const scalar Beta) const =0 |
Static Public Member Functions | |
static autoPtr< integrationScheme > | New (const word &phiName, const dictionary &dict) |
template<class Type > | |
static Type | explicitDelta (const Type &phi, const scalar dtEff, const Type &Alpha, const scalar Beta) |
Base for a set of schemes which integrate simple ODEs which arise from semi-implcit rate expressions.
The methods are defined in terms of the effective time-step by which the explicit rate is multiplied. The effective time-step is a function of the actual time step and the implicit coefficient, which must be implemented in each derived scheme.
This class also facilitates integration in stages. If the explicit and implicit coefficients, and
, are a summation of differing contributions,
and
, then the integration can be split up to determine the effect of each contribution.
These partial calculations are defined in terms of the integral of the effective time-step, , which is also implemented in every derivation.
Definition at line 86 of file integrationScheme.H.
Definition at line 33 of file integrationScheme.C.
|
virtual |
Definition at line 39 of file integrationScheme.C.
TypeName | ( | "integrationScheme" | ) |
declareRunTimeSelectionTable | ( | autoPtr | , |
integrationScheme | , | ||
word | , | ||
() | , | ||
() | |||
) |
|
pure virtual |
Implemented in analytical, and Euler.
|
static |
Definition at line 28 of file integrationSchemeNew.C.
References Foam::abort(), dict, Foam::endl(), Foam::FatalIOError, FatalIOErrorInLookup, and Foam::Info.
|
inlinestatic |
Definition at line 27 of file integrationSchemeTemplates.C.
References phi.
|
inline |
Definition at line 40 of file integrationSchemeTemplates.C.
References phi.
|
inline |
Definition at line 53 of file integrationSchemeTemplates.C.
References phi.
|
pure virtual |
Implemented in analytical, and Euler.
|
pure virtual |
Implemented in Euler, and analytical.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.