Go to the documentation of this file.
30 #include "phasePair.H"
31 #include "swarmCorrection.H"
32 #include "surfaceInterpolate.H"
33 #include "BlendedInterfacialModel.H"
52 const bool registerObject
75 const bool registerObject
95 dict.subDict(
"swarmCorrection"),
113 Info<<
"Selecting dragModel for "
114 << pair <<
": " << modelType <<
endl;
116 auto* ctorPtr = dictionaryConstructorTable(modelType);
125 *dictionaryConstructorTablePtr_
129 return ctorPtr(
dict, pair,
true);
146 *swarmCorrection_->Cs()
147 *pair_.continuous().rho()
148 *pair_.continuous().nu()
149 /
sqr(pair_.dispersed().d());
155 return max(pair_.dispersed(), pair_.dispersed().residualAlpha())*Ki();
165 pair_.dispersed().residualAlpha()
virtual tmp< surfaceScalarField > Kf() const
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 handling words, derived from Foam::string.
A class for managing temporary objects.
virtual tmp< volScalarField > K() const
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
Ostream & endl(Ostream &os)
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
virtual tmp< volScalarField > Ki() const
bool good() const noexcept
defineBlendedInterfacialModelTypeNameAndDebug(massTransferModel, 0)
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
virtual ~dragModel()=default
label max(const labelHashSet &set, label maxValue=labelMin)
static autoPtr< dragModel > New(const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
bool writeData(Ostream &os) const
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual word name() const
word name(const expressions::valueTypeCode typeCode)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const phaseModel & phase1() const
static const dimensionSet dimK
defineTypeNameAndDebug(combustionModel, 0)
dragModel(const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)