34 namespace laminarModels
36 namespace generalisedNewtonianViscosityModels
42 generalisedNewtonianViscosityModel,
65 read(viscosityProperties);
82 coeffs.
lookup(
"nuInf") >> nuInf_;
84 if (coeffs.
found(
"tauStar"))
86 coeffs.
lookup(
"tauStar") >> tauStar_;
115 ? nu0*strainRate/tauStar_
const dimensionSet dimViscosity
CrossPowerLaw(const dictionary &viscosityProperties)
Construct from components.
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)
Macros for easy insertion into run-time selection tables.
const dimensionSet dimTime
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const
Return the laminar viscosity.
bool read(const char *, int32_t &)
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
addToRunTimeSelectionTable(generalisedNewtonianViscosityModel, BirdCarreau, dictionary)
An abstract base class for generalised Newtonian viscosity models.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A class for managing temporary objects.
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.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.