33 namespace laminarModels
35 namespace generalisedNewtonianViscosityModels
59 const viscosity& viscosity,
89 nu_ = nu(viscosity_.nu(), strainRate());
const dimensionSet dimViscosity
static word group(const word &name)
Return group (extension part of name)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
strainRateViscosityModel(const dictionary &viscosityProperties, const viscosity &viscosity, const volVectorField &U)
Construct from components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
dimensionedScalar sqrt(const dimensionedScalar &ds)
virtual tmp< volScalarField > strainRate() const
Return the strain-rate obtained from the velocity field.
Calculate the gradient of the given field.
static word timeName(const scalar, const int precision=curPrecision_)
Return time name of given scalar time.
static word groupName(Name name, const word &group)
const Mesh & mesh() const
Return mesh.
An abstract base class for generalised Newtonian viscosity models.
virtual void correct()
Correct the laminar viscosity.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const Time & time() const
Return time.
dimensioned< scalar > mag(const dimensioned< Type > &)
static word modelName(Name name, const word &model)
Return the name of the object within the given model.
A class for managing temporary objects.
defineTypeNameAndDebug(Newtonian, 0)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...