Go to the documentation of this file.
37 namespace viscosityModels
73 viscosityProperties.optionalSubDict(typeName +
"Coeffs")
77 m_(
"m",
dimTime, CrossPowerLawCoeffs_),
78 n_(
"n",
dimless, CrossPowerLawCoeffs_),
103 CrossPowerLawCoeffs_ =
106 CrossPowerLawCoeffs_.
readEntry(
"nu0", nu0_);
107 CrossPowerLawCoeffs_.readEntry(
"nuInf", nuInf_);
108 CrossPowerLawCoeffs_.readEntry(
"m", m_);
109 CrossPowerLawCoeffs_.readEntry(
"n", n_);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
An abstract base class for incompressible viscosityModels.
A class for handling words, derived from Foam::string.
tmp< volScalarField > calcNu() const
A class for managing temporary objects.
virtual bool read(const dictionary &viscosityProperties)=0
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
defineTypeNameAndDebug(BirdCarreau, 0)
const dimensionSet dimViscosity
CrossPowerLaw(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
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.
virtual bool read(const dictionary &viscosityProperties)
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
word name(const expressions::valueTypeCode typeCode)
Generic GeometricField class.
addToRunTimeSelectionTable(viscosityModel, BirdCarreau, dictionary)
tmp< volScalarField > strainRate() const
const dimensionSet dimless