37namespace mixtureViscosityModels
43 mixtureViscosityModel,
56 const dictionary& viscosityProperties,
57 const volVectorField&
U,
58 const surfaceScalarField&
phi
61 plastic(
name, viscosityProperties,
U,
phi, typeName),
65 dimensionSet(1, -1, -2, 0, 0),
89 const volScalarField& muc
119 + 1.0e-4*(tauy + tauySmall)/mup
129 const dictionary& viscosityProperties
134 plasticCoeffs_.readEntry(
"BinghamCoeff", yieldStressCoeff_);
135 plasticCoeffs_.readEntry(
"BinghamExponent", yieldStressExponent_);
136 plasticCoeffs_.readEntry(
"BinghamOffset", yieldStressOffset_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
virtual bool read()
Re-read model coefficients if they have changed.
Viscosity correction model for Bingham plastics.
dimensionedScalar yieldStressExponent_
Yield stress exponent.
dimensionedScalar yieldStressCoeff_
Yield stress coefficient.
const volVectorField & U_
Velocity.
dimensionedScalar yieldStressOffset_
Yield stress offset.
dimensionedScalar muMax_
Maximum viscosity.
const volScalarField & alpha_
Plastic phase fraction.
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
Calculate the gradient of the given field.
const dimensionedScalar mu
Atomic mass unit.
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor symm(const dimensionedSymmTensor &dt)
const dimensionSet dimless
Dimensionless.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.