Go to the documentation of this file.
33 namespace CorrectionLimitingMethods
39 CorrectionLimitingMethod,
51 e_(
dict.get<scalar>(
"e"))
77 const vector uRelative = uP - uMean;
82 - (1.0 + this->e_)*uRelative
virtual ~relative()
Destructor.
Correction limiting method based on the relative particle velocity.
virtual vector limitedVelocity(const vector uP, const vector dU, const vector uMean) const
Return the limited velocity.
addToRunTimeSelectionTable(CorrectionLimitingMethod, absolute, dictionary)
defineTypeNameAndDebug(absolute, 0)
Base class for correction limiting methods.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
relative(const dictionary &dict)
Construct from components.
Scalar minMod(const Scalar s1, const Scalar s2)
tmp< surfaceScalarField > relative(const tmp< surfaceScalarField > &tphi, const volVectorField &U)
Return the given absolute flux in relative form.