41#include "viscosityModel.H"
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for managing temporary objects.
viscosityModel(const viscosityModel &)=delete
No copy construct.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
TypeName("Newtonian")
Runtime type information.
virtual ~Newtonian()=default
Destructor.
virtual void correct()
Correct the laminar viscosity (not appropriate, viscosity constant).
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
Newtonian(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual tmp< scalarField > nu(const label patchi) const
Return the laminar viscosity for patch.
A class for handling words, derived from Foam::string.
A namespace for various incompressible viscosityModel implementations.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.