51 const dictionary& interfaceDict,
56 dragModel(interfaceDict, phase1, phase2),
57 dragModel1_(
New(interfaceDict.subDict(phase1.
name()), phase1, phase2)),
58 dragModel2_(
New(interfaceDict.subDict(phase2.
name()), phase2, phase1))
75 return phase2()*dragModel1_->K(Ur) +
phase1()*dragModel2_->K(Ur);
virtual ~blended()
Destructor.
Macros for easy insertion into run-time selection tables.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual tmp< volScalarField > K() const
Return the drag coefficient K.
blended(const dictionary &interfaceDict, const phaseModel &phase1, const phaseModel &phase2)
Construct from components.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
A class for managing temporary objects.