Go to the documentation of this file.
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_))
addToRunTimeSelectionTable(generalizedNewtonianViscosityModel, BirdCarreau, dictionary)
virtual bool read(const dictionary &viscosityProperties)
A class for managing temporary objects.
label min(const labelHashSet &set, label minValue=labelMax)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
HerschelBulkley(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.
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.
Generic dimensioned Type class.
An abstract base class for generalized Newtonian viscosity models.
defineTypeNameAndDebug(BirdCarreau, 0)
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const
Generic GeometricField class.
const dimensionSet dimless