Go to the documentation of this file.
30 #include "phasePair.H"
31 #include "swarmCorrection.H"
32 #include "surfaceInterpolate.H"
49 const phasePair& pair,
50 const bool registerObject
57 IOobject::groupName(typeName, pair.
name()),
71 const dictionary&
dict,
72 const phasePair& pair,
73 const bool registerObject
80 IOobject::groupName(typeName, pair.
name()),
93 dict.subDict(
"swarmCorrection"),
105 const dictionary&
dict,
106 const phasePair& pair
109 const word modelType(
dict.
get<word>(
"type"));
111 Info<<
"Selecting dragModel for "
112 << pair <<
": " << modelType <<
endl;
114 auto* ctorPtr = dictionaryConstructorTable(modelType);
123 *dictionaryConstructorTablePtr_
127 return ctorPtr(
dict, pair,
true);
144 *swarmCorrection_->Cs()
145 *pair_.continuous().rho()
146 *pair_.continuous().nu()
147 /
sqr(pair_.dispersed().d());
153 return max(pair_.dispersed(), pair_.dispersed().residualAlpha())*Ki();
163 pair_.dispersed().residualAlpha()
virtual tmp< surfaceScalarField > Kf() const
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
#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)
OBJstream os(runTime.globalPath()/outputName)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
bool writeData(Ostream &os) const
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
word name(const expressions::valueTypeCode typeCode)
static const dimensionSet dimK
defineTypeNameAndDebug(combustionModel, 0)
dragModel(const dictionary &dict, const phaseModel &phase1, const phaseModel &phase2)