34 namespace viscosityModels
51 Foam::viscosityModels::HerschelBulkley::calcNu()
const 56 tmp<volScalarField> sr(strainRate());
63 (tau0_ + k_*rtone*
pow(tone*sr(), n_))
81 HerschelBulkleyCoeffs_
86 n_(
"n",
dimless, HerschelBulkleyCoeffs_),
113 HerschelBulkleyCoeffs_ =
116 HerschelBulkleyCoeffs_.
lookup(
"k") >> k_;
117 HerschelBulkleyCoeffs_.lookup(
"n") >> n_;
118 HerschelBulkleyCoeffs_.lookup(
"tau0") >> tau0_;
119 HerschelBulkleyCoeffs_.lookup(
"nu0") >> nu0_;
HerschelBulkley(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
const dimensionSet dimViscosity
An abstract base class for incompressible viscosityModels.
Macros for easy insertion into run-time selection tables.
addToRunTimeSelectionTable(viscosityModel, BirdCarreau, dictionary)
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
A class for handling words, derived from string.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
defineTypeNameAndDebug(BirdCarreau, 0)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.