37 namespace laminarModels
39 namespace generalizedNewtonianViscosityModels
45 generalizedNewtonianViscosityModel,
63 HerschelBulkleyCoeffs_
65 viscosityProperties.optionalSubDict(typeName +
"Coeffs")
67 n_(
"n",
dimless, HerschelBulkleyCoeffs_),
82 HerschelBulkleyCoeffs_ =
85 HerschelBulkleyCoeffs_.
readEntry(
"n", n_);
86 HerschelBulkleyCoeffs_.readEntry(
"tau0", tau0_);
108 (tau0_ + nu0*rtone*
pow(tone*strainRate, n_))
A list of keyword definitions, which are a keyword followed by a number of values (eg...
An abstract base class for generalized Newtonian viscosity models.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const
Return the laminar viscosity.
const dimensionSet dimViscosity
const dimensionSet dimless
Dimensionless.
Macros for easy insertion into run-time selection tables.
bool readEntry(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX, IOobjectOption::readOption readOpt=IOobjectOption::MUST_READ) const
Find entry and assign to T val. FatalIOError if it is found and the number of tokens is incorrect...
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
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.
HerschelBulkley(const dictionary &viscosityProperties)
Construct from dictionary (components)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
addToRunTimeSelectionTable(generalizedNewtonianViscosityModel, BirdCarreau, dictionary)
A class for managing temporary objects.
defineTypeNameAndDebug(BirdCarreau, 0)