31 namespace CorrectionLimitingMethods
49 e_(
dict.template lookup<scalar>(
"e"))
75 const vector uRelative = uP - uMean;
80 - (1.0 + this->e_)*uRelative
Macros for easy insertion into run-time selection tables.
Base class for correction limiting methods.
Correction limiting method based on the absolute particle velocity.
absolute(const dictionary &dict)
Construct from components.
virtual vector limitedVelocity(const vector uP, const vector dU, const vector uMean) const
Return the limited velocity.
virtual ~absolute()
Destructor.
A list of keyword definitions, which are a keyword followed by any number of values (e....
addToRunTimeSelectionTable(CorrectionLimitingMethod, absolute, dictionary)
defineTypeNameAndDebug(absolute, 0)
Scalar minMod(const Scalar s1, const Scalar s2)
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)