Go to the documentation of this file.
37 namespace viscosityModels
89 CassonCoeffs_(viscosityProperties.
optionalSubDict(typeName +
"Coeffs")),
118 CassonCoeffs_ = viscosityProperties.
optionalSubDict(typeName +
"Coeffs");
121 CassonCoeffs_.readEntry(
"tau0", tau0_);
122 CassonCoeffs_.readEntry(
"nuMin_", nuMin_);
123 CassonCoeffs_.readEntry(
"nuMax_", nuMax_);
Defines the attributes of an object for which implicit objectRegistry management is supported,...
An abstract base class for incompressible viscosityModels.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
tmp< volScalarField > calcNu() const
Calculate and return the laminar viscosity.
Casson(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
word name(const complex &c)
Return string representation of complex.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, bool mandatory=true) const
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
defineTypeNameAndDebug(BirdCarreau, 0)
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.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
addToRunTimeSelectionTable(viscosityModel, BirdCarreau, dictionary)
tmp< volScalarField > strainRate() const
Return the strain rate.