Go to the documentation of this file.
36 namespace mixtureViscosityModels
42 mixtureViscosityModel,
55 const dictionary& viscosityProperties,
60 plastic(
name, viscosityProperties,
U,
phi, typeName),
64 dimensionSet(1, -1, -2, 0, 0),
99 *(
max(alpha_, scalar(0)) + yieldStressOffset_)
104 yieldStressExponent_*yieldStressOffset_
118 + 1.0
e-4*(tauy + tauySmall)/mup
128 const dictionary& viscosityProperties
133 plasticCoeffs_.readEntry(
"yieldStressCoeff", yieldStressCoeff_);
134 plasticCoeffs_.readEntry(
"yieldStressExponent", yieldStressExponent_);
135 plasticCoeffs_.readEntry(
"yieldStressOffset", yieldStressOffset_);
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
BinghamPlastic(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const dimensionedScalar mu
Atomic mass unit.
A class for managing temporary objects.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
word name(const complex &c)
Return string representation of complex.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
tmp< volScalarField > mu(const volScalarField &muc) const
Return the mixture viscosity.
Macros for easy insertion into run-time selection tables.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
dimensionedScalar sqrt(const dimensionedScalar &ds)
Calculate the gradient of the given field.
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
const dimensionedScalar e
Elementary charge.
defineTypeNameAndDebug(combustionModel, 0)