Go to the documentation of this file.
41 #include "viscosityModel.H"
49 namespace viscosityModels
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
An abstract base class for incompressible viscosityModels.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
virtual void correct()
Correct the laminar viscosity (not appropriate, viscosity constant)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual tmp< scalarField > nu(const label patchi) const
Return the laminar viscosity for patch.
TypeName("Newtonian")
Runtime type information.
Newtonian(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual ~Newtonian()=default
Destructor.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
An incompressible Newtonian viscosity model.