75 return phase2()*dragModel1_->K(Ur) +
phase1()*dragModel2_->K(Ur);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const phaseModel & phase2() const
static autoPtr< dragModel > New(const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)
const phaseModel & phase1() const
dragModel(const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)
Blends two drag models based on the phase fractions to handle phase-inversion.
tmp< volScalarField > K(const volScalarField &Ur) const
The drag function K used in the momentum eq.
blended(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2)
Construct from components.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
A class for managing temporary objects.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.