34 namespace viscosityModels
50 Foam::viscosityModels::BirdCarreau::calcNu()
const 55 *
pow(scalar(1) +
pow(k_*strainRate(), a_), (n_ - 1.0)/a_);
76 k_(
"k",
dimTime, BirdCarreauCoeffs_),
77 n_(
"n",
dimless, BirdCarreauCoeffs_),
80 BirdCarreauCoeffs_.lookupOrDefault
113 BirdCarreauCoeffs_.
lookup(
"nu0") >> nu0_;
114 BirdCarreauCoeffs_.lookup(
"nuInf") >> nuInf_;
115 BirdCarreauCoeffs_.lookup(
"k") >> k_;
116 BirdCarreauCoeffs_.lookup(
"n") >> n_;
117 a_ = BirdCarreauCoeffs_.lookupOrDefault
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
const dimensionSet dimViscosity
An incompressible Bird-Carreau non-Newtonian viscosity model.
An abstract base class for incompressible viscosityModels.
Macros for easy insertion into run-time selection tables.
addToRunTimeSelectionTable(viscosityModel, BirdCarreau, dictionary)
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
A class for handling words, derived from string.
defineTypeNameAndDebug(BirdCarreau, 0)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
BirdCarreau(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.