36 namespace mixtureViscosityModels
42 mixtureViscosityModel,
55 const dictionary& viscosityProperties,
61 mixtureViscosityModel(
name, viscosityProperties,
U,
phi),
62 plasticCoeffs_(viscosityProperties.optionalSubDict(modelName +
"Coeffs")),
64 plasticViscosityExponent_(
"exponent",
dimless, plasticCoeffs_),
72 viscosityProperties.getOrDefault<word>(
"alpha",
"alpha"),
88 + plasticViscosityCoeff_
93 plasticViscosityExponent_*alpha_
103 const dictionary& viscosityProperties
108 plasticCoeffs_ = viscosityProperties.optionalSubDict(typeName +
"Coeffs");
110 plasticCoeffs_.readEntry(
"k", plasticViscosityCoeff_);
111 plasticCoeffs_.readEntry(
"n", plasticViscosityExponent_);
112 plasticCoeffs_.readEntry(
"muMax", muMax_);
plastic(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi, const word modelName=typeName)
Construct from components.
tmp< volScalarField > mu(const volScalarField &muc) const
Return the mixture viscosity.
const word dictName("faMeshDefinition")
const dimensionSet dimless
Dimensionless.
GeometricField< vector, fvPatchField, volMesh > volVectorField
const dimensionSet dimDynamicViscosity
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
defineTypeNameAndDebug(combustionModel, 0)
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.