41 #include "viscosityModel.H" 49 namespace viscosityModels
An incompressible 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 INVALID.
A class for handling words, derived from Foam::string.
virtual ~Newtonian()=default
Destructor.
Newtonian(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
virtual void correct()
Correct the laminar viscosity (not appropriate, viscosity constant)
TypeName("Newtonian")
Runtime type information.
A class for managing temporary objects.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.