Computes the betaMax using a stepRamp function which updates itself based on the current time. More...
Public Member Functions | |
TypeName ("stepRamp") | |
Runtime type information. More... | |
betaMaxStepRamp (const fvMesh &mesh, const dictionary &dict) | |
Construct from components. More... | |
virtual | ~betaMaxStepRamp ()=default |
Destructor. More... | |
virtual scalar | value () const |
Get value. More... | |
Public Member Functions inherited from betaMax | |
TypeName ("betaMax") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, betaMax, dictionary,(const fvMesh &mesh, const dictionary &dict),(mesh, dict)) | |
betaMax (const fvMesh &mesh, const dictionary &dict) | |
Construct from components. More... | |
virtual | ~betaMax ()=default |
Destructor. More... | |
Protected Attributes | |
scalar | betaMin_ |
Minimum betaMax value (to be used at the first opt cycles) More... | |
autoPtr< Function1< scalar > > | funcPtr_ |
The step ramp function. More... | |
Protected Attributes inherited from betaMax | |
const fvMesh & | mesh_ |
Reference to mesh. More... | |
scalar | value_ |
betaMax value More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from betaMax | |
static autoPtr< betaMax > | New (const fvMesh &mesh, const dictionary &dict) |
Construct and return the selected betaMax model. More... | |
Protected Member Functions inherited from betaMax | |
scalar | computeLength (const dictionary &dict) const |
Compute the characteristic length. More... | |
boolList | markProcessorEdges (const polyPatch &patch) const |
Mark all common inlet - processor edges. More... | |
Computes the betaMax using a stepRamp function which updates itself based on the current time.
Definition at line 45 of file betaMaxStepRamp.H.
betaMaxStepRamp | ( | const fvMesh & | mesh, |
const dictionary & | dict | ||
) |
Construct from components.
Definition at line 41 of file betaMaxStepRamp.C.
References DebugInfo, dict, and Foam::endl().
|
virtualdefault |
Destructor.
TypeName | ( | "stepRamp" | ) |
Runtime type information.
|
virtual |
Get value.
Reimplemented from betaMax.
Definition at line 61 of file betaMaxStepRamp.C.
References betaMaxStepRamp::betaMin_, DebugInfo, Foam::endl(), betaMaxStepRamp::funcPtr_, betaMax::mesh_, fvMesh::time(), TimeState::timeOutputValue(), and betaMax::value_.
|
protected |
Minimum betaMax value (to be used at the first opt cycles)
Definition at line 71 of file betaMaxStepRamp.H.
Referenced by betaMaxStepRamp::value().
The step ramp function.
Definition at line 76 of file betaMaxStepRamp.H.
Referenced by betaMaxStepRamp::value().