44 const dictionary& relaxationDict,
48 relaxationModel(typeName, relaxationDict,
runTime),
49 relaxationStart_(coeffDict().
get<scalar>(
"relaxationStart")),
50 relaxationEnd_(coeffDict().
get<scalar>(
"relaxationEnd")),
51 lastTimeValue_(runTime_.time().timeOutputValue()),
52 relaxation_(relaxationStart_)
62 scalar currentRelaxation = relaxation_;
65 (relaxation_ - relaxationEnd_)
77 return currentRelaxation;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
scalar timeOutputValue() const
Return current time value.
virtual dimensionedScalar endTime() const
Return end time.
Produces a linear ramp which adapts its gradient to changes in endTime and deltaT to always arrive at...
virtual scalar relaxation()
Return the current relaxation coefficient.
const Type & value() const
Return const reference to value.
const Time & time() const noexcept
Return time registry.
const Time & runTime_
Reference to the conformalVoronoiMesh holding this cvControls object.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)