Go to the documentation of this file.
34 namespace viscosityModels
68 CrossPowerLawCoeffs_(viscosityProperties.
subDict(typeName +
"Coeffs")),
71 m_(
"m",
dimTime, CrossPowerLawCoeffs_),
72 n_(
"n",
dimless, CrossPowerLawCoeffs_),
97 CrossPowerLawCoeffs_ = viscosityProperties.
subDict(typeName +
"Coeffs");
99 CrossPowerLawCoeffs_.
lookup(
"nu0") >> nu0_;
100 CrossPowerLawCoeffs_.lookup(
"nuInf") >> nuInf_;
101 CrossPowerLawCoeffs_.lookup(
"m") >> m_;
102 CrossPowerLawCoeffs_.lookup(
"n") >> n_;
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.
tmp< volScalarField > calcNu() const
Calculate and return the laminar viscosity.
A class for managing temporary objects.
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)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
defineTypeNameAndDebug(BirdCarreau, 0)
const dimensionSet dimViscosity
CrossPowerLaw(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
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.
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
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.