33 namespace mixtureViscosityModels
39 mixtureViscosityModel,
52 const dictionary& viscosityProperties,
58 mixtureViscosityModel(name, viscosityProperties, U, phi),
59 plasticCoeffs_(viscosityProperties.subDict(modelName +
"Coeffs")),
60 plasticViscosityCoeff_
63 dimensionSet(1, -1, -1, 0, 0),
64 plasticCoeffs_.
lookup(
"coeff")
66 plasticViscosityExponent_
70 plasticCoeffs_.
lookup(
"exponent")
75 dimensionSet(1, -1, -1, 0, 0),
76 plasticCoeffs_.
lookup(
"muMax")
84 viscosityProperties.lookupOrDefault<word>(
"alpha",
"alpha"),
100 + plasticViscosityCoeff_
105 plasticViscosityExponent_*alpha_
115 const dictionary& viscosityProperties
120 plasticCoeffs_ = viscosityProperties.subDict(typeName +
"Coeffs");
122 plasticCoeffs_.lookup(
"k") >> plasticViscosityCoeff_;
123 plasticCoeffs_.lookup(
"n") >> plasticViscosityExponent_;
124 plasticCoeffs_.lookup(
"muMax") >> muMax_;
tmp< volScalarField > mu(const volScalarField &muc) const
Return the mixture viscosity.
plastic(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi, const word modelName=typeName)
Construct from components.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual bool read(const dictionary &viscosityProperties)=0
Read transportProperties dictionary.
stressControl lookup("compactNormalStress") >> compactNormalStress
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
word name(const complex &)
Return a string representation of a complex.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
word dictName("noiseDict")
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.