Go to the documentation of this file.
38 #ifndef HerschelBulkley_H
39 #define HerschelBulkley_H
41 #include "viscosityModel.H"
49 namespace viscosityModels
HerschelBulkley(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
An abstract base class for incompressible viscosityModels.
A class for handling words, derived from Foam::string.
tmp< volScalarField > calcNu() const
Calculate and return the laminar viscosity.
A class for managing temporary objects.
virtual ~HerschelBulkley()=default
Destructor.
virtual tmp< scalarField > nu(const label patchi) const
Return the laminar viscosity for patch.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
TypeName("HerschelBulkley")
Runtime type information.
Herschel-Bulkley 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.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
virtual void correct()
Correct the laminar viscosity.
const Boundary & boundaryField() const
Return const-reference to the boundary field.