Go to the documentation of this file.
35 #ifndef CrossPowerLaw_H
36 #define CrossPowerLaw_H
38 #include "viscosityModel.H"
46 namespace viscosityModels
An abstract base class for incompressible viscosityModels.
A class for handling words, derived from string.
tmp< volScalarField > calcNu() const
Calculate and return the laminar viscosity.
A class for managing temporary objects.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
tmp< scalarField > nu(const label patchi) const
Return the laminar viscosity for patch.
const dictionary & viscosityProperties() const
Return the phase transport properties dictionary.
~CrossPowerLaw()
Destructor.
An incompressible Cross-Power law non-Newtonian viscosity model.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void correct()
Correct the laminar viscosity.
CrossPowerLaw(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 any number of values (e....
Generic dimensioned Type class.
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
dictionary CrossPowerLawCoeffs_
tmp< volScalarField > nu() const
Return the laminar viscosity.
Generic GeometricField class.
word name(const complex &)
Return a string representation of a complex.
TypeName("CrossPowerLaw")
Runtime type information.