37namespace viscosityModels
62 strainRateFunctionCoeffs_
64 viscosityProperties.optionalSubDict(typeName +
"Coeffs")
71 strainRateFunctionCoeffs_,
105 return nu_.boundaryField()[patchi];
114 nu_.primitiveFieldRef() = strainRateFunction_->value(sigma());
121 nuBf[patchi] = strainRateFunction_->value(sigmaBf[patchi]);
138 strainRateFunction_.
clear();
142 strainRateFunctionCoeffs_,
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Defines the attributes of an object for which implicit objectRegistry management is supported,...
virtual bool read()
Re-read model coefficients if they have changed.
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const dictionary & optionalSubDict(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a sub-dictionary, otherwise return this dictionary.
void clear()
Clear the dictionary.
A class for managing temporary objects.
An abstract base class for incompressible viscosityModels.
Run-time selected strain-rate function non-Newtonian viscosity model.
virtual void correct()
Correct the laminar viscosity.
virtual tmp< volScalarField > nu() const
Return the laminar viscosity.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const dimensionSet dimViscosity
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh > > &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
#define forAll(list, i)
Loop across all elements in list.