Go to the documentation of this file.
37 namespace laminarModels
39 namespace generalizedNewtonianViscosityModels
45 generalizedNewtonianViscosityModel,
62 powerLawCoeffs_(viscosityProperties.optionalSubDict(typeName +
"Coeffs")),
63 n_(
"n",
dimless, powerLawCoeffs_),
81 powerLawCoeffs_.
readEntry(
"nuMin", nuMin_);
82 powerLawCoeffs_.
readEntry(
"nuMax", nuMax_);
109 n_.value() - scalar(1)
addToRunTimeSelectionTable(generalizedNewtonianViscosityModel, BirdCarreau, dictionary)
A class for managing temporary objects.
powerLaw(const dictionary &viscosityProperties)
label min(const labelHashSet &set, label minValue=labelMax)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
virtual bool read(const dictionary &viscosityProperties)=0
virtual bool read(const dictionary &viscosityProperties)
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.
const dictionary & viscosityProperties() const
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
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.
An abstract base class for generalized Newtonian viscosity models.
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const
defineTypeNameAndDebug(BirdCarreau, 0)
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Generic GeometricField class.
const dimensionSet dimless