Go to the documentation of this file.
34 namespace viscosityModels
84 powerLawCoeffs_(viscosityProperties.
subDict(typeName +
"Coeffs")),
86 n_(
"n",
dimless, powerLawCoeffs_),
113 powerLawCoeffs_ = viscosityProperties.
subDict(typeName +
"Coeffs");
115 powerLawCoeffs_.
lookup(
"k") >> k_;
116 powerLawCoeffs_.lookup(
"n") >> n_;
117 powerLawCoeffs_.lookup(
"nuMin") >> nuMin_;
118 powerLawCoeffs_.lookup(
"nuMax") >> nuMax_;
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.
Power law porosity model, given by:
A class for managing temporary objects.
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const Type & value() const
Return const reference to value.
powerLaw(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
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.
tmp< volScalarField > calcNu() const
Calculate and return the laminar viscosity.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
defineTypeNameAndDebug(BirdCarreau, 0)
const dimensionSet dimViscosity
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.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
Generic GeometricField class.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
addToRunTimeSelectionTable(viscosityModel, BirdCarreau, dictionary)
word name(const complex &)
Return a string representation of a complex.
tmp< volScalarField > strainRate() const
Return the strain rate.