34 namespace mixtureViscosityModels
56 q_(optionalTypeDict(
typeName).lookupOrDefault(
"q", scalar(2))),
77 muc*
pow(
max(1 - mixture_.alphad()/mixture_.alphaMax(), small), -q_),
89 dict.lookup(
"q") >> q_;
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Class to represent a mixture of two constant density phases.
An abstract base class for incompressible mixtureViscosityModels.
Quemada viscosity model for colloidal dispersions.
virtual tmp< volScalarField > mu(const volScalarField &muc, const volVectorField &U) const
Return the mixture viscosity.
Quemada(const incompressibleDriftFluxMixture &mixture)
Construct from mixture.
virtual bool read()
Read phaseProperties dictionary.
A class for managing temporary objects.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
virtual bool read()=0
Read physicalProperties dictionary.
defineTypeNameAndDebug(BinghamPlastic, 0)
addToRunTimeSelectionTable(mixtureViscosityModel, BinghamPlastic, dictionary)
const unitSet & lookup(const word &unitName)
Lookup and return the named unit from the table.
const dimensionSet & dimDynamicViscosity
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)