34 namespace laminarModels
36 namespace generalisedNewtonianViscosityModels
41 generalisedNewtonianViscosityModel,
63 read(viscosityProperties);
80 coeffs.
lookup(
"tau0") >> tau0_;
81 coeffs.
lookup(
"nuMin_") >> nuMin_;
82 coeffs.
lookup(
"nuMax_") >> nuMax_;
const dimensionSet dimViscosity
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
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 > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionSet dimless
defineTypeNameAndDebug(BirdCarreau, 0)
Macros for easy insertion into run-time selection tables.
Casson(const dictionary &viscosityProperties)
Construct from components.
const dimensionSet dimTime
bool read(const char *, int32_t &)
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
addToRunTimeSelectionTable(generalisedNewtonianViscosityModel, BirdCarreau, dictionary)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
An abstract base class for generalised Newtonian viscosity models.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
virtual tmp< volScalarField > nu(const volScalarField &nu0, const volScalarField &strainRate) const
Return the laminar viscosity.
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.