34 namespace laminarModels
36 namespace generalisedNewtonianViscosityModels
65 read(viscosityProperties);
82 coeffs.
lookup(
"nuInf") >> nuInf_;
84 if (coeffs.
found(
"tauStar"))
86 coeffs.
lookup(
"tauStar") >> tauStar_;
122 ? nu0*strainRate/tauStar_
const dimensionSet dimViscosity
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const dimensionSet dimless
defineTypeNameAndDebug(BirdCarreau, 0)
BirdCarreau(const dictionary &viscosityProperties)
Construct from components.
Macros for easy insertion into run-time selection tables.
const dimensionSet dimTime
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
bool read(const char *, int32_t &)
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
addToRunTimeSelectionTable(generalisedNewtonianViscosityModel, BirdCarreau, dictionary)
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const
Return the laminar viscosity.
An abstract base class for generalised Newtonian viscosity models.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
T lookupOrDefault(const word &, const T &, bool recursive=false, bool patternMatch=true) const
Find and return a T,.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
Bird-Carreau generalised Newtonian viscosity model.
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.