Go to the documentation of this file.
29 #include "phasePair.H"
30 #include "swarmCorrection.H"
31 #include "surfaceInterpolate.H"
32 #include "BlendedInterfacialModel.H"
51 const bool registerObject
58 IOobject::groupName(typeName, pair.
name()),
59 pair.
phase1().mesh().time().timeName(),
74 const bool registerObject
81 IOobject::groupName(typeName, pair.
name()),
82 pair.
phase1().mesh().time().timeName(),
94 dict.subDict(
"swarmCorrection"),
114 *swarmCorrection_->Cs()
115 *pair_.continuous().rho()
116 *pair_.continuous().nu()
117 /
sqr(pair_.dispersed().d());
123 return max(pair_.dispersed(), pair_.dispersed().residualAlpha())*Ki();
133 pair_.dispersed().residualAlpha()
virtual tmp< surfaceScalarField > Kf() const
Return the drag coefficient Kf.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class for managing temporary objects.
virtual tmp< volScalarField > K() const
Return the drag coefficient K.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Dimension set for the base types.
virtual tmp< volScalarField > Ki() const
Return the phase-intensive drag coefficient Ki.
defineBlendedInterfacialModelTypeNameAndDebug(massTransferModel, 0)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
bool writeData(Ostream &os) const
Dummy write for regIOobject.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dragModel(const phasePair &pair, const bool registerObject)
virtual word name() const
Pair name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool good() const
Return true if next operation might succeed.
const phaseModel & phase1() const
Return phase 1.
static const dimensionSet dimK
Coefficient dimensions.
defineTypeNameAndDebug(combustionModel, 0)
virtual ~dragModel()
Destructor.