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