Go to the documentation of this file.
37 namespace laminarModels
39 namespace generalizedNewtonianViscosityModels
45 generalizedNewtonianViscosityModel,
68 m_(
"m",
dimTime, CrossPowerLawCoeffs_),
69 n_(
"n",
dimless, CrossPowerLawCoeffs_),
84 CrossPowerLawCoeffs_ =
87 CrossPowerLawCoeffs_.
readEntry(
"nuInf", nuInf_);
88 CrossPowerLawCoeffs_.readEntry(
"m", m_);
89 CrossPowerLawCoeffs_.readEntry(
"n", n_);
112 (tauStar_.value() > 0)
113 ? nu0*strainRate/tauStar_
CrossPowerLaw(const dictionary &viscosityProperties)
Construct from dictionary (components)
addToRunTimeSelectionTable(generalizedNewtonianViscosityModel, BirdCarreau, dictionary)
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const
Return the laminar viscosity.
A class for managing temporary objects.
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)
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.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
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
Find and return a sub-dictionary, otherwise return this dictionary.
const dimensionSet dimless
Dimensionless.