36 namespace multiphaseEuler
75 return phase2()*dragModel1_->K(Ur) +
phase1()*dragModel2_->K(Ur);
const phaseModel & phase1() const
A list of keyword definitions, which are a keyword followed by a number of values (eg...
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
Macros for easy insertion into run-time selection tables.
Blends two drag models based on the phase fractions to handle phase-inversion.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
const phaseModel & phase2() const
tmp< volScalarField > K(const volScalarField &Ur) const
The drag function K used in the momentum eq.
addToRunTimeSelectionTable(dragModel, blended, dictionary)
A class for managing temporary objects.
defineTypeNameAndDebug(blended, 0)
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
blended(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2)
Construct from components.