32 #ifndef granularPressureModel_H
33 #define granularPressureModel_H
44 namespace kineticTheoryModels
56 virtual bool readCoeffs(
const dictionary& coeffDict)
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
virtual tmp< volScalarField > granularPressureCoeff(const volScalarField &alpha1, const volScalarField &g0, const volScalarField &rho1, const dimensionedScalar &e) const =0
Granular pressure coefficient.
TypeName("granularPressureModel")
Runtime type information.
virtual tmp< volScalarField > granularPressureCoeffPrime(const volScalarField &alpha1, const volScalarField &g0, const volScalarField &g0prime, const volScalarField &rho1, const dimensionedScalar &e) const =0
Derivative of the granular pressure coefficient.
static autoPtr< granularPressureModel > New(const dictionary &dict)
bool read(const dictionary &dict)
Read the coefficients from the optional ".*Coeffs" sub-dictionary.
declareRunTimeSelectionTable(autoPtr, granularPressureModel, dictionary,(const dictionary &dict),(dict))
void operator=(const granularPressureModel &)=delete
Disallow default bitwise assignment.
virtual ~granularPressureModel()
Destructor.
granularPressureModel(const dictionary &coeffDict)
Construct from the coefficients dictionary.
A class for managing temporary objects.
Macros to ease declaration of run-time selection tables.