31 namespace CorrectionLimitingMethods
37 CorrectionLimitingMethod,
75 const vector uRelative = uP - uMean;
80 - (1.0 + this->
e_)*uRelative
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.
virtual vector limitedVelocity(const vector uP, const vector dU, const vector uMean) const
Return the limited velocity.
stressControl lookup("compactNormalStress") >> compactNormalStress
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
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.