37 namespace mixtureViscosityModels
43 mixtureViscosityModel,
56 const dictionary& viscosityProperties,
61 plastic(
name, viscosityProperties,
U,
phi, typeName),
65 dimensionSet(1, -1, -2, 0, 0),
100 *(
max(alpha_, scalar(0)) + yieldStressOffset_)
105 yieldStressExponent_*yieldStressOffset_
119 + 1.0
e-4*(tauy + tauySmall)/mup
129 const dictionary& viscosityProperties
134 plasticCoeffs_.readEntry(
"BinghamCoeff", yieldStressCoeff_);
135 plasticCoeffs_.readEntry(
"BinghamExponent", yieldStressExponent_);
136 plasticCoeffs_.readEntry(
"BinghamOffset", yieldStressOffset_);
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionSet dimless
Dimensionless.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionedScalar e
Elementary charge.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
Calculate the gradient of the given field.
tmp< volScalarField > mu(const volScalarField &muc) const
Return the mixture viscosity.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
BinghamPlastic(const word &name, const dictionary &viscosityProperties, const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
defineTypeNameAndDebug(combustionModel, 0)
const dimensionedScalar mu
Atomic mass unit.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
bool read(const dictionary &viscosityProperties)
Read transportProperties dictionary.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)