Go to the documentation of this file.
37 namespace laminarModels
39 namespace generalizedNewtonianViscosityModels
64 viscosityProperties.optionalSubDict(typeName +
"Coeffs")
67 k_(
"k",
dimTime, BirdCarreauCoeffs_),
68 n_(
"n",
dimless, BirdCarreauCoeffs_),
71 BirdCarreauCoeffs_.getOrDefault
93 BirdCarreauCoeffs_.
readEntry(
"nuInf", nuInf_);
addToRunTimeSelectionTable(generalizedNewtonianViscosityModel, BirdCarreau, dictionary)
virtual bool read(const dictionary &viscosityProperties)
A class for managing temporary objects.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual bool read(const dictionary &viscosityProperties)=0
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const
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.
const dictionary & viscosityProperties() const
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionSet dimViscosity
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.
An incompressible Bird-Carreau non-Newtonian viscosity model.
An abstract base class for generalized Newtonian viscosity models.
defineTypeNameAndDebug(BirdCarreau, 0)
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
Generic GeometricField class.
BirdCarreau(const dictionary &viscosityProperties)
const dimensionSet dimless