35 #ifndef TimeScaleModel_H
36 #define TimeScaleModel_H
Base class for time scale models.
virtual autoPtr< TimeScaleModel > clone() const =0
Construct and return a clone.
static autoPtr< TimeScaleModel > New(const dictionary &dict)
Selector.
TimeScaleModel(const dictionary &dict)
Constructors.
TypeName("timeScaleModel")
Runtime type information.
declareRunTimeSelectionTable(autoPtr, TimeScaleModel, dictionary,(const dictionary &dict),(dict))
Declare runtime constructor selection table.
virtual ~TimeScaleModel()
Destructor.
scalar e_
Coefficient of restitution.
scalar alphaPacked_
Close pack volume fraction.
virtual tmp< FieldField< Field, scalar > > oneByTau(const FieldField< Field, scalar > &alpha, const FieldField< Field, scalar > &r32, const FieldField< Field, scalar > &uSqr, const FieldField< Field, scalar > &f) const =0
Member Functions.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
Macros to ease declaration of run-time selection tables.