Go to the documentation of this file.
37 namespace viscosityModels
75 viscosityProperties.optionalSubDict(typeName +
"Coeffs")
79 k_(
"k",
dimTime, BirdCarreauCoeffs_),
80 n_(
"n",
dimless, BirdCarreauCoeffs_),
83 BirdCarreauCoeffs_.getOrDefault
116 BirdCarreauCoeffs_.
readEntry(
"nu0", nu0_);
117 BirdCarreauCoeffs_.readEntry(
"nuInf", nuInf_);
118 BirdCarreauCoeffs_.readEntry(
"k", k_);
119 BirdCarreauCoeffs_.readEntry(
"n", n_);
120 a_ = BirdCarreauCoeffs_.getOrDefault
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.
A class for managing temporary objects.
BirdCarreau(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
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
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
defineTypeNameAndDebug(BirdCarreau, 0)
const dimensionSet dimViscosity
virtual bool read(const dictionary &viscosityProperties)
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.
Generic dimensioned Type class.
tmp< volScalarField > calcNu() const
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