Go to the documentation of this file.
43 const dictionary& relaxationDict,
47 relaxationModel(typeName, relaxationDict, runTime),
53 rampGradient_((holdRelaxation_ - rampStartRelaxation_)/(rampEndFraction_)),
56 (fallEndRelaxation_ - holdRelaxation_)/(1 - fallStartFraction_)
69 scalar tSpan = tEnd - tStart;
scalar timeOutputValue() const
Return current time value.
const Time & runTime_
Reference to the conformalVoronoiMesh holding this cvControls object.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
const Time & time() const
Return time.
scalar holdRelaxation_
Relaxation coefficient for the hold portion.
const Type & value() const
Return const reference to value.
scalar rampStartRelaxation_
Relaxation coefficient at the start of the ramp.
scalar fallStartFraction_
Fraction through the run where the hold ends and the fall starts.
scalar fallGradient_
Gradient in fall portion, normalised against time.
scalar rampEndFraction_
Fraction through the run where the ramp ends and the hold starts.
virtual scalar relaxation()
Return the current relaxation coefficient.
Macros for easy insertion into run-time selection tables.
scalar fallEndRelaxation_
Relaxation coefficient at the end of the fall.
scalar rampGradient_
Gradient in ramp portion, normalised against time.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
rampHoldFall(const dictionary &relaxationDict, const Time &runTime)
Construct from components.
virtual dimensionedScalar endTime() const
Return end time.
defineTypeNameAndDebug(combustionModel, 0)
virtual dimensionedScalar startTime() const
Return start time.
stressControl lookup("compactNormalStress") >> compactNormalStress