52 #ifndef strainRateFunction_H 53 #define strainRateFunction_H 55 #include "viscosityModel.H" 63 namespace viscosityModels
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
Run-time selected strain-rate function non-Newtonian viscosity model.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
An abstract base class for incompressible viscosityModels.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
virtual ~strainRateFunction()=default
Destructor.
TypeName("strainRateFunction")
Runtime type information.
strainRateFunction(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
virtual void correct()
Correct the laminar viscosity.