38 #ifndef viscosityModels_powerLaw_H 39 #define viscosityModels_powerLaw_H 41 #include "viscosityModel.H" 49 namespace viscosityModels
TypeName("powerLaw")
Runtime type information.
Standard power-law non-Newtonian viscosity model.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~powerLaw()=default
Destructor.
virtual void correct()
Correct the laminar viscosity.
An abstract base class for incompressible viscosityModels.
tmp< volScalarField > calcNu() const
Calculate and return the laminar viscosity.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
powerLaw(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.