Go to the documentation of this file.
34 namespace viscosityModels
70 BirdCarreauCoeffs_(viscosityProperties.
subDict(typeName +
"Coeffs")),
73 k_(
"k",
dimTime, BirdCarreauCoeffs_),
74 n_(
"n",
dimless, BirdCarreauCoeffs_),
77 BirdCarreauCoeffs_.lookupOrDefault
107 BirdCarreauCoeffs_ = viscosityProperties.
subDict(typeName +
"Coeffs");
109 BirdCarreauCoeffs_.
lookup(
"nu0") >> nu0_;
110 BirdCarreauCoeffs_.lookup(
"nuInf") >> nuInf_;
111 BirdCarreauCoeffs_.lookup(
"k") >> k_;
112 BirdCarreauCoeffs_.lookup(
"n") >> n_;
113 a_ = BirdCarreauCoeffs_.lookupOrDefault
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
An abstract base class for incompressible viscosityModels.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
A class for handling words, derived from string.
A class for managing temporary objects.
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.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
defineTypeNameAndDebug(BirdCarreau, 0)
const dimensionSet dimViscosity
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Macros for easy insertion into run-time selection tables.
Generic dimensioned Type class.
An incompressible Bird-Carreau non-Newtonian viscosity model.
tmp< volScalarField > calcNu() const
Calculate and return the laminar viscosity.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Generic GeometricField class.
addToRunTimeSelectionTable(viscosityModel, BirdCarreau, dictionary)
word name(const complex &)
Return a string representation of a complex.
tmp< volScalarField > strainRate() const
Return the strain rate.