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.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
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 expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
virtual ~HerschelBulkley()=default
Destructor.
Herschel-Bulkley non-Newtonian viscosity model.
virtual bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
virtual void correct()
Correct the laminar viscosity.
tmp< volScalarField > calcNu() const
Calculate and return the laminar viscosity.
TypeName("HerschelBulkley")
Runtime type information.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
A class for managing temporary objects.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.